diff options
author | cinap_lenrek <cinap_lenrek@localhost> | 2011-05-26 23:30:17 +0000 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@localhost> | 2011-05-26 23:30:17 +0000 |
commit | ec4bcbd01f73873a97a7d089e2f2de260db243d5 (patch) | |
tree | 47475764be4ec3b20caf7941ea52ca4b49e63f8a /sys/src/games/doom/i_main.c | |
parent | 269e63406d8d9fe79351849ca5c225f7dd3024d1 (diff) |
rio: disable cons if /dev/kbd is open, add games/doom
Diffstat (limited to 'sys/src/games/doom/i_main.c')
-rw-r--r-- | sys/src/games/doom/i_main.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/sys/src/games/doom/i_main.c b/sys/src/games/doom/i_main.c new file mode 100644 index 000000000..cce402a34 --- /dev/null +++ b/sys/src/games/doom/i_main.c @@ -0,0 +1,13 @@ +/* i_main.c */ + +#include "doomdef.h" +#include "m_argv.h" +#include "d_main.h" + +void threadmain(int argc, char **argv) +{ + myargc = argc; + myargv = argv; + D_DoomMain (); + threadexitsall(nil); +} |