HLE: Remove unused function
This commit is contained in:
parent
afd25de85e
commit
79bfb48d68
|
@ -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
|
||||
|
|
|
@ -31,7 +31,6 @@ void Reload();
|
|||
|
||||
void Patch(u32 pc, std::string_view func_name);
|
||||
u32 UnPatch(std::string_view patch_name);
|
||||
bool UnPatch(u32 addr, std::string_view name = {});
|
||||
void Execute(u32 _CurrentPC, u32 _Instruction);
|
||||
|
||||
// Returns the HLE function index if the address is located in the function
|
||||
|
|
Loading…
Reference in New Issue