2012-09-28 20:07:45 +00:00
|
|
|
#include <N64 System/N64 Types.h>
|
|
|
|
|
|
|
|
class CDebugSettings
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
CDebugSettings();
|
|
|
|
virtual ~CDebugSettings();
|
|
|
|
|
|
|
|
static inline bool bHaveDebugger ( void ) { return m_bHaveDebugger; }
|
|
|
|
static inline bool bLogX86Code ( void ) { return m_bLogX86Code; }
|
|
|
|
static inline bool bShowTLBMisses ( void ) { return m_bShowTLBMisses; }
|
2012-09-30 13:07:00 +00:00
|
|
|
static inline bool bShowDivByZero ( void ) { return m_bShowDivByZero; }
|
2012-09-28 20:07:45 +00:00
|
|
|
|
|
|
|
private:
|
|
|
|
static void StaticRefreshSettings (CDebugSettings * _this)
|
|
|
|
{
|
|
|
|
_this->RefreshSettings();
|
|
|
|
}
|
|
|
|
|
|
|
|
void RefreshSettings ( void );
|
|
|
|
|
|
|
|
//Settings that can be changed on the fly
|
|
|
|
static bool m_bHaveDebugger;
|
|
|
|
static bool m_bLogX86Code;
|
|
|
|
static bool m_bShowTLBMisses;
|
2012-09-30 13:07:00 +00:00
|
|
|
static bool m_bShowDivByZero;
|
2012-09-28 20:07:45 +00:00
|
|
|
|
|
|
|
static int m_RefCount;
|
|
|
|
};
|