2008-11-14 20:51:06 +00:00
|
|
|
#include <N64 System/N64 Types.h>
|
|
|
|
|
2008-09-18 03:15:49 +00:00
|
|
|
class CRecompilerSettings
|
|
|
|
{
|
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;
|
|
|
|
|
|
|
|
static bool m_RegCaching;
|
|
|
|
static bool m_bLinkBlocks;
|
|
|
|
static DWORD m_RdramSize;
|
|
|
|
static DWORD m_CountPerOp;
|
|
|
|
static DWORD m_LookUpMode; //FUNC_LOOKUP_METHOD
|
2008-09-18 03:15:49 +00:00
|
|
|
|
|
|
|
public:
|
|
|
|
CRecompilerSettings();
|
|
|
|
virtual ~CRecompilerSettings();
|
|
|
|
|
2008-11-14 20:51:06 +00:00
|
|
|
inline bool bShowRecompMemSize ( void ) const { return m_bShowRecompMemSize; }
|
2010-06-16 07:31:47 +00:00
|
|
|
|
|
|
|
inline bool bSMM_StoreInstruc ( void ) const { return m_bSMM_StoreInstruc; }
|
2008-11-14 20:51:06 +00:00
|
|
|
inline bool bSMM_Protect ( void ) const { return m_bSMM_Protect; }
|
|
|
|
inline bool bSMM_ValidFunc ( void ) const { return m_bSMM_ValidFunc; }
|
|
|
|
inline bool bSMM_PIDMA ( void ) const { return m_bSMM_PIDMA; }
|
|
|
|
inline bool bSMM_TLB ( void ) const { return m_bSMM_TLB; }
|
|
|
|
inline bool bProfiling ( void ) const { return m_bProfiling; }
|
|
|
|
inline bool bRomInMemory ( void ) const { return m_bRomInMemory; }
|
|
|
|
inline bool bRegCaching ( void ) const { return m_RegCaching; }
|
|
|
|
inline bool bLinkBlocks ( void ) const { return m_bLinkBlocks; }
|
|
|
|
inline DWORD RdramSize ( void ) const { return m_RdramSize; }
|
|
|
|
inline DWORD CountPerOp ( void ) const { return m_CountPerOp; }
|
|
|
|
inline FUNC_LOOKUP_METHOD LookUpMode ( void ) const { return (FUNC_LOOKUP_METHOD)m_LookUpMode; }
|
2008-09-18 03:15:49 +00:00
|
|
|
};
|