mirror of https://github.com/mgba-emu/mgba.git
GBA: Fix endianness issues in renderer proxy
This commit is contained in:
parent
1ad033d925
commit
1d58985d25
1
CHANGES
1
CHANGES
|
@ -11,6 +11,7 @@ Other fixes:
|
|||
- Core: Fix reported ROM size when a fixed buffer size is used
|
||||
- Core: Fix memory leak loading ELF files
|
||||
- GBA: Disable more checks when loading GS save with checks disabled (fixes mgba.io/i/1851)
|
||||
- GBA: Fix endianness issues in renderer proxy
|
||||
- GBA Core: Fix memory leak when loading symbols
|
||||
- Qt: Add dummy English translation file (fixes mgba.io/i/1469)
|
||||
- mGUI: Fix closing down a game if an exit is signalled
|
||||
|
|
|
@ -178,13 +178,13 @@ static bool _parsePacket(struct mVideoLogger* logger, const struct mVideoLoggerD
|
|||
break;
|
||||
case DIRTY_PALETTE:
|
||||
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);
|
||||
}
|
||||
break;
|
||||
case DIRTY_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);
|
||||
}
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue