mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-29 09:10:08 -06:00
more WIP. ROM loading working, sorta. not loading saves or anything yet.
This commit is contained in:
@ -648,6 +648,9 @@ void Reset()
|
||||
|
||||
void Eject()
|
||||
{
|
||||
if (Cart) delete Cart;
|
||||
Cart = nullptr;
|
||||
|
||||
if (CartROM) delete[] CartROM;
|
||||
|
||||
CartInserted = false;
|
||||
@ -656,9 +659,6 @@ void Eject()
|
||||
CartCRC = 0;
|
||||
CartID = 0;
|
||||
|
||||
if (Cart) delete Cart;
|
||||
Cart = nullptr;
|
||||
|
||||
Reset();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user