summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBad Diode <bd@badd10de.dev>2023-04-22 13:43:00 +0200
committerBad Diode <bd@badd10de.dev>2023-04-22 13:43:00 +0200
commitea20738ca2a06df8a79b3844bff7f4eaeaf3722f (patch)
tree95990b0e40e7f814a102d37e46d919455775273f
parentef8570cd346e7ff5efccf360bcbe80c7b5e65b46 (diff)
downloadgba-link-cable-tester-ea20738ca2a06df8a79b3844bff7f4eaeaf3722f.tar.gz
gba-link-cable-tester-ea20738ca2a06df8a79b3844bff7f4eaeaf3722f.zip
Fix typo on comment
-rw-r--r--src/renderer_m0.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/renderer_m0.c b/src/renderer_m0.c
index 5655e1d..0145f64 100644
--- a/src/renderer_m0.c
+++ b/src/renderer_m0.c
@@ -37,7 +37,7 @@ static u32 dirty_tiles[21] = {0};
37 37
38// Boundchecks can be disable at compile time but this will not always improve 38// Boundchecks can be disable at compile time but this will not always improve
39// the performance and can in fact make it worse. It is possible that this is 39// the performance and can in fact make it worse. It is possible that this is
40// due to some aliasing optimiztions but not sure at this moment. 40// due to some aliasing optimizations but not sure at this moment.
41#ifdef DISABLE_BOUNDCHECK_SCREEN 41#ifdef DISABLE_BOUNDCHECK_SCREEN
42#define BOUNDCHECK_SCREEN(X,Y) 42#define BOUNDCHECK_SCREEN(X,Y)
43#else 43#else
@@ -320,7 +320,6 @@ draw_filled_rect(size_t x0, size_t y0, size_t x1, size_t y1, u8 clr) {
320 return; 320 return;
321 } 321 }
322 322
323 // Drawline implementation.
324 for (size_t y = y0; y <= y1; y++) { 323 for (size_t y = y0; y <= y1; y++) {
325 draw_hline(x0, x1, y, clr); 324 draw_hline(x0, x1, y, clr);
326 } 325 }