mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
apply patches in the gamecube's bs2 hle, good for things that need to have patches applied very early.
misc cleanup git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4436 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -158,6 +158,9 @@ void CBoot::EmulatedBS2(bool _bDebug)
|
|||||||
PatchEngine::LoadPatches(gameID.c_str());
|
PatchEngine::LoadPatches(gameID.c_str());
|
||||||
|
|
||||||
PowerPC::ppcState.DebugCount = 0;
|
PowerPC::ppcState.DebugCount = 0;
|
||||||
|
|
||||||
|
// If we have any patches that need to be applied very early, here's a good place
|
||||||
|
PatchEngine::ApplyFramePatches();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -389,10 +389,10 @@ Common::PluginPAD *CPluginManager::GetPad(int controller)
|
|||||||
// Else do this
|
// Else do this
|
||||||
if (OkayToInitPlugin(controller) == -1) {
|
if (OkayToInitPlugin(controller) == -1) {
|
||||||
m_pad[controller] = (Common::PluginPAD*)LoadPlugin(m_params->m_strPadPlugin[controller].c_str(), controller);
|
m_pad[controller] = (Common::PluginPAD*)LoadPlugin(m_params->m_strPadPlugin[controller].c_str(), controller);
|
||||||
INFO_LOG(CONSOLE, "LoadPlugin: %i\n", controller);
|
INFO_LOG(CONSOLE, "LoadPlugin: %i", controller);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
INFO_LOG(CONSOLE, "Pointed: %i to %i\n", controller, OkayToInitPlugin(controller));
|
INFO_LOG(CONSOLE, "Pointed: %i to %i", controller, OkayToInitPlugin(controller));
|
||||||
m_pad[controller] = m_pad[OkayToInitPlugin(controller)];
|
m_pad[controller] = m_pad[OkayToInitPlugin(controller)];
|
||||||
}
|
}
|
||||||
return m_pad[controller];
|
return m_pad[controller];
|
||||||
|
Reference in New Issue
Block a user