diff options
Diffstat (limited to 'src/osd/sdl/sdlmain.cpp')
-rw-r--r-- | src/osd/sdl/sdlmain.cpp | 32 |
1 files changed, 2 insertions, 30 deletions
diff --git a/src/osd/sdl/sdlmain.cpp b/src/osd/sdl/sdlmain.cpp index 530aa41c9d4..f9015e80552 100644 --- a/src/osd/sdl/sdlmain.cpp +++ b/src/osd/sdl/sdlmain.cpp @@ -21,7 +21,7 @@ #endif // standard includes -#if !defined(SDLMAME_WIN32) && !defined(SDLMAME_OS2) +#if !defined(SDLMAME_WIN32) #include <unistd.h> #endif @@ -31,12 +31,6 @@ #include <windows.h> #endif - -#ifdef SDLMAME_OS2 -#define INCL_DOS -#include <os2.h> -#endif - #include "sdlinc.h" // MAME headers @@ -67,7 +61,7 @@ //============================================================ #ifndef INI_PATH -#if defined(SDLMAME_WIN32) || defined(SDLMAME_OS2) +#if defined(SDLMAME_WIN32) #define INI_PATH ".;ini" #elif defined(SDLMAME_MACOSX) #define INI_PATH "$HOME/Library/Application Support/APP_NAME;$HOME/.APP_NAME;.;ini" @@ -173,23 +167,6 @@ const options_entry sdl_options::s_option_entries[] = }; //============================================================ -// OS2 specific -//============================================================ - -#ifdef SDLMAME_OS2 -void MorphToPM() -{ - PPIB pib; - PTIB tib; - - DosGetInfoBlocks(&tib, &pib); - - // Change flag from VIO to PM: - if (pib->pib_ultype==2) pib->pib_ultype = 3; -} -#endif - -//============================================================ // sdl_options //============================================================ @@ -231,10 +208,6 @@ int main(int argc, char *argv[]) #endif #endif -#ifdef SDLMAME_OS2 - MorphToPM(); -#endif - { sdl_options options; sdl_osd_interface osd(options); @@ -326,7 +299,6 @@ static void defines_verbose(void) MACRO_VERBOSE(SDLMAME_UNIX); MACRO_VERBOSE(SDLMAME_X11); MACRO_VERBOSE(SDLMAME_WIN32); - MACRO_VERBOSE(SDLMAME_OS2); MACRO_VERBOSE(SDLMAME_MACOSX); MACRO_VERBOSE(SDLMAME_DARWIN); MACRO_VERBOSE(SDLMAME_LINUX); |