mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-04 15:19:09 +00:00
HLE code replacement: remove unused code.
This commit is contained in:
parent
241c94d337
commit
c3b36de51e
2 changed files with 1 additions and 6 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue