Remove old dead debug_psytron code.

git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2830 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
Meep-Eep
2007-08-03 13:55:11 +00:00
parent 898141daa7
commit b6f13049b3
+2 -13
View File
@@ -96,15 +96,13 @@ BackgroundInitKernel (DWORD TimeOut)
}
}
#define DEBUG_PSYTRON 0
/* TODO: Remove these declarations once threading is gone. */
extern int snddriver, soundflags;
int
Starcon2Main (void *threadArg)
{
#if DEBUG_PSYTRON || CREATE_JOURNAL
#if CREATE_JOURNAL
{
int ac = argc;
char **av = argv;
@@ -116,15 +114,6 @@ while (--ac > 0)
{
switch ((*av)[1])
{
#ifdef DEBUG_PSYTRON
case 'd':
{
extern BYTE debug_psytron;
debug_psytron = atoi (&(*av)[2]);
break;
}
#endif //DEBUG_PSYTRON
#if CREATE_JOURNAL
case 'j':
++create_journal;
@@ -134,7 +123,7 @@ while (--ac > 0)
}
}
}
#endif //DEBUG_PSYTRON || CREATE_JOURNAL
#endif // CREATE_JOURNAL
/* TODO: Put initAudio back in main where it belongs once threading
* is gone.