GBA Video: Slightly optimize mode 0 mosaic rendering
Jeffrey Pfau jeffrey@endrift.com
Sun, 05 Jul 2015 02:12:22 -0700
2 files changed,
1 insertions(+),
8 deletions(-)
M
CHANGES
→
CHANGES
@@ -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.c
→
src/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; \