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:
spacy51 2008-01-09 13:13:14 +00:00
parent 1957e4f1f1
commit cec4a40c32
2 changed files with 3 additions and 3 deletions

View File

@ -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();
}

View File

@ -220,7 +220,7 @@ void MainWnd::OnToolsDebugGdb()
theApp.emulator = GBASystem;
CPUInit(theApp.biosFileNameGBA, theApp.useBiosFileGBA ? true : false);
CPUInit(theApp.biosFileNameGBA, theApp.useBiosFileGBA);
CPUReset();
}
}