mirror of https://github.com/mgba-emu/mgba.git
GBA: Fix endianness issues in renderer proxy
This commit is contained in:
parent
e27ac1268a
commit
f00afe0758
1
CHANGES
1
CHANGES
|
@ -40,6 +40,7 @@ Other fixes:
|
||||||
- FFmpeg: Fix some small memory leaks
|
- FFmpeg: Fix some small memory leaks
|
||||||
- FFmpeg: Fix encoding of time base
|
- FFmpeg: Fix encoding of time base
|
||||||
- GBA: Disable more checks when loading GS save with checks disabled (fixes mgba.io/i/1851)
|
- GBA: Disable more checks when loading GS save with checks disabled (fixes mgba.io/i/1851)
|
||||||
|
- GBA: Fix endianness issues in renderer proxy
|
||||||
- Qt: Force OpenGL paint engine creation thread (fixes mgba.io/i/1642)
|
- Qt: Force OpenGL paint engine creation thread (fixes mgba.io/i/1642)
|
||||||
- Qt: Fix static compilation in MinGW (fixes mgba.io/i/1769)
|
- Qt: Fix static compilation in MinGW (fixes mgba.io/i/1769)
|
||||||
- Qt: Fix a race condition in the frame inspector
|
- Qt: Fix a race condition in the frame inspector
|
||||||
|
|
|
@ -178,13 +178,13 @@ static bool _parsePacket(struct mVideoLogger* logger, const struct mVideoLoggerD
|
||||||
break;
|
break;
|
||||||
case DIRTY_PALETTE:
|
case DIRTY_PALETTE:
|
||||||
if (item->address < SIZE_PALETTE_RAM) {
|
if (item->address < SIZE_PALETTE_RAM) {
|
||||||
logger->palette[item->address >> 1] = item->value;
|
STORE_16LE(item->value, item->address, logger->palette);
|
||||||
proxyRenderer->backend->writePalette(proxyRenderer->backend, item->address, item->value);
|
proxyRenderer->backend->writePalette(proxyRenderer->backend, item->address, item->value);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case DIRTY_OAM:
|
case DIRTY_OAM:
|
||||||
if (item->address < SIZE_OAM) {
|
if (item->address < SIZE_OAM) {
|
||||||
logger->oam[item->address] = item->value;
|
STORE_16LE(item->value, item->address << 1, logger->oam);
|
||||||
proxyRenderer->backend->writeOAM(proxyRenderer->backend, item->address);
|
proxyRenderer->backend->writeOAM(proxyRenderer->backend, item->address);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue