Fixed sound option saving

This commit is contained in:
pagefault
2001-10-30 22:30:40 +00:00
parent 9b3b12c3be
commit a94c268dc8
4 changed files with 10 additions and 12 deletions

View File

@@ -21,7 +21,7 @@ EXTSYM getcfg,soundon,SBHDMA,StereoSound,init,GUIRestoreVars,GUIClick,MouseDis
EXTSYM ConvertJoyMap,ConvertJoyMap1,ConvertJoyMap2,printhex,InitSPC
EXTSYM StartUp,PrintStr,WaitForKey,PrintChar,ZFileSystemInit
EXTSYM SPCDisable,SystemInit,allocmem
EXTSYM FPSOn,FPSAtStart
EXTSYM FPSOn,FPSAtStart,cfgsoundon,FirstTimeData
EXTSYM xa
EXTSYM SBPort,SBInt,SBIrq,SBDMA,SBDMAPage,SBHDMAPage,getenv,vibracard
EXTSYM ram7fa,wramdataa
@@ -90,6 +90,14 @@ NEWSYM zstart
xor eax,eax
.nocmdlinenetplay
%ifndef __MSDOS__
cmp byte[FirstTimeData],1
je .nofirsttime
mov byte[soundon],1
mov byte[cfgsoundon],1
.nofirsttime
%endif
call setnoise
call InitSPC
call allocmem ;allocate memory