Fixed sound option saving
This commit is contained in:
@@ -2162,6 +2162,10 @@ NEWSYM StartGUI
|
||||
jne .nofirsttime
|
||||
call guifirsttimemsg
|
||||
mov byte[FirstTimeData],1
|
||||
%ifndef __MSDOS__
|
||||
mov byte[soundon],1
|
||||
mov byte[cfgsoundon],1
|
||||
%endif
|
||||
.nofirsttime
|
||||
cmp dword[GUICTimer],0
|
||||
je .notimer
|
||||
|
||||
@@ -200,8 +200,6 @@ NEWSYM SystemInit
|
||||
%endif
|
||||
|
||||
mov byte[spcon],1
|
||||
mov byte[soundon],1
|
||||
mov byte[cfgsoundon],1
|
||||
|
||||
; Get and set the initial directory
|
||||
%ifdef __LINUX__
|
||||
|
||||
@@ -92,9 +92,6 @@ NEWSYM zstart
|
||||
|
||||
call setnoise
|
||||
call InitSPC
|
||||
%ifndef __MSDOS__
|
||||
mov byte[soundon],1
|
||||
%endif
|
||||
call allocmem ;allocate memory
|
||||
|
||||
cmp byte[soundon],0
|
||||
|
||||
@@ -191,8 +191,6 @@ NEWSYM SystemInit
|
||||
mov byte[esi+12+256],0
|
||||
|
||||
mov byte[spcon],1
|
||||
mov byte[soundon],1
|
||||
mov byte[cfgsoundon],1
|
||||
|
||||
; Get and set the initial directory
|
||||
mov ebx,InitDir
|
||||
|
||||
Reference in New Issue
Block a user