reimplement Stop

This commit is contained in:
Arisotura
2020-05-20 22:58:04 +02:00
parent 2ebb21ce3b
commit a9b275bc25
5 changed files with 54 additions and 8 deletions

View File

@ -202,6 +202,20 @@ int LoadROM(const char* file, int slot)
}
}
void UnloadROM(int slot)
{
if (slot == ROMSlot_NDS)
{
// TODO!
}
else if (slot == ROMSlot_GBA)
{
GBACart::Eject();
}
ROMPath[slot][0] = '\0';
}
int Reset()
{
int res;