mirror of https://github.com/PCSX2/pcsx2.git
GUI: Force Full Boot on first run of new version
This gets around users having crashes because they haven't configured the language in their BIOS
This commit is contained in:
parent
56b0026160
commit
f27baec6fb
|
@ -468,7 +468,8 @@ struct Pcsx2Config
|
|||
MultitapPort1_Enabled:1,
|
||||
|
||||
ConsoleToStdio :1,
|
||||
HostFs :1;
|
||||
HostFs :1,
|
||||
FullBootConfig :1;
|
||||
BITFIELD_END
|
||||
|
||||
CpuOptions Cpu;
|
||||
|
|
|
@ -439,6 +439,7 @@ void Pcsx2Config::LoadSave( IniInterface& ini )
|
|||
#endif
|
||||
IniBitBool( ConsoleToStdio );
|
||||
IniBitBool( HostFs );
|
||||
IniBitBool( FullBootConfig );
|
||||
|
||||
IniBitBool( BackupSavestate );
|
||||
IniBitBool( McdEnableEjection );
|
||||
|
|
|
@ -423,7 +423,19 @@ void MainEmuFrame::_DoBootCdvd()
|
|||
return;
|
||||
}
|
||||
}
|
||||
|
||||
if (!g_Conf->EmuOptions.FullBootConfig && g_Conf->EmuOptions.UseBOOT2Injection)
|
||||
{
|
||||
g_Conf->EmuOptions.UseBOOT2Injection = false;
|
||||
g_Conf->EmuOptions.FullBootConfig = true;
|
||||
|
||||
wxString message;
|
||||
message.Printf(_("For the first run of this version of the emulator, you will be forced to boot to your BIOS. You are required to configure the BIOS language before proceeding. Once this has been done you can Fast Boot normally."));
|
||||
Msgbox::Alert(message, _("BIOS Configuration"));
|
||||
}
|
||||
else
|
||||
g_Conf->EmuOptions.FullBootConfig = true;
|
||||
|
||||
sApp.SysExecute(g_Conf->CdvdSource);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue