mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
HLE: Remove unused function
This commit is contained in:
@ -255,19 +255,4 @@ u32 UnPatch(std::string_view patch_name)
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
bool UnPatch(u32 addr, std::string_view name)
|
||||
{
|
||||
auto itr = s_original_instructions.find(addr);
|
||||
if (itr == s_original_instructions.end())
|
||||
return false;
|
||||
|
||||
if (!name.empty() && name != OSPatches[itr->second].m_szPatchName)
|
||||
return false;
|
||||
|
||||
s_original_instructions.erase(itr);
|
||||
PowerPC::ppcState.iCache.Invalidate(addr);
|
||||
return true;
|
||||
}
|
||||
|
||||
} // end of namespace HLE
|
||||
|
Reference in New Issue
Block a user