mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-26 12:42:41 +01:00
Removed unneeded config saves and misprints
This commit is contained in:
parent
c0255208cc
commit
f842c206f3
@ -66,7 +66,6 @@ Emulator::Emulator()
|
||||
void Emulator::Init()
|
||||
{
|
||||
rpcs3::config.load();
|
||||
rpcs3::config.save();
|
||||
rpcs3::oninit();
|
||||
}
|
||||
|
||||
|
@ -38,7 +38,7 @@ protected:
|
||||
|
||||
void LoadInfo()
|
||||
{
|
||||
SetSize(wxSize(rpcs3::config.gui.size.width.value(), rpcs3::config.gui.size.hight.value()));
|
||||
SetSize(wxSize(rpcs3::config.gui.size.width.value(), rpcs3::config.gui.size.height.value()));
|
||||
SetPosition(wxPoint(rpcs3::config.gui.position.x.value(), rpcs3::config.gui.position.y.value()));
|
||||
}
|
||||
|
||||
@ -52,7 +52,7 @@ protected:
|
||||
void OnResize(wxSizeEvent& event)
|
||||
{
|
||||
rpcs3::config.gui.size.width = GetSize().GetWidth();
|
||||
rpcs3::config.gui.size.hight = GetSize().GetHeight();
|
||||
rpcs3::config.gui.size.height = GetSize().GetHeight();
|
||||
rpcs3::config.gui.position.x = GetPosition().x;
|
||||
rpcs3::config.gui.position.y = GetPosition().y;
|
||||
if(m_is_skip_resize) event.Skip();
|
||||
|
@ -577,7 +577,7 @@ namespace rpcs3
|
||||
size_group(group *grp) : group{ grp, "size" } {}
|
||||
|
||||
entry<int> width{ this, "width", 900 };
|
||||
entry<int> hight{ this, "hight", 600 };
|
||||
entry<int> height{ this, "height", 600 };
|
||||
} size{ this };
|
||||
|
||||
struct position_group : protected group
|
||||
|
@ -200,7 +200,6 @@ void Rpcs3App::Exit()
|
||||
}
|
||||
|
||||
Emu.Stop();
|
||||
rpcs3::config.save();
|
||||
Ini.Save();
|
||||
|
||||
wxApp::Exit();
|
||||
|
Loading…
Reference in New Issue
Block a user