HLE code replacement: remove unused code.
This commit is contained in:
parent
241c94d337
commit
c3b36de51e
|
@ -143,9 +143,6 @@ int GetFunctionFlagsByIndex(u32 index)
|
|||
|
||||
bool IsEnabled(int flags)
|
||||
{
|
||||
if (flags == HLE::HLE_TYPE_MEMORY && SConfig::GetInstance().m_LocalCoreStartupParameter.bMMU)
|
||||
return false;
|
||||
|
||||
if (flags == HLE::HLE_TYPE_DEBUG && !SConfig::GetInstance().m_LocalCoreStartupParameter.bEnableDebugging && PowerPC::GetMode() != MODE_INTERPRETER)
|
||||
return false;
|
||||
|
||||
|
|
|
@ -21,9 +21,7 @@ namespace HLE
|
|||
enum
|
||||
{
|
||||
HLE_TYPE_GENERIC = 0, // Miscellaneous function
|
||||
HLE_TYPE_MEMORY = 1, // Memory operation
|
||||
HLE_TYPE_FP = 2, // Floating Point operation
|
||||
HLE_TYPE_DEBUG = 3, // Debug output function
|
||||
HLE_TYPE_DEBUG = 1, // Debug output function
|
||||
};
|
||||
|
||||
void PatchFunctions();
|
||||
|
|
Loading…
Reference in New Issue