From 6c87c1c69da9999c2c6fb1bf8932c06810750185 Mon Sep 17 00:00:00 2001 From: Jeffrey Pfau Date: Sun, 5 Jul 2015 02:12:22 -0700 Subject: [PATCH] GBA Video: Slightly optimize mode 0 mosaic rendering --- CHANGES | 1 + src/gba/renderers/software-mode0.c | 8 -------- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/CHANGES b/CHANGES index bdc51e5e6..d6dc7eec6 100644 --- a/CHANGES +++ b/CHANGES @@ -96,6 +96,7 @@ Misc: - 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: diff --git a/src/gba/renderers/software-mode0.c b/src/gba/renderers/software-mode0.c index 0f5101109..886306072 100644 --- a/src/gba/renderers/software-mode0.c +++ b/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; \