[Project64] Some code clean up
This commit is contained in:
parent
112a5b31a4
commit
fb0a172d56
|
@ -1103,13 +1103,13 @@ void CRecompiler::ClearRecompCode_Virt(uint32_t Address, int length, REMOVE_REAS
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case FuncFind_PhysicalLookup:
|
case FuncFind_PhysicalLookup:
|
||||||
{
|
{
|
||||||
uint32_t pAddr = 0;
|
uint32_t pAddr = 0;
|
||||||
if (g_TransVaddr->TranslateVaddr(Address, pAddr))
|
if (g_TransVaddr->TranslateVaddr(Address, pAddr))
|
||||||
{
|
{
|
||||||
ClearRecompCode_Phys(pAddr, length, Reason);
|
ClearRecompCode_Phys(pAddr, length, Reason);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
g_Notify->BreakPoint(__FILE__, __LINE__);
|
g_Notify->BreakPoint(__FILE__, __LINE__);
|
||||||
|
|
|
@ -22,7 +22,7 @@ public:
|
||||||
static inline bool bLogX86Code(void) { return m_bLogX86Code; }
|
static inline bool bLogX86Code(void) { return m_bLogX86Code; }
|
||||||
static inline bool bShowTLBMisses(void) { return m_bShowTLBMisses; }
|
static inline bool bShowTLBMisses(void) { return m_bShowTLBMisses; }
|
||||||
static inline bool bShowDivByZero(void) { return m_bShowDivByZero; }
|
static inline bool bShowDivByZero(void) { return m_bShowDivByZero; }
|
||||||
inline static bool bRecordExecutionTimes(void) { return m_RecordExecutionTimes; }
|
static inline bool bRecordExecutionTimes(void) { return m_RecordExecutionTimes; }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
static void StaticRefreshSettings(CDebugSettings * _this)
|
static void StaticRefreshSettings(CDebugSettings * _this)
|
||||||
|
|
Loading…
Reference in New Issue