summaryrefslogtreecommitdiff
path: root/sys/src/games/doom/d_main.c
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@gmx.de>2012-07-27 14:42:43 +0200
committercinap_lenrek <cinap_lenrek@gmx.de>2012-07-27 14:42:43 +0200
commit543e510da1869cf8d352225bade8fc732c598497 (patch)
tree3fe4cf0d6204b47acd76e4e08ee09add6bb136ea /sys/src/games/doom/d_main.c
parentab08c97e6010309d4ea0df26815d074b1f5d1a4b (diff)
doom: cleanup
Diffstat (limited to 'sys/src/games/doom/d_main.c')
-rw-r--r--sys/src/games/doom/d_main.c22
1 files changed, 3 insertions, 19 deletions
diff --git a/sys/src/games/doom/d_main.c b/sys/src/games/doom/d_main.c
index 2f6c87e06..c5e3f02f5 100644
--- a/sys/src/games/doom/d_main.c
+++ b/sys/src/games/doom/d_main.c
@@ -398,11 +398,8 @@ void D_DoomLoop (void)
// Sound mixing for the buffer is snychronous.
I_UpdateSound();
- // Synchronous sound output is explicitly called.
-#ifndef SNDINTR
// Update sound output.
I_SubmitSound();
-#endif
}
}
@@ -725,8 +722,8 @@ void FindResponseFile (void)
//
void D_DoomMain (void)
{
- int p;
- char file[256];
+ int p;
+ char file[256];
FindResponseFile ();
@@ -804,16 +801,6 @@ void D_DoomMain (void)
if (devparm)
printf(D_DEVSTR);
- if (M_CheckParm("-cdrom"))
- {
- I_Error("PORTME d_main.c M_CheckParm -cdrom");
-/*
- printf(D_CDROM);
- mkdir("c:\\doomdata",0);
- strcpy (basedefault,"c:/doomdata/default.cfg");
-*/
- }
-
// turbo option
if ( (p=M_CheckParm ("-turbo")) )
{
@@ -1083,10 +1070,7 @@ void D_DoomMain (void)
p = M_CheckParm ("-loadgame");
if (p && p < myargc-1)
{
- if (M_CheckParm("-cdrom"))
- sprintf(file, "c:\\doomdata\\"SAVEGAMENAME"%c.dsg",myargv[p+1][0]);
- else
- sprintf(file, SAVEGAMENAME"%c.dsg",myargv[p+1][0]);
+ sprintf(file, SAVEGAMENAME"%c.dsg",myargv[p+1][0]);
G_LoadGame (file);
}