remove unused code
This commit is contained in:
parent
cec1b0b885
commit
9eadb8d393
|
@ -539,7 +539,6 @@ XBSYSAPI EXPORTNUM(49) xbox::void_xt DECLSPEC_NORETURN NTAPI xbox::HalReturnToFi
|
|||
|
||||
|
||||
std::string TitlePath = xbox::LaunchDataPage->Header.szLaunchPath;
|
||||
char szWorkingDirectoy[xbox::max_path];
|
||||
|
||||
// If the title path starts with a semicolon, remove it
|
||||
if (TitlePath.length() > 0 && TitlePath[0] == ';') {
|
||||
|
@ -553,12 +552,6 @@ XBSYSAPI EXPORTNUM(49) xbox::void_xt DECLSPEC_NORETURN NTAPI xbox::HalReturnToFi
|
|||
|
||||
std::string& XbePath = CxbxConvertXboxToHostPath(TitlePath);
|
||||
|
||||
// Determine Working Directory
|
||||
{
|
||||
strncpy_s(szWorkingDirectoy, XbePath.c_str(), MAX_PATH);
|
||||
PathRemoveFileSpec(szWorkingDirectoy);
|
||||
}
|
||||
|
||||
// Relaunch Cxbx, to load another Xbe
|
||||
{
|
||||
int QuickReboot;
|
||||
|
|
Loading…
Reference in New Issue