mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-07 06:40:12 +00:00
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)
|
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)
|
if (flags == HLE::HLE_TYPE_DEBUG && !SConfig::GetInstance().m_LocalCoreStartupParameter.bEnableDebugging && PowerPC::GetMode() != MODE_INTERPRETER)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
@ -21,9 +21,7 @@ namespace HLE
|
|||||||
enum
|
enum
|
||||||
{
|
{
|
||||||
HLE_TYPE_GENERIC = 0, // Miscellaneous function
|
HLE_TYPE_GENERIC = 0, // Miscellaneous function
|
||||||
HLE_TYPE_MEMORY = 1, // Memory operation
|
HLE_TYPE_DEBUG = 1, // Debug output function
|
||||||
HLE_TYPE_FP = 2, // Floating Point operation
|
|
||||||
HLE_TYPE_DEBUG = 3, // Debug output function
|
|
||||||
};
|
};
|
||||||
|
|
||||||
void PatchFunctions();
|
void PatchFunctions();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user