remove some code that was made unused by rca287e7957c7
This commit is contained in:
parent
1f9586a8ba
commit
9ea8d54343
|
@ -68,12 +68,6 @@ void DoState(PointerWrap &p)
|
|||
g_Channels[c]->DoState(p);
|
||||
}
|
||||
|
||||
void OnAfterLoad()
|
||||
{
|
||||
for (int c = 0; c < NUM_CHANNELS; ++c)
|
||||
g_Channels[c]->OnAfterLoad();
|
||||
}
|
||||
|
||||
void PauseAndLock(bool doLock, bool unpauseOnUnlock)
|
||||
{
|
||||
for (int c = 0; c < NUM_CHANNELS; ++c)
|
||||
|
|
|
@ -28,7 +28,6 @@ namespace ExpansionInterface
|
|||
void Init();
|
||||
void Shutdown();
|
||||
void DoState(PointerWrap &p);
|
||||
void OnAfterLoad();
|
||||
void PauseAndLock(bool doLock, bool unpauseOnUnlock);
|
||||
|
||||
void Update();
|
||||
|
|
|
@ -309,12 +309,6 @@ void CEXIChannel::DoState(PointerWrap &p)
|
|||
}
|
||||
}
|
||||
|
||||
void CEXIChannel::OnAfterLoad()
|
||||
{
|
||||
for (int d = 0; d < NUM_DEVICES; ++d)
|
||||
m_pDevices[d]->OnAfterLoad();
|
||||
}
|
||||
|
||||
void CEXIChannel::PauseAndLock(bool doLock, bool unpauseOnUnlock)
|
||||
{
|
||||
for (int d = 0; d < NUM_DEVICES; ++d)
|
||||
|
|
|
@ -131,7 +131,6 @@ public:
|
|||
bool IsCausingInterrupt();
|
||||
void UpdateInterrupts();
|
||||
void DoState(PointerWrap &p);
|
||||
void OnAfterLoad();
|
||||
void PauseAndLock(bool doLock, bool unpauseOnUnlock);
|
||||
|
||||
// This should only be used to transition interrupts from SP1 to Channel 2
|
||||
|
|
|
@ -53,7 +53,6 @@ public:
|
|||
virtual bool IsPresent() {return false;}
|
||||
virtual void SetCS(int) {}
|
||||
virtual void DoState(PointerWrap&) {}
|
||||
virtual void OnAfterLoad() {}
|
||||
virtual void PauseAndLock(bool doLock, bool unpauseOnUnlock=true) {}
|
||||
virtual IEXIDevice* FindDevice(TEXIDevices device_type, int customIndex=-1) { return (device_type == m_deviceType) ? this : NULL; }
|
||||
|
||||
|
|
|
@ -438,11 +438,6 @@ void CEXIMemoryCard::PauseAndLock(bool doLock, bool unpauseOnUnlock)
|
|||
}
|
||||
}
|
||||
|
||||
void CEXIMemoryCard::OnAfterLoad()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void CEXIMemoryCard::DoState(PointerWrap &p)
|
||||
{
|
||||
// for movie sync, we need to save/load memory card contents (and other data) in savestates.
|
||||
|
|
|
@ -39,7 +39,6 @@ public:
|
|||
bool IsInterruptSet();
|
||||
bool IsPresent();
|
||||
void DoState(PointerWrap &p);
|
||||
void OnAfterLoad();
|
||||
void PauseAndLock(bool doLock, bool unpauseOnUnlock=true);
|
||||
IEXIDevice* FindDevice(TEXIDevices device_type, int customIndex=-1);
|
||||
|
||||
|
|
|
@ -116,9 +116,4 @@ namespace HW
|
|||
}
|
||||
p.DoMarker("WIIHW");
|
||||
}
|
||||
|
||||
void OnAfterLoad()
|
||||
{
|
||||
ExpansionInterface::OnAfterLoad();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -26,7 +26,6 @@ namespace HW
|
|||
void Init();
|
||||
void Shutdown();
|
||||
void DoState(PointerWrap &p);
|
||||
void OnAfterLoad();
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -427,8 +427,6 @@ void LoadAs(const std::string& filename)
|
|||
}
|
||||
}
|
||||
|
||||
HW::OnAfterLoad();
|
||||
|
||||
if (g_onAfterLoadCb)
|
||||
g_onAfterLoadCb();
|
||||
|
||||
|
|
Loading…
Reference in New Issue