Remove code ifdefed for OS/2
Cleanup before replacing SDL1.2 with SDL2. OS/2 support was introduced in DOSBox in March 2006. OS/2 reached EOL in December 2006. As of 2019, OS/2 is being continued by proprietary 32-bit only ArcaOS, although there is no official SDL2 support, despite pledges from SDL2 maintainers.
This commit is contained in:
parent
ef2686ac02
commit
5f9ac5eeab
19 changed files with 29 additions and 529 deletions
|
@ -121,11 +121,6 @@ struct private_hwdata {
|
|||
#define PRIO_TOTAL (PRIO_MAX-PRIO_MIN)
|
||||
#endif
|
||||
|
||||
#ifdef OS2
|
||||
#define INCL_DOS
|
||||
#define INCL_WIN
|
||||
#include <os2.h>
|
||||
#endif
|
||||
|
||||
enum SCREEN_TYPES {
|
||||
SCREEN_SURFACE,
|
||||
|
@ -2038,14 +2033,6 @@ int main(int argc, char* argv[]) {
|
|||
SetConsoleCtrlHandler((PHANDLER_ROUTINE) ConsoleEventHandler,TRUE);
|
||||
#endif
|
||||
|
||||
#ifdef OS2
|
||||
PPIB pib;
|
||||
PTIB tib;
|
||||
DosGetInfoBlocks(&tib, &pib);
|
||||
if (pib->pib_ultype == 2) pib->pib_ultype = 3;
|
||||
setbuf(stdout, NULL);
|
||||
setbuf(stderr, NULL);
|
||||
#endif
|
||||
|
||||
/* Display Welcometext in the console */
|
||||
LOG_MSG("DOSBox version %s",VERSION);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue