Fix up GetGameBinArchSubdirectory

This commit is contained in:
Nicholas Hastings 2025-11-08 11:26:03 -05:00
parent f382c3fb5b
commit 9952f62a33

View File

@ -196,23 +196,22 @@ public:
} }
const char* GetGameBinArchSubdirectory() override const char* GetGameBinArchSubdirectory() override
{ {
#if defined KE_ARCH_X64 #if defined( KE_ARCH_X64 ) && SOURCE_ENGINE >= SE_BLADE
#if SOURCE_ENGINE >= SE_BLADE #if defined( PLATFORM_WINDOWS )
#ifdef PLATFORM_WINDOWS
#if SOURCE_ENGINE == SE_MCV #if SOURCE_ENGINE == SE_MCV
return "win64" PLATFORM_SEP; return "win64" PLATFORM_SEP;
#else #else
return "x64" PLATFORM_SEP; return "x64" PLATFORM_SEP;
#endif // SOURCE_ENGINE == SE_MCV #endif // SOURCE_ENGINE == SE_MCV
#else #elif defined( PLATFORM_LINUX )
return "linux64" PLATFORM_SEP; return "linux64" PLATFORM_SEP;
#endif // PLATFORM_WINDOWS #else
#error "Unsupported platform"
#endif // PLATFORM
#else #else
// Already included in the GameBin path(s), if required // Already included in the GameBin path(s), if required
return ""; return "";
#endif // SOURCE_ENGINE >= SE_BLADE #endif // defined( KE_ARCH_X64 ) && SOURCE_ENGINE >= SE_BLADE
#endif // KE_ARCH_X64
return "win32" PLATFORM_SEP;
} }
} fs_wrapper; } fs_wrapper;