mirror of https://github.com/mgba-emu/mgba.git
GB: Fix OAM in GB mVL playback
This commit is contained in:
parent
d585370116
commit
79d2e95d02
|
@ -128,7 +128,7 @@ static bool _parsePacket(struct mVideoLogger* logger, const struct mVideoLoggerD
|
|||
break;
|
||||
case DIRTY_OAM:
|
||||
if (item->address < GB_SIZE_OAM) {
|
||||
logger->oam[item->address] = item->value;
|
||||
((uint8_t*) logger->oam)[item->address] = item->value;
|
||||
proxyRenderer->backend->writeOAM(proxyRenderer->backend, item->address);
|
||||
}
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue