diff --git a/BizHawk.MultiClient/output/dll/libmeteor.dll b/BizHawk.MultiClient/output/dll/libmeteor.dll index 22b48154ef..a45555a0b7 100644 Binary files a/BizHawk.MultiClient/output/dll/libmeteor.dll and b/BizHawk.MultiClient/output/dll/libmeteor.dll differ diff --git a/libmeteor/source/graphics/bglayer.cpp b/libmeteor/source/graphics/bglayer.cpp index 72eea709c9..3eeb6939f3 100644 --- a/libmeteor/source/graphics/bglayer.cpp +++ b/libmeteor/source/graphics/bglayer.cpp @@ -132,12 +132,11 @@ namespace AMeteor *ptr = m_pPalette[*tpChar] | 0x8000; else *ptr = 0x0; - - if (flipH) - --tpChar; - else - ++tpChar; } + if (flipH) + --tpChar; + else + ++tpChar; ++ptr; ++tileX; @@ -186,27 +185,27 @@ namespace AMeteor // we draw until the end of the tile or the line while (tileX < 8) { + if (flipH) + if (tileX % 2) + { + colorInd = *tpChar & 0xF; + --tpChar; + } + else + colorInd = *tpChar >> 4; + else + if (tileX % 2) + { + colorInd = *tpChar >> 4; + ++tpChar; + } + else + colorInd = *tpChar & 0xF; + if (mosH && i % mosH) *ptr = ptr[-1]; else { - if (flipH) - if (tileX % 2) - { - colorInd = *tpChar & 0xF; - --tpChar; - } - else - colorInd = *tpChar >> 4; - else - if (tileX % 2) - { - colorInd = *tpChar >> 4; - ++tpChar; - } - else - colorInd = *tpChar & 0xF; - if (colorInd) *ptr = pPalette[colorInd] | 0x8000; else