GB: Fix OAM in GB mVL playback

This commit is contained in:
Vicki Pfau 2020-07-24 23:58:48 -07:00
parent d585370116
commit 79d2e95d02
1 changed files with 1 additions and 1 deletions

View File

@ -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;