Command-line savestate fix [StatMat]

This commit is contained in:
pagefault
2002-09-13 23:32:56 +00:00
parent e7ecbec23f
commit 271c835ed9
5 changed files with 98 additions and 22 deletions

View File

@@ -42,6 +42,10 @@ extern unsigned char Palette0, SPC700sh, OffBy1Line, DSPDisable,
NetChatFirst,NetServer,NetNewNick,
NetFilename,CmdLineTCPIPAddress,NetQuitAfter,UDPConfig,
CmdLineNetPlay;
// FIX STATMAT
extern unsigned char autoloadstate;
// FIX STATMAT
void ccmdline(void);
@@ -597,7 +601,15 @@ int pccmdline(void)
}
case 'z':
{
StereoSound=1;
// FIX STATMAT
if(nn == 's')
{
if(!hasroom) return 4;
autoloadstate=my_atoi(argv[p+1]) + 1;
p++;
}
else StereoSound=1;
// FIX STATMAT
break;
}
case 'd':