Begin work of socket server for automation

This commit is contained in:
pagefault
2004-10-13 18:16:36 +00:00
parent d0db70d50b
commit 4b474dcd53
3 changed files with 40 additions and 3 deletions

View File

@@ -226,6 +226,7 @@ int main (int argc, char *argv[]) {
/* disables GUI */
case 'm': {
printf("Hello the gui should now be off.");
guioff = 1;
break;
}
@@ -316,14 +317,16 @@ int main (int argc, char *argv[]) {
}
case 'z': {
printf("\nDebugger not implemented for Linux version!\n");
// FIX STATMAT
if(*(argv[p]+1) == 's')
if((argv[p+1]) == 's')
{
// if(!hasroom) return 4;
autoloadstate=my_atoi(argv[p+1]) + 1;
p++;
// autoloadstate=my_atoi(argv[p+1]) + 1;
// p++;
}
else StereoSound=1;
// FIX STATMAT
break;
}