all repos — mgba @ c5ff781ed6cdf5d36b7e59748c1506709c5e2e5d

mGBA Game Boy Advance Emulator

GBA Video: Remove dead code
Vicki Pfau vi@endrift.com
Sat, 11 Aug 2018 12:46:46 -0700
commit

c5ff781ed6cdf5d36b7e59748c1506709c5e2e5d

parent

25cda2d7b2f1777ec4d7a004ee78079080958898

1 files changed, 0 insertions(+), 3 deletions(-)

jump to
M src/gba/renderers/software-obj.csrc/gba/renderers/software-obj.c

@@ -9,9 +9,6 @@ #define SPRITE_NORMAL_LOOP(DEPTH, TYPE) \

SPRITE_YBASE_ ## DEPTH(inY); \ unsigned tileData; \ for (; outX < condition; ++outX, inX += xOffset) { \ - if (!(renderer->row[outX] & FLAG_UNWRITTEN)) { \ - continue; \ - } \ renderer->spriteCyclesRemaining -= 1; \ SPRITE_XBASE_ ## DEPTH(inX); \ SPRITE_DRAW_PIXEL_ ## DEPTH ## _ ## TYPE(inX); \