project64/Source/Project64/Settings/Game Settings.h

44 lines
1.4 KiB
C
Raw Normal View History

#include <N64 System/N64 Types.h>
class CGameSettings
{
public:
CGameSettings();
virtual ~CGameSettings();
2012-10-14 01:05:52 +00:00
static inline bool bUseTlb ( void ) { return m_bUseTlb; }
inline static DWORD CountPerOp ( void ) { return m_CountPerOp; }
inline static DWORD ViRefreshRate ( void ) { return m_ViRefreshRate; }
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-10-14 01:05:52 +00:00
inline static bool bFixedAudio ( void ) { return m_bFixedAudio; }
inline static bool bSyncToAudio ( void ) { return m_bSyncToAudio; }
inline static bool b32BitCore ( void ) { return m_b32Bit; }
inline static bool bFastSP ( void ) { return m_bFastSP; }
2012-10-25 08:34:25 +00:00
inline static bool RspAudioSignal( void ) { return m_RspAudioSignal; }
private:
static void StaticRefreshSettings (CGameSettings * _this)
{
_this->RefreshSettings();
}
void RefreshSettings ( void );
//Settings that can be changed on the fly
2012-10-14 01:05:52 +00:00
static bool m_bUseTlb;
static DWORD m_CountPerOp;
2012-09-30 14:37:40 +00:00
static DWORD m_ViRefreshRate;
static bool m_DelayDP;
static bool m_DelaySI;
static DWORD m_RdramSize;
2012-10-14 01:05:52 +00:00
static bool m_bFixedAudio;
static bool m_bSyncToAudio;
static bool m_bFastSP;
static bool m_b32Bit;
2012-10-25 08:34:25 +00:00
static bool m_RspAudioSignal;
2012-10-14 01:05:52 +00:00
static int m_RefCount;
static bool m_Registered;
};