mirror of https://github.com/PCSX2/pcsx2.git
Wx: Add check for resources directory before starting
This commit is contained in:
parent
c4084b4162
commit
c203a09435
|
@ -65,6 +65,14 @@ void Pcsx2App::DetectCpuAndUserMode()
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
EstablishAppUserMode();
|
EstablishAppUserMode();
|
||||||
|
|
||||||
|
// Check that the resources directory exists and contains our data files.
|
||||||
|
if (!EmuFolders::Resources.Exists())
|
||||||
|
{
|
||||||
|
throw Exception::RuntimeError()
|
||||||
|
.SetDiagMsg(L"Resources directory does not exist.")
|
||||||
|
.SetUserMsg(_("Resources directory does not exist. Your installation is incomplete."));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void Pcsx2App::OpenMainFrame()
|
void Pcsx2App::OpenMainFrame()
|
||||||
|
|
Loading…
Reference in New Issue