pass savefile name to NDS::LoadROM() instead of having the core generate it.

This commit is contained in:
StapleButter
2018-10-23 21:52:41 +02:00
parent a4a9bca5f0
commit f60ac42466
6 changed files with 29 additions and 23 deletions

View File

@ -542,9 +542,9 @@ bool DoSavestate(Savestate* file)
return true;
}
bool LoadROM(const char* path, bool direct)
bool LoadROM(const char* path, const char* sram, bool direct)
{
if (NDSCart::LoadROM(path, direct))
if (NDSCart::LoadROM(path, sram, direct))
{
Running = true;
return true;