Fixed sound option saving

This commit is contained in:
pagefault
2001-10-30 22:08:26 +00:00
parent 54d9e71c72
commit 9b3b12c3be
4 changed files with 4 additions and 7 deletions

View File

@@ -2162,6 +2162,10 @@ NEWSYM StartGUI
jne .nofirsttime jne .nofirsttime
call guifirsttimemsg call guifirsttimemsg
mov byte[FirstTimeData],1 mov byte[FirstTimeData],1
%ifndef __MSDOS__
mov byte[soundon],1
mov byte[cfgsoundon],1
%endif
.nofirsttime .nofirsttime
cmp dword[GUICTimer],0 cmp dword[GUICTimer],0
je .notimer je .notimer

View File

@@ -200,8 +200,6 @@ NEWSYM SystemInit
%endif %endif
mov byte[spcon],1 mov byte[spcon],1
mov byte[soundon],1
mov byte[cfgsoundon],1
; Get and set the initial directory ; Get and set the initial directory
%ifdef __LINUX__ %ifdef __LINUX__

View File

@@ -92,9 +92,6 @@ NEWSYM zstart
call setnoise call setnoise
call InitSPC call InitSPC
%ifndef __MSDOS__
mov byte[soundon],1
%endif
call allocmem ;allocate memory call allocmem ;allocate memory
cmp byte[soundon],0 cmp byte[soundon],0

View File

@@ -191,8 +191,6 @@ NEWSYM SystemInit
mov byte[esi+12+256],0 mov byte[esi+12+256],0
mov byte[spcon],1 mov byte[spcon],1
mov byte[soundon],1
mov byte[cfgsoundon],1
; Get and set the initial directory ; Get and set the initial directory
mov ebx,InitDir mov ebx,InitDir