mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-30 01:29:42 -06:00
Options: merge SCoreStartupParameter into SConfig
This commit is contained in:
@ -94,7 +94,7 @@ void SWBPWritten(int address, int newvalue)
|
||||
u32 addr = bpmem.tmem_config.tlut_src << 5;
|
||||
|
||||
// The GameCube ignores the upper bits of this address. Some games (WW, MKDD) set them.
|
||||
if (!SConfig::GetInstance().m_LocalCoreStartupParameter.bWii)
|
||||
if (!SConfig::GetInstance().bWii)
|
||||
addr = addr & 0x01FFFFFF;
|
||||
|
||||
Memory::CopyFromEmu(texMem + tlutTMemAddr, addr, tlutXferCount);
|
||||
|
@ -106,7 +106,7 @@ void Shutdown()
|
||||
|
||||
void RunGpu()
|
||||
{
|
||||
if (!SConfig::GetInstance().m_LocalCoreStartupParameter.bCPUThread)
|
||||
if (!SConfig::GetInstance().bCPUThread)
|
||||
{
|
||||
// We are going to do FP math on the main thread so have to save the current state
|
||||
FPURoundMode::SaveSIMDState();
|
||||
@ -289,7 +289,7 @@ static void SetStatus()
|
||||
if (interrupt != interruptSet.load() && !interruptWaiting.load())
|
||||
{
|
||||
u64 userdata = interrupt?1:0;
|
||||
if (SConfig::GetInstance().m_LocalCoreStartupParameter.bCPUThread)
|
||||
if (SConfig::GetInstance().bCPUThread)
|
||||
{
|
||||
interruptWaiting.store(true);
|
||||
SWCommandProcessor::UpdateInterruptsFromVideoBackend(userdata);
|
||||
|
@ -242,7 +242,7 @@ void VideoSoftware::Video_EndField()
|
||||
DebugUtil::OnFrameEnd(s_beginFieldArgs.fbWidth, s_beginFieldArgs.fbHeight);
|
||||
|
||||
// If we are in dual core mode, notify the GPU thread about the new color texture.
|
||||
if (SConfig::GetInstance().m_LocalCoreStartupParameter.bCPUThread)
|
||||
if (SConfig::GetInstance().bCPUThread)
|
||||
s_swapRequested.store(true);
|
||||
else
|
||||
SWRenderer::Swap(s_beginFieldArgs.fbWidth, s_beginFieldArgs.fbHeight);
|
||||
|
Reference in New Issue
Block a user