mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-04 14:08:37 +00:00
Replace remained old ini-manager calls
This commit is contained in:
parent
7dfe9415c4
commit
fd13a495de
18 changed files with 194 additions and 119 deletions
|
|
@ -1,5 +1,4 @@
|
|||
#include "stdafx_gui.h"
|
||||
#include "Ini.h"
|
||||
#include "rpcs3.h"
|
||||
#include "config.h"
|
||||
#include "MainFrame.h"
|
||||
|
|
@ -222,7 +221,7 @@ void MainFrame::BootGame(wxCommandEvent& WXUNUSED(event))
|
|||
{
|
||||
LOG_SUCCESS(HLE, "Game: boot done.");
|
||||
|
||||
if (Ini.HLEAlwaysStart.GetValue() && Emu.IsReady())
|
||||
if (rpcs3::config.misc.always_start.value())
|
||||
{
|
||||
Emu.Run();
|
||||
}
|
||||
|
|
@ -346,7 +345,7 @@ void MainFrame::BootElf(wxCommandEvent& WXUNUSED(event))
|
|||
|
||||
LOG_SUCCESS(HLE, "(S)ELF: boot done.");
|
||||
|
||||
if (Ini.HLEAlwaysStart.GetValue() && Emu.IsReady())
|
||||
if (rpcs3::config.misc.always_start.value() && Emu.IsReady())
|
||||
{
|
||||
Emu.Run();
|
||||
}
|
||||
|
|
@ -513,7 +512,7 @@ void MainFrame::UpdateUI(wxCommandEvent& event)
|
|||
|
||||
if (event.GetId() == DID_STOPPED_EMU)
|
||||
{
|
||||
if (Ini.HLEExitOnStop.GetValue())
|
||||
if (rpcs3::config.misc.exit_on_stop.value())
|
||||
{
|
||||
wxGetApp().Exit();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue