small code cleanup
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@274 a31d4220-a93d-0410-bf67-fe4944624d44
This commit is contained in:
parent
1957e4f1f1
commit
cec4a40c32
|
@ -626,8 +626,8 @@ bool MainWnd::FileRun()
|
|||
#endif
|
||||
|
||||
if(type == IMAGE_GBA) {
|
||||
skipBios = theApp.skipBiosFile ? true : false;
|
||||
CPUInit((char *)(LPCTSTR)theApp.biosFileNameGBA, theApp.useBiosFileGBA ? true : false);
|
||||
skipBios = theApp.skipBiosFile;
|
||||
CPUInit(theApp.biosFileNameGBA.GetString(), theApp.useBiosFileGBA);
|
||||
CPUReset();
|
||||
}
|
||||
|
||||
|
|
|
@ -220,7 +220,7 @@ void MainWnd::OnToolsDebugGdb()
|
|||
|
||||
theApp.emulator = GBASystem;
|
||||
|
||||
CPUInit(theApp.biosFileNameGBA, theApp.useBiosFileGBA ? true : false);
|
||||
CPUInit(theApp.biosFileNameGBA, theApp.useBiosFileGBA);
|
||||
CPUReset();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue