Skip to content

Commit

Permalink
Nits
Browse files Browse the repository at this point in the history
  • Loading branch information
dummycode committed Nov 5, 2018
1 parent 22a4500 commit 3efdfa3
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 20 deletions.
1 change: 0 additions & 1 deletion font.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

const unsigned char fontdata_6x8[12288] = {
/* num: 0 */
0,0,0,0,0,0,
Expand Down
38 changes: 19 additions & 19 deletions gba.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ u32 vBlankCounter = 0;
void waitForVBlank(void) {
// TA-TODO: IMPLEMENT

// Write a while loop that keeps going until we're NOT in vBlank anymore:
// Write a while loop that loops until we're NOT in vBlank anymore:
// (This prevents counting one vblank more than once if your game is too fast)


Expand All @@ -29,33 +29,33 @@ int randint(int min, int max) {
}

void setPixel(int x, int y, u16 color) {
// TA-TODO: IMPLEMENT
UNUSED(x);
UNUSED(y);
UNUSED(color);
// TA-TODO: IMPLEMENT
UNUSED(x);
UNUSED(y);
UNUSED(color);
}

void drawRectDMA(int x, int y, int width, int height, volatile u16 color) {
// TA-TODO: IMPLEMENT
UNUSED(x);
UNUSED(y);
UNUSED(width);
UNUSED(height);
UNUSED(color);
// TA-TODO: IMPLEMENT
UNUSED(x);
UNUSED(y);
UNUSED(width);
UNUSED(height);
UNUSED(color);
}

void drawFullScreenImageDMA(u16 *image) {
// TA-TODO: IMPLEMENT
UNUSED(image);
// TA-TODO: IMPLEMENT
UNUSED(image);
}

void drawImageDMA(int x, int y, int width, int height, u16 *image) {
// TA-TODO: IMPLEMENT
UNUSED(x);
UNUSED(y);
UNUSED(width);
UNUSED(height);
UNUSED(image);
// TA-TODO: IMPLEMENT
UNUSED(x);
UNUSED(y);
UNUSED(width);
UNUSED(height);
UNUSED(image);
}

void fillScreenDMA(volatile u16 color) {
Expand Down

0 comments on commit 3efdfa3

Please sign in to comment.