HLE code replacement: remove unused code.

This commit is contained in:
magumagu 2014-12-03 14:05:05 -08:00
parent 241c94d337
commit c3b36de51e
2 changed files with 1 additions and 6 deletions

View File

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

View File

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