Skip to content

Commit

Permalink
Fix degenerate OBJ transform having garbage at bottom (fixes #6)
Browse files Browse the repository at this point in the history
  • Loading branch information
endrift committed Jan 10, 2020
1 parent 614a802 commit 44c7686
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/video.c
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,8 @@ static void degenerateObjTransformExpected(void) {
LZ77UnCompVram((void*) degenerateObjTransformTiles, (void*) 0x06008000);
LZ77UnCompVram((void*) degenerateObjTransformMap, (void*) 0x06000800);
CpuFastSet(degenerateObjTransformPal, BG_PALETTE, 8);
uint32_t zero = 0;
CpuFastSet(&zero, (void*) 0x06000c00, 0x01000100);
REG_DISPCNT = MODE_0 | BG2_ON;
}

Expand Down

0 comments on commit 44c7686

Please sign in to comment.