GIT
/
REPO
/
FRED-BOY
Projects
/
d2df-sdl.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff17260
)
force stub system driver for headless mode
author
DeaDDooMER <deaddoomer@deadsoftware.ru>
Sat, 12 Oct 2019 20:45:09 +0000
(23:45 +0300)
committer
DeaDDooMER <deaddoomer@deadsoftware.ru>
Sun, 13 Oct 2019 14:19:20 +0000
(17:19 +0300)
src/game/Doom2DF.lpr
patch
|
blob
|
history
diff --git
a/src/game/Doom2DF.lpr
b/src/game/Doom2DF.lpr
index 7f869f160006312da7185f9baf3d2a2a8e88cfe6..758c4f9eb4fa2abc003b363db081ee87fa2f2fa1 100644
(file)
--- a/
src/game/Doom2DF.lpr
+++ b/
src/game/Doom2DF.lpr
@@
-57,6
+57,12
@@
{$ERROR Sound driver not selected. Use -dUSE_SOUNDSTUB or -dUSE_SDLMIXER or -dUSE_FMOD or -dUSE_OPENAL}
{$ENDIF}
+{$IFDEF HEADLESS}
+ {$IFNDEF USE_SYSSTUB}
+ {$ERROR Using system driver has no sense for headless build. Use -dUSE_SYSSTUB instead}
+ {$ENDIF}
+{$ENDIF}
+
{$IFDEF ENABLE_HOLMES}
{$IFDEF HEADLESS}
{$ERROR Holmes in HEADLESS mode has no sense}
DEADSOFTWARE 2012-2025