[Project64] Some code clean up

This commit is contained in:
zilmar 2016-11-19 06:49:24 +11:00
parent 112a5b31a4
commit fb0a172d56
2 changed files with 8 additions and 8 deletions

View File

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

View File

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