[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;
|
||||
case FuncFind_PhysicalLookup:
|
||||
{
|
||||
uint32_t pAddr = 0;
|
||||
if (g_TransVaddr->TranslateVaddr(Address, pAddr))
|
||||
{
|
||||
ClearRecompCode_Phys(pAddr, length, Reason);
|
||||
}
|
||||
}
|
||||
{
|
||||
uint32_t pAddr = 0;
|
||||
if (g_TransVaddr->TranslateVaddr(Address, pAddr))
|
||||
{
|
||||
ClearRecompCode_Phys(pAddr, length, Reason);
|
||||
}
|
||||
}
|
||||
break;
|
||||
default:
|
||||
g_Notify->BreakPoint(__FILE__, __LINE__);
|
||||
|
|
|
@ -22,7 +22,7 @@ public:
|
|||
static inline bool bLogX86Code(void) { return m_bLogX86Code; }
|
||||
static inline bool bShowTLBMisses(void) { return m_bShowTLBMisses; }
|
||||
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:
|
||||
static void StaticRefreshSettings(CDebugSettings * _this)
|
||||
|
|
Loading…
Reference in New Issue