mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-22 18:53:28 +01:00
Fix Boot regression introduced by #4158
This commit is contained in:
parent
f786c078c2
commit
3043c73745
@ -227,10 +227,11 @@ void main_window::SetAppIconFromPath(const std::string& path)
|
||||
m_appIcon = QApplication::windowIcon();
|
||||
}
|
||||
|
||||
void main_window::Boot(const std::string& path, bool direct, bool add_only, bool force_boot)
|
||||
void main_window::Boot(const std::string& path, bool direct, bool add_only)
|
||||
{
|
||||
SetAppIconFromPath(path);
|
||||
Emu.SetForceBoot(force_boot);
|
||||
Emu.SetForceBoot(true);
|
||||
Emu.Stop();
|
||||
|
||||
if (Emu.BootGame(path, add_only))
|
||||
{
|
||||
@ -240,7 +241,7 @@ void main_window::Boot(const std::string& path, bool direct, bool add_only, bool
|
||||
}
|
||||
else
|
||||
{
|
||||
LOG_ERROR(GENERAL, "Boot failed: path=%s direct=%d add_only=%d force_boot=%d", path, direct, add_only, force_boot);
|
||||
LOG_ERROR(GENERAL, "Boot failed: path=%s direct=%d add_only=%d", path, direct, add_only);
|
||||
}
|
||||
|
||||
m_gameListFrame->Refresh(true);
|
||||
|
@ -85,7 +85,7 @@ public Q_SLOTS:
|
||||
void RepaintGui();
|
||||
|
||||
private Q_SLOTS:
|
||||
void Boot(const std::string& path, bool direct = false, bool add_only = false, bool force_boot = true);
|
||||
void Boot(const std::string& path, bool direct = false, bool add_only = false);
|
||||
void BootElf();
|
||||
void BootGame();
|
||||
void DecryptSPRXLibraries();
|
||||
|
Loading…
Reference in New Issue
Block a user