Pad: Fix loading save state issues with memory cards
This commit is contained in:
parent
9fc608aa34
commit
1667da66dd
6 changed files with 33 additions and 14 deletions
|
|
@ -8,7 +8,7 @@ HostInterface::HostInterface() = default;
|
|||
|
||||
HostInterface::~HostInterface() = default;
|
||||
|
||||
bool HostInterface::InitializeSystem(const char* filename, const char* exp1_filename, const char* save_state_filename)
|
||||
bool HostInterface::InitializeSystem(const char* filename, const char* exp1_filename)
|
||||
{
|
||||
m_system = std::make_unique<System>(this);
|
||||
if (!m_system->Initialize())
|
||||
|
|
@ -45,9 +45,6 @@ bool HostInterface::InitializeSystem(const char* filename, const char* exp1_file
|
|||
if (exp1_filename)
|
||||
m_system->SetExpansionROM(exp1_filename);
|
||||
|
||||
if (save_state_filename)
|
||||
LoadState(save_state_filename);
|
||||
|
||||
// Resume execution.
|
||||
m_running = true;
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue