all repos — mgba @ 6c87c1c69da9999c2c6fb1bf8932c06810750185

mGBA Game Boy Advance Emulator

GBA Video: Slightly optimize mode 0 mosaic rendering
Jeffrey Pfau jeffrey@endrift.com
Sun, 05 Jul 2015 02:12:22 -0700
commit

6c87c1c69da9999c2c6fb1bf8932c06810750185

parent

81cb6ff752d0a08d8bfc04ef45887cd320b36fca

2 files changed, 1 insertions(+), 8 deletions(-)

jump to
M CHANGESCHANGES

@@ -96,6 +96,7 @@ - SDL: Clean up GL context

- GBA Audio: Implement audio reset for channels A/B - GBA Hardware: Backport generic RTC source into core - All: Proper handling of Unicode file paths + - GBA Video: Slightly optimize mode 0 mosaic rendering 0.2.1: (2015-05-13) Bugfixes:
M src/gba/renderers/software-mode0.csrc/gba/renderers/software-mode0.c

@@ -98,11 +98,7 @@ } \

tileData &= 0xF; \ tileData |= tileData << 4; \ tileData |= tileData << 8; \ - tileData |= tileData << 12; \ tileData |= tileData << 16; \ - tileData |= tileData << 20; \ - tileData |= tileData << 24; \ - tileData |= tileData << 28; \ carryData = tileData; \ } \ } \

@@ -126,11 +122,7 @@ } \

tileData &= 0xF; \ tileData |= tileData << 4; \ tileData |= tileData << 8; \ - tileData |= tileData << 12; \ tileData |= tileData << 16; \ - tileData |= tileData << 20; \ - tileData |= tileData << 24; \ - tileData |= tileData << 28; \ carryData = tileData; \ } \ mosaicWait = mosaicH; \