2012-09-24 01:14:02 +00:00
|
|
|
#include <N64 System/N64 Types.h>
|
|
|
|
|
|
|
|
class CGameSettings
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
CGameSettings();
|
|
|
|
virtual ~CGameSettings();
|
|
|
|
|
|
|
|
static inline bool bUseTlb ( void ) { return m_bUseTlb; }
|
2012-09-28 20:07:45 +00:00
|
|
|
inline static DWORD CountPerOp ( void ) { return m_CountPerOp; }
|
|
|
|
inline static DWORD ViRefreshRate ( void ) { return m_ViRefreshRate; }
|
2012-10-05 23:53:11 +00:00
|
|
|
inline static bool bDelayDP ( void ) { return m_DelayDP; }
|
|
|
|
inline static bool bDelaySI ( void ) { return m_DelaySI; }
|
|
|
|
inline static DWORD RdramSize ( void ) { return m_RdramSize; }
|
|
|
|
|
2012-09-24 01:14:02 +00:00
|
|
|
private:
|
|
|
|
static void StaticRefreshSettings (CGameSettings * _this)
|
|
|
|
{
|
|
|
|
_this->RefreshSettings();
|
|
|
|
}
|
|
|
|
|
|
|
|
void RefreshSettings ( void );
|
|
|
|
|
|
|
|
//Settings that can be changed on the fly
|
|
|
|
static bool m_bUseTlb;
|
2012-09-28 20:07:45 +00:00
|
|
|
static DWORD m_CountPerOp;
|
2012-09-30 14:37:40 +00:00
|
|
|
static DWORD m_ViRefreshRate;
|
2012-10-05 23:53:11 +00:00
|
|
|
static bool m_DelayDP;
|
|
|
|
static bool m_DelaySI;
|
|
|
|
static DWORD m_RdramSize;
|
2012-09-24 01:14:02 +00:00
|
|
|
static int m_RefCount;
|
|
|
|
};
|