diff --git a/src/StepMania.cpp b/src/StepMania.cpp index 8bf40c65f8..c7ac99214c 100644 --- a/src/StepMania.cpp +++ b/src/StepMania.cpp @@ -68,27 +68,12 @@ #include "SpecialFiles.h" #include "Profile.h" -#if defined(XBOX) -#include "Archutils/Xbox/VirtualMemory.h" -#endif - -#if defined(WIN32) && !defined(XBOX) +#if defined(WIN32) #include #endif -// since the XBOX SDK only works with VS.Net 2003, this doesn't exist yet. -// see http://old.nabble.com/Linking-Error-with-MSVC%2B%2B-6.0-td21608559.html -// for more information. -aj -#if defined(XBOX) - extern "C" - { - int _get_output_format( void ){ return 0; } - } -#endif - static Preference g_bAllowMultipleInstances( "AllowMultipleInstances", false ); - void StepMania::GetPreferredVideoModeParams( VideoModeParams ¶msOut ) { /* We can't rely on there being full-screen video modes that give us square @@ -469,14 +454,6 @@ struct VideoCardDefaults } } const g_VideoCardDefaults[] = { - VideoCardDefaults( - "Xbox", - "d3d", - 600,400, - 32,32,32, - 2048, - true - ), VideoCardDefaults( "Voodoo *5", "d3d,opengl", // received 3 reports of opengl crashing. -Chris @@ -636,8 +613,6 @@ static RString GetVideoDriverName() { #if defined(_WINDOWS) return GetPrimaryVideoDriverName(); -#elif defined(_XBOX) - return "Xbox"; #else return "OpenGL"; #endif @@ -880,11 +855,8 @@ static void MountTreeOfZips( const RString &dir ) RString path = dirs.back(); dirs.pop_back(); -#if !defined(XBOX) - // Xbox doesn't detect directories properly, so we'll ignore this if( !IsADirectory(path) ) continue; -#endif vector zips; GetDirListing( path + "/*.zip", zips, false, true ); @@ -998,10 +970,6 @@ int main(int argc, char* argv[]) ApplyLogPreferences(); -#if defined(XBOX) - vmem_Manager.Init(); -#endif - WriteLogHeader(); // Set up alternative filesystem trees.