update comment

Not really a root, more of a current directory
This commit is contained in:
RadWolfie 2018-08-26 05:50:19 -05:00
parent 503b2061ea
commit ce6e625954
2 changed files with 2 additions and 2 deletions

View File

@ -1406,7 +1406,7 @@ __declspec(noreturn) void CxbxKrnlInit
std::string xbeDirectory(szBuffer); std::string xbeDirectory(szBuffer);
size_t lastFind = xbeDirectory.find(';'); size_t lastFind = xbeDirectory.find(';');
// First find if there is a semicolon when dashboard or title disc (such as demo disc) has it. // First find if there is a semicolon when dashboard or title disc (such as demo disc) has it.
// Then we must obey the "root" directory it asked for. // Then we must obey the current directory it asked for.
if (lastFind != std::string::npos) { if (lastFind != std::string::npos) {
if (xbeDirectory.find(';', lastFind + 1) != std::string::npos) { if (xbeDirectory.find(';', lastFind + 1) != std::string::npos) {
CxbxKrnlCleanup(LOG_PREFIX_INIT, "Cannot contain multiple of ; symbol."); CxbxKrnlCleanup(LOG_PREFIX_INIT, "Cannot contain multiple of ; symbol.");

View File

@ -575,7 +575,7 @@ XBSYSAPI EXPORTNUM(49) xboxkrnl::VOID DECLSPEC_NORETURN NTAPI xboxkrnl::HalRetur
QuickReboot |= BOOT_QUICK_REBOOT; QuickReboot |= BOOT_QUICK_REBOOT;
g_EmuShared->SetBootFlags(&QuickReboot); g_EmuShared->SetBootFlags(&QuickReboot);
// Some titles (Xbox Dashboard and retail/demo discs) use ";" as a root directory path seperator // Some titles (Xbox Dashboard and retail/demo discs) use ";" as a current directory path seperator
// This process is handled during initialization. No speical handling here required. // This process is handled during initialization. No speical handling here required.
std::string szProcArgsBuffer; std::string szProcArgsBuffer;