Fixed sound on first run

This commit is contained in:
pagefault
2002-06-28 23:46:14 +00:00
parent 9d9cfccd8d
commit 75aa21842c
3 changed files with 9 additions and 9 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,cfgsoundon,FirstTimeData
EXTSYM FPSOn,FPSAtStart,cfgsoundon
EXTSYM xa
EXTSYM SBPort,SBInt,SBIrq,SBDMA,SBDMAPage,SBHDMAPage,getenv,vibracard
EXTSYM ram7fa,wramdataa
@@ -69,14 +69,6 @@ NEWSYM zstart
cld ;clear direction flag
%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