Remove VBeam Speedhack.
This commit is contained in:
parent
3767ddcacf
commit
8f416821ad
|
@ -48,7 +48,7 @@ namespace BootManager
|
||||||
struct ConfigCache
|
struct ConfigCache
|
||||||
{
|
{
|
||||||
bool valid, bCPUThread, bSkipIdle, bFPRF, bBAT, bMMU, bDCBZOFF, m_EnableJIT, bDSPThread,
|
bool valid, bCPUThread, bSkipIdle, bFPRF, bBAT, bMMU, bDCBZOFF, m_EnableJIT, bDSPThread,
|
||||||
bVBeamSpeedHack, bSyncGPU, bFastDiscSpeed, bMergeBlocks, bDSPHLE, bHLE_BS2, bProgressive;
|
bSyncGPU, bFastDiscSpeed, bMergeBlocks, bDSPHLE, bHLE_BS2, bProgressive;
|
||||||
int iCPUCore, Volume;
|
int iCPUCore, Volume;
|
||||||
int iWiimoteSource[MAX_BBMOTES];
|
int iWiimoteSource[MAX_BBMOTES];
|
||||||
SIDevices Pads[MAX_SI_CHANNELS];
|
SIDevices Pads[MAX_SI_CHANNELS];
|
||||||
|
@ -117,7 +117,6 @@ bool BootCore(const std::string& _rFilename)
|
||||||
config_cache.bBAT = StartUp.bBAT;
|
config_cache.bBAT = StartUp.bBAT;
|
||||||
config_cache.bMMU = StartUp.bMMU;
|
config_cache.bMMU = StartUp.bMMU;
|
||||||
config_cache.bDCBZOFF = StartUp.bDCBZOFF;
|
config_cache.bDCBZOFF = StartUp.bDCBZOFF;
|
||||||
config_cache.bVBeamSpeedHack = StartUp.bVBeamSpeedHack;
|
|
||||||
config_cache.bSyncGPU = StartUp.bSyncGPU;
|
config_cache.bSyncGPU = StartUp.bSyncGPU;
|
||||||
config_cache.bFastDiscSpeed = StartUp.bFastDiscSpeed;
|
config_cache.bFastDiscSpeed = StartUp.bFastDiscSpeed;
|
||||||
config_cache.bMergeBlocks = StartUp.bMergeBlocks;
|
config_cache.bMergeBlocks = StartUp.bMergeBlocks;
|
||||||
|
@ -159,7 +158,6 @@ bool BootCore(const std::string& _rFilename)
|
||||||
core_section->Get("BAT", &StartUp.bBAT, StartUp.bBAT);
|
core_section->Get("BAT", &StartUp.bBAT, StartUp.bBAT);
|
||||||
core_section->Get("MMU", &StartUp.bMMU, StartUp.bMMU);
|
core_section->Get("MMU", &StartUp.bMMU, StartUp.bMMU);
|
||||||
core_section->Get("DCBZ", &StartUp.bDCBZOFF, StartUp.bDCBZOFF);
|
core_section->Get("DCBZ", &StartUp.bDCBZOFF, StartUp.bDCBZOFF);
|
||||||
core_section->Get("VBeam", &StartUp.bVBeamSpeedHack, StartUp.bVBeamSpeedHack);
|
|
||||||
core_section->Get("SyncGPU", &StartUp.bSyncGPU, StartUp.bSyncGPU);
|
core_section->Get("SyncGPU", &StartUp.bSyncGPU, StartUp.bSyncGPU);
|
||||||
core_section->Get("FastDiscSpeed", &StartUp.bFastDiscSpeed, StartUp.bFastDiscSpeed);
|
core_section->Get("FastDiscSpeed", &StartUp.bFastDiscSpeed, StartUp.bFastDiscSpeed);
|
||||||
core_section->Get("BlockMerging", &StartUp.bMergeBlocks, StartUp.bMergeBlocks);
|
core_section->Get("BlockMerging", &StartUp.bMergeBlocks, StartUp.bMergeBlocks);
|
||||||
|
@ -288,7 +286,6 @@ void Stop()
|
||||||
StartUp.bBAT = config_cache.bBAT;
|
StartUp.bBAT = config_cache.bBAT;
|
||||||
StartUp.bMMU = config_cache.bMMU;
|
StartUp.bMMU = config_cache.bMMU;
|
||||||
StartUp.bDCBZOFF = config_cache.bDCBZOFF;
|
StartUp.bDCBZOFF = config_cache.bDCBZOFF;
|
||||||
StartUp.bVBeamSpeedHack = config_cache.bVBeamSpeedHack;
|
|
||||||
StartUp.bSyncGPU = config_cache.bSyncGPU;
|
StartUp.bSyncGPU = config_cache.bSyncGPU;
|
||||||
StartUp.bFastDiscSpeed = config_cache.bFastDiscSpeed;
|
StartUp.bFastDiscSpeed = config_cache.bFastDiscSpeed;
|
||||||
StartUp.bMergeBlocks = config_cache.bMergeBlocks;
|
StartUp.bMergeBlocks = config_cache.bMergeBlocks;
|
||||||
|
|
|
@ -583,7 +583,6 @@ void SConfig::LoadCoreSettings(IniFile& ini)
|
||||||
core->Get("RunCompareClient", &m_LocalCoreStartupParameter.bRunCompareClient, false);
|
core->Get("RunCompareClient", &m_LocalCoreStartupParameter.bRunCompareClient, false);
|
||||||
core->Get("MMU", &m_LocalCoreStartupParameter.bMMU, false);
|
core->Get("MMU", &m_LocalCoreStartupParameter.bMMU, false);
|
||||||
core->Get("BBDumpPort", &m_LocalCoreStartupParameter.iBBDumpPort, -1);
|
core->Get("BBDumpPort", &m_LocalCoreStartupParameter.iBBDumpPort, -1);
|
||||||
core->Get("VBeam", &m_LocalCoreStartupParameter.bVBeamSpeedHack, false);
|
|
||||||
core->Get("SyncGPU", &m_LocalCoreStartupParameter.bSyncGPU, false);
|
core->Get("SyncGPU", &m_LocalCoreStartupParameter.bSyncGPU, false);
|
||||||
core->Get("FastDiscSpeed", &m_LocalCoreStartupParameter.bFastDiscSpeed, false);
|
core->Get("FastDiscSpeed", &m_LocalCoreStartupParameter.bFastDiscSpeed, false);
|
||||||
core->Get("DCBZ", &m_LocalCoreStartupParameter.bDCBZOFF, false);
|
core->Get("DCBZ", &m_LocalCoreStartupParameter.bDCBZOFF, false);
|
||||||
|
|
|
@ -40,7 +40,7 @@ SCoreStartupParameter::SCoreStartupParameter()
|
||||||
bDPL2Decoder(false), iLatency(14),
|
bDPL2Decoder(false), iLatency(14),
|
||||||
bRunCompareServer(false), bRunCompareClient(false),
|
bRunCompareServer(false), bRunCompareClient(false),
|
||||||
bBAT(false), bMMU(false), bDCBZOFF(false),
|
bBAT(false), bMMU(false), bDCBZOFF(false),
|
||||||
iBBDumpPort(0), bVBeamSpeedHack(false),
|
iBBDumpPort(0),
|
||||||
bSyncGPU(false), bFastDiscSpeed(false),
|
bSyncGPU(false), bFastDiscSpeed(false),
|
||||||
SelectedLanguage(0), bWii(false),
|
SelectedLanguage(0), bWii(false),
|
||||||
bConfirmStop(false), bHideCursor(false),
|
bConfirmStop(false), bHideCursor(false),
|
||||||
|
@ -78,7 +78,6 @@ void SCoreStartupParameter::LoadDefaults()
|
||||||
bMMU = false;
|
bMMU = false;
|
||||||
bDCBZOFF = false;
|
bDCBZOFF = false;
|
||||||
iBBDumpPort = -1;
|
iBBDumpPort = -1;
|
||||||
bVBeamSpeedHack = false;
|
|
||||||
bSyncGPU = false;
|
bSyncGPU = false;
|
||||||
bFastDiscSpeed = false;
|
bFastDiscSpeed = false;
|
||||||
bMergeBlocks = false;
|
bMergeBlocks = false;
|
||||||
|
|
|
@ -185,7 +185,6 @@ struct SCoreStartupParameter
|
||||||
bool bMMU;
|
bool bMMU;
|
||||||
bool bDCBZOFF;
|
bool bDCBZOFF;
|
||||||
int iBBDumpPort;
|
int iBBDumpPort;
|
||||||
bool bVBeamSpeedHack;
|
|
||||||
bool bSyncGPU;
|
bool bSyncGPU;
|
||||||
bool bFastDiscSpeed;
|
bool bFastDiscSpeed;
|
||||||
|
|
||||||
|
|
|
@ -478,10 +478,7 @@ void UpdateParameters()
|
||||||
|
|
||||||
int GetNumFields()
|
int GetNumFields()
|
||||||
{
|
{
|
||||||
if (SConfig::GetInstance().m_LocalCoreStartupParameter.bVBeamSpeedHack)
|
return 1;
|
||||||
return (2 / fields);
|
|
||||||
else
|
|
||||||
return 1;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
unsigned int GetTicksPerLine()
|
unsigned int GetTicksPerLine()
|
||||||
|
@ -492,10 +489,7 @@ unsigned int GetTicksPerLine()
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (SConfig::GetInstance().m_LocalCoreStartupParameter.bVBeamSpeedHack)
|
return TicksPerFrame / (s_lineCount / (2 / fields)) ;
|
||||||
return TicksPerFrame / s_lineCount;
|
|
||||||
else
|
|
||||||
return TicksPerFrame / (s_lineCount / (2 / fields)) ;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -410,8 +410,6 @@ void CISOProperties::CreateGUIControls(bool IsWad)
|
||||||
DCBZOFF->SetToolTip(_("Bypass the clearing of the data cache by the DCBZ instruction. Usually leave this option disabled."));
|
DCBZOFF->SetToolTip(_("Bypass the clearing of the data cache by the DCBZ instruction. Usually leave this option disabled."));
|
||||||
FPRF = new wxCheckBox(m_GameConfig, ID_MMU, _("Enable FPRF"), wxDefaultPosition, wxDefaultSize, GetElementStyle("Core", "FPRF"));
|
FPRF = new wxCheckBox(m_GameConfig, ID_MMU, _("Enable FPRF"), wxDefaultPosition, wxDefaultSize, GetElementStyle("Core", "FPRF"));
|
||||||
FPRF->SetToolTip(_("Enables Floating Point Result Flag calculation, needed for a few games. (ON = Compatible, OFF = Fast)"));
|
FPRF->SetToolTip(_("Enables Floating Point Result Flag calculation, needed for a few games. (ON = Compatible, OFF = Fast)"));
|
||||||
VBeam = new wxCheckBox(m_GameConfig, ID_VBEAM, _("VBeam Speed Hack"), wxDefaultPosition, wxDefaultSize, GetElementStyle("Core", "VBeam"));
|
|
||||||
VBeam->SetToolTip(_("Doubles the emulated GPU clock rate. May speed up some games (ON = Fast, OFF = Compatible)"));
|
|
||||||
SyncGPU = new wxCheckBox(m_GameConfig, ID_SYNCGPU, _("Synchronize GPU thread"), wxDefaultPosition, wxDefaultSize, GetElementStyle("Core", "SyncGPU"));
|
SyncGPU = new wxCheckBox(m_GameConfig, ID_SYNCGPU, _("Synchronize GPU thread"), wxDefaultPosition, wxDefaultSize, GetElementStyle("Core", "SyncGPU"));
|
||||||
SyncGPU->SetToolTip(_("Synchronizes the GPU and CPU threads to help prevent random freezes in Dual Core mode. (ON = Compatible, OFF = Fast)"));
|
SyncGPU->SetToolTip(_("Synchronizes the GPU and CPU threads to help prevent random freezes in Dual Core mode. (ON = Compatible, OFF = Fast)"));
|
||||||
FastDiscSpeed = new wxCheckBox(m_GameConfig, ID_DISCSPEED, _("Speed up Disc Transfer Rate"), wxDefaultPosition, wxDefaultSize, GetElementStyle("Core", "FastDiscSpeed"));
|
FastDiscSpeed = new wxCheckBox(m_GameConfig, ID_DISCSPEED, _("Speed up Disc Transfer Rate"), wxDefaultPosition, wxDefaultSize, GetElementStyle("Core", "FastDiscSpeed"));
|
||||||
|
@ -471,7 +469,6 @@ void CISOProperties::CreateGUIControls(bool IsWad)
|
||||||
sbCoreOverrides->Add(MMU, 0, wxLEFT, 5);
|
sbCoreOverrides->Add(MMU, 0, wxLEFT, 5);
|
||||||
sbCoreOverrides->Add(DCBZOFF, 0, wxLEFT, 5);
|
sbCoreOverrides->Add(DCBZOFF, 0, wxLEFT, 5);
|
||||||
sbCoreOverrides->Add(FPRF, 0, wxLEFT, 5);
|
sbCoreOverrides->Add(FPRF, 0, wxLEFT, 5);
|
||||||
sbCoreOverrides->Add(VBeam, 0, wxLEFT, 5);
|
|
||||||
sbCoreOverrides->Add(SyncGPU, 0, wxLEFT, 5);
|
sbCoreOverrides->Add(SyncGPU, 0, wxLEFT, 5);
|
||||||
sbCoreOverrides->Add(FastDiscSpeed, 0, wxLEFT, 5);
|
sbCoreOverrides->Add(FastDiscSpeed, 0, wxLEFT, 5);
|
||||||
sbCoreOverrides->Add(BlockMerging, 0, wxLEFT, 5);
|
sbCoreOverrides->Add(BlockMerging, 0, wxLEFT, 5);
|
||||||
|
@ -1063,7 +1060,6 @@ void CISOProperties::LoadGameConfig()
|
||||||
SetCheckboxValueFromGameini("Core", "BAT", BAT);
|
SetCheckboxValueFromGameini("Core", "BAT", BAT);
|
||||||
SetCheckboxValueFromGameini("Core", "DCBZ", DCBZOFF);
|
SetCheckboxValueFromGameini("Core", "DCBZ", DCBZOFF);
|
||||||
SetCheckboxValueFromGameini("Core", "FPRF", FPRF);
|
SetCheckboxValueFromGameini("Core", "FPRF", FPRF);
|
||||||
SetCheckboxValueFromGameini("Core", "VBeam", VBeam);
|
|
||||||
SetCheckboxValueFromGameini("Core", "SyncGPU", SyncGPU);
|
SetCheckboxValueFromGameini("Core", "SyncGPU", SyncGPU);
|
||||||
SetCheckboxValueFromGameini("Core", "FastDiscSpeed", FastDiscSpeed);
|
SetCheckboxValueFromGameini("Core", "FastDiscSpeed", FastDiscSpeed);
|
||||||
SetCheckboxValueFromGameini("Core", "BlockMerging", BlockMerging);
|
SetCheckboxValueFromGameini("Core", "BlockMerging", BlockMerging);
|
||||||
|
@ -1160,7 +1156,6 @@ bool CISOProperties::SaveGameConfig()
|
||||||
SaveGameIniValueFrom3StateCheckbox("Core", "BAT", BAT);
|
SaveGameIniValueFrom3StateCheckbox("Core", "BAT", BAT);
|
||||||
SaveGameIniValueFrom3StateCheckbox("Core", "DCBZ", DCBZOFF);
|
SaveGameIniValueFrom3StateCheckbox("Core", "DCBZ", DCBZOFF);
|
||||||
SaveGameIniValueFrom3StateCheckbox("Core", "FPRF", FPRF);
|
SaveGameIniValueFrom3StateCheckbox("Core", "FPRF", FPRF);
|
||||||
SaveGameIniValueFrom3StateCheckbox("Core", "VBeam", VBeam);
|
|
||||||
SaveGameIniValueFrom3StateCheckbox("Core", "SyncGPU", SyncGPU);
|
SaveGameIniValueFrom3StateCheckbox("Core", "SyncGPU", SyncGPU);
|
||||||
SaveGameIniValueFrom3StateCheckbox("Core", "FastDiscSpeed", FastDiscSpeed);
|
SaveGameIniValueFrom3StateCheckbox("Core", "FastDiscSpeed", FastDiscSpeed);
|
||||||
SaveGameIniValueFrom3StateCheckbox("Core", "BlockMerging", BlockMerging);
|
SaveGameIniValueFrom3StateCheckbox("Core", "BlockMerging", BlockMerging);
|
||||||
|
|
|
@ -70,7 +70,7 @@ private:
|
||||||
|
|
||||||
// Core
|
// Core
|
||||||
wxCheckBox *CPUThread, *SkipIdle, *MMU, *BAT, *DCBZOFF, *FPRF;
|
wxCheckBox *CPUThread, *SkipIdle, *MMU, *BAT, *DCBZOFF, *FPRF;
|
||||||
wxCheckBox *VBeam, *SyncGPU, *FastDiscSpeed, *BlockMerging, *DSPHLE;
|
wxCheckBox *SyncGPU, *FastDiscSpeed, *BlockMerging, *DSPHLE;
|
||||||
|
|
||||||
wxArrayString arrayStringFor_GPUDeterminism;
|
wxArrayString arrayStringFor_GPUDeterminism;
|
||||||
wxChoice* GPUDeterminism;
|
wxChoice* GPUDeterminism;
|
||||||
|
@ -136,7 +136,6 @@ private:
|
||||||
ID_IDLESKIP,
|
ID_IDLESKIP,
|
||||||
ID_MMU,
|
ID_MMU,
|
||||||
ID_DCBZOFF,
|
ID_DCBZOFF,
|
||||||
ID_VBEAM,
|
|
||||||
ID_SYNCGPU,
|
ID_SYNCGPU,
|
||||||
ID_DISCSPEED,
|
ID_DISCSPEED,
|
||||||
ID_MERGEBLOCKS,
|
ID_MERGEBLOCKS,
|
||||||
|
|
Loading…
Reference in New Issue