aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code/switches.inc
diff options
context:
space:
mode:
Diffstat (limited to 'Game/Code/switches.inc')
-rw-r--r--Game/Code/switches.inc29
1 files changed, 16 insertions, 13 deletions
diff --git a/Game/Code/switches.inc b/Game/Code/switches.inc
index a895712a..fda3cd75 100644
--- a/Game/Code/switches.inc
+++ b/Game/Code/switches.inc
@@ -1,13 +1,16 @@
-{$IFDEF FPC}
- {$UNDEF UseSerialPort}
- {$UNDEF UseMIDIPort}
-{$ELSE}
- {$UNDEF UseSerialPort}
- {$DEFINE UseMIDIPort}
-{$ENDIF}
-
-{$IFDEF win32}
- {$DEFINE UseBASS}
-{$ELSE}
- {$UNDEF UseBASS}
-{$ENDIF}
+{$IFDEF FPC}
+ {$UNDEF UseSerialPort}
+ {$UNDEF UseMIDIPort}
+{$ELSE}
+ {$DEFINE UseSerialPort}
+ {$DEFINE UseMIDIPort}
+{$ENDIF}
+
+{$IFDEF win32}
+ {$DEFINE UseBASS}
+ {$IFDEF DEBUG}
+ {$APPTYPE CONSOLE}
+ {$ENDIF}
+{$ELSE}
+ {$UNDEF UseBASS}
+{$ENDIF} \ No newline at end of file