remove unused code

This commit is contained in:
RadWolfie 2021-04-25 13:25:21 -05:00
parent cec1b0b885
commit 9eadb8d393
1 changed files with 0 additions and 7 deletions

View File

@ -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;