Add a post_fakeboot hook for the mcrom_debug addon too.

This commit is contained in:
thelemonman 2013-10-15 20:57:54 +00:00
parent 35706cbd97
commit 0d8fc520c4
2 changed files with 7 additions and 1 deletions

View File

@ -40,7 +40,7 @@ public:
virtual void connect()
{
NDS_SLOT1_TYPE selection = NDS_SLOT1_RETAIL_MCROM;
NDS_SLOT1_TYPE selection = NDS_SLOT1_RETAIL_DEBUG;
//check game ID in core emulator and select right implementation
if ((memcmp(gameInfo.header.gameCode, "UOR", 3) == 0) || // WarioWare - D.I.Y. (U)(E)(EUR) / Made in Ore (J)

View File

@ -88,6 +88,12 @@ public:
return protocol.read_GCDATAIN(PROCNUM);
}
virtual void post_fakeboot(int PROCNUM)
{
// The BIOS leaves the card in NORMAL mode
protocol.mode = eCardMode_NORMAL;
}
virtual void savestate(EMUFILE* os)
{
protocol.savestate(os);