mirror of https://github.com/PCSX2/pcsx2.git
Issue 331 - let's also fix the "double initialization" issue when booting cdvd plugin from the commandline.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1724 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
4307e18e71
commit
646bf1bfac
|
@ -249,7 +249,7 @@ void RunGui()
|
||||||
{
|
{
|
||||||
// Initially bypass GUI and start PCSX2 directly.
|
// Initially bypass GUI and start PCSX2 directly.
|
||||||
CDVDsys_ChangeSource( g_Startup.CdvdSource );
|
CDVDsys_ChangeSource( g_Startup.CdvdSource );
|
||||||
DoCDVDopen( g_Startup.ImageName );
|
if( !OpenCDVD( g_Startup.ImageName ) ) return;
|
||||||
|
|
||||||
if (OpenPlugins() == -1) return;
|
if (OpenPlugins() == -1) return;
|
||||||
|
|
||||||
|
|
|
@ -379,10 +379,8 @@ void RunGui()
|
||||||
// Initially bypass GUI and start PCSX2 directly.
|
// Initially bypass GUI and start PCSX2 directly.
|
||||||
|
|
||||||
CDVDsys_ChangeSource( g_Startup.CdvdSource );
|
CDVDsys_ChangeSource( g_Startup.CdvdSource );
|
||||||
DoCDVDopen( g_Startup.ImageName );
|
if( !OpenCDVD( g_Startup.ImageName ) ) return;
|
||||||
|
if( OpenPlugins() == -1 ) return;
|
||||||
if (OpenPlugins() == -1)
|
|
||||||
return;
|
|
||||||
|
|
||||||
SysPrepareExecution( (g_Startup.StartupMode == Startup_FromELF) ? g_Startup.ImageName : NULL, !g_Startup.SkipBios );
|
SysPrepareExecution( (g_Startup.StartupMode == Startup_FromELF) ? g_Startup.ImageName : NULL, !g_Startup.SkipBios );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue