-
Notifications
You must be signed in to change notification settings - Fork 480
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,30 +13,31 @@ | |
#include <Project64-core/N64System/N64Class.h> | ||
#include <Project64-core/Settings/GameSettings.h> | ||
|
||
bool CGameSettings::m_bSMM_StoreInstruc; | ||
bool CGameSettings::m_bSMM_Protect; | ||
bool CGameSettings::m_bSMM_ValidFunc; | ||
bool CGameSettings::m_bSMM_PIDMA; | ||
bool CGameSettings::m_bSMM_TLB; | ||
bool CGameSettings::m_bUseTlb; | ||
bool CGameSettings::m_bSMM_StoreInstruc; | ||
bool CGameSettings::m_bSMM_Protect; | ||
bool CGameSettings::m_bSMM_ValidFunc; | ||
bool CGameSettings::m_bSMM_PIDMA; | ||
bool CGameSettings::m_bSMM_TLB; | ||
bool CGameSettings::m_bUseTlb; | ||
uint32_t CGameSettings::m_CountPerOp = 2; | ||
uint32_t CGameSettings::m_ViRefreshRate = 1500; | ||
uint32_t CGameSettings::m_AiCountPerBytes = 500; | ||
bool CGameSettings::m_DelayDP = false; | ||
bool CGameSettings::m_DelaySI = false; | ||
bool CGameSettings::m_DelayDP = false; | ||
bool CGameSettings::m_DelaySI = false; | ||
uint32_t CGameSettings::m_RdramSize = 0; | ||
bool CGameSettings::m_bFixedAudio = true; | ||
bool CGameSettings::m_bSyncingToAudio = true; | ||
bool CGameSettings::m_bSyncToAudio = true; | ||
bool CGameSettings::m_bFastSP = true; | ||
bool CGameSettings::m_b32Bit = true; | ||
bool CGameSettings::m_RspAudioSignal; | ||
bool CGameSettings::m_bRomInMemory; | ||
bool CGameSettings::m_RegCaching; | ||
bool CGameSettings::m_bLinkBlocks; | ||
bool CGameSettings::m_bFixedAudio = true; | ||
bool CGameSettings::m_bSyncingToAudio = true; | ||
bool CGameSettings::m_bSyncToAudio = true; | ||
bool CGameSettings::m_bFastSP = true; | ||
bool CGameSettings::m_b32Bit = true; | ||
bool CGameSettings::m_RspAudioSignal; | ||
bool CGameSettings::m_bRomInMemory; | ||
bool CGameSettings::m_RegCaching; | ||
bool CGameSettings::m_bLinkBlocks; | ||
uint32_t CGameSettings::m_LookUpMode; //FUNC_LOOKUP_METHOD | ||
SYSTEM_TYPE CGameSettings::m_SystemType = SYSTEM_NTSC; | ||
CPU_TYPE CGameSettings::m_CpuType = CPU_Recompiler; | ||
uint32_t CGameSettings::m_OverClockModifier = 1; | ||
|
||
void CGameSettings::RefreshGameSettings() | ||
{ | ||
|
@@ -68,12 +69,14 @@ void CGameSettings::RefreshGameSettings() | |
m_LookUpMode = g_Settings->LoadDword(Game_FuncLookupMode); | ||
m_SystemType = (SYSTEM_TYPE)g_Settings->LoadDword(Game_SystemType); | ||
m_CpuType = (CPU_TYPE)g_Settings->LoadDword(Game_CpuType); | ||
|
||
m_OverClockModifier = g_Settings->LoadDword(Game_OverClockModifier); | ||
m_bSyncingToAudio = m_bSyncToAudio; | ||
if (m_CountPerOp == 0) | ||
{ | ||
m_CountPerOp = 2; | ||
} | ||
if (m_OverClockModifier < 1) { m_OverClockModifier = 1; } | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
project64
Author
Owner
|
||
if (m_OverClockModifier > 20) { m_OverClockModifier = 20; } | ||
WriteTrace(TraceN64System, TraceDebug, "Done"); | ||
} | ||
|
||
|
Wouldn't it be convenient if we allowed values under 1 but bigger than zero so that we could also underclock the system a little bit? Would help struggling android devices to run some games smoothly.
Of course then the type wouldnt be an integer anymore