mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-27 00:00:07 -06:00
reimplement Stop
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user