Fixed sound option saving
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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__
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user