2008-11-14 20:51:06 +00:00
|
|
|
#include <N64 System/N64 Types.h>
|
|
|
|
|
2012-09-28 20:07:45 +00:00
|
|
|
class CRecompilerSettings
|
2008-09-18 03:15:49 +00:00
|
|
|
{
|
2010-10-29 03:20:25 +00:00
|
|
|
public:
|
|
|
|
CRecompilerSettings();
|
|
|
|
virtual ~CRecompilerSettings();
|
|
|
|
|
|
|
|
static bool bShowRecompMemSize ( void ) { return m_bShowRecompMemSize; }
|
|
|
|
|
|
|
|
static bool bSMM_StoreInstruc ( void ) { return m_bSMM_StoreInstruc; }
|
|
|
|
static bool bSMM_Protect ( void ) { return m_bSMM_Protect; }
|
|
|
|
static bool bSMM_ValidFunc ( void ) { return m_bSMM_ValidFunc; }
|
|
|
|
static bool bSMM_PIDMA ( void ) { return m_bSMM_PIDMA; }
|
|
|
|
static bool bSMM_TLB ( void ) { return m_bSMM_TLB; }
|
|
|
|
static bool bProfiling ( void ) { return m_bProfiling; }
|
|
|
|
static bool bRomInMemory ( void ) { return m_bRomInMemory; }
|
|
|
|
static bool bRegCaching ( void ) { return m_RegCaching; }
|
|
|
|
static bool bLinkBlocks ( void ) { return m_bLinkBlocks; }
|
|
|
|
static FUNC_LOOKUP_METHOD LookUpMode ( void ) { return (FUNC_LOOKUP_METHOD)m_LookUpMode; }
|
|
|
|
|
|
|
|
private:
|
2008-11-14 20:51:06 +00:00
|
|
|
static void StaticRefreshSettings (CRecompilerSettings * _this)
|
|
|
|
{
|
|
|
|
_this->RefreshSettings();
|
|
|
|
}
|
|
|
|
|
|
|
|
void RefreshSettings ( void );
|
|
|
|
|
|
|
|
|
|
|
|
//Settings that can be changed on the fly
|
|
|
|
static bool m_bShowRecompMemSize;
|
2010-06-16 07:31:47 +00:00
|
|
|
static bool m_bSMM_StoreInstruc;
|
2008-11-14 20:51:06 +00:00
|
|
|
static bool m_bSMM_Protect;
|
|
|
|
static bool m_bSMM_ValidFunc;
|
|
|
|
static bool m_bSMM_PIDMA;
|
|
|
|
static bool m_bSMM_TLB;
|
|
|
|
static bool m_bProfiling;
|
|
|
|
static bool m_bRomInMemory;
|
2010-07-23 10:45:35 +00:00
|
|
|
static bool m_bFastSP;
|
2010-10-23 18:53:01 +00:00
|
|
|
static bool m_b32Bit;
|
2010-10-29 03:20:25 +00:00
|
|
|
|
2008-11-14 20:51:06 +00:00
|
|
|
static bool m_RegCaching;
|
|
|
|
static bool m_bLinkBlocks;
|
|
|
|
static DWORD m_LookUpMode; //FUNC_LOOKUP_METHOD
|
2008-09-18 03:15:49 +00:00
|
|
|
|
2010-10-29 03:20:25 +00:00
|
|
|
static int m_RefCount;
|
2008-09-18 03:15:49 +00:00
|
|
|
};
|