Merge pull request #10397 from Jamiras/cheevos_gba_no_mmap

[cheevos] report non-memorymap gba cores as unsupported
This commit is contained in:
Autechre 2020-04-05 13:06:15 +02:00 committed by GitHub
commit 8d44c0c752
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -248,6 +248,14 @@ const uint8_t* rcheevos_patch_address(unsigned address, int console)
}
}
}
else if (console == RC_CONSOLE_GAMEBOY_ADVANCE)
{
/* The RetroAchievements implementation of memory access for GBA puts the save RAM first,
* so the default looping behavior below is backwards. If the core doesn't expose a
* memory map, say it isn't supported.
*/
pointer = NULL;
}
else
{
unsigned i;