remove some code that was made unused by rca287e7957c7

This commit is contained in:
nitsuja 2012-01-04 09:14:07 -08:00 committed by skidau
parent 1f9586a8ba
commit 9ea8d54343
10 changed files with 0 additions and 29 deletions

View File

@ -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)

View File

@ -28,7 +28,6 @@ namespace ExpansionInterface
void Init();
void Shutdown();
void DoState(PointerWrap &p);
void OnAfterLoad();
void PauseAndLock(bool doLock, bool unpauseOnUnlock);
void Update();

View File

@ -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)

View File

@ -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

View File

@ -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; }

View File

@ -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.

View File

@ -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);

View File

@ -116,9 +116,4 @@ namespace HW
}
p.DoMarker("WIIHW");
}
void OnAfterLoad()
{
ExpansionInterface::OnAfterLoad();
}
}

View File

@ -26,7 +26,6 @@ namespace HW
void Init();
void Shutdown();
void DoState(PointerWrap &p);
void OnAfterLoad();
}
#endif

View File

@ -427,8 +427,6 @@ void LoadAs(const std::string& filename)
}
}
HW::OnAfterLoad();
if (g_onAfterLoadCb)
g_onAfterLoadCb();