Moved grayscale toggle code from C to ASM; enabled grayscale toggle in dos port

This commit is contained in:
pagefault
2001-07-29 23:53:50 +00:00
parent aab72c94a0
commit 818539feae
7 changed files with 22 additions and 18 deletions

View File

@@ -54,6 +54,7 @@ EXTSYM DOSJoyRead
EXTSYM pl1contrl,pl2contrl,pl3contrl,pl4contrl,pl5contrl
EXTSYM BufferSizeW,BufferSizeB,ProcessSoundBuffer
EXTSYM TCPIPPortNum
EXTSYM V8Mode,GrayscaleMode
; EXTSYM InitTCP
; EXTSYM StartServer
; EXTSYM InitTCP
@@ -753,6 +754,13 @@ NEWSYM InitPreGame ; Executes before starting/continuing a game
jc near interror
mov [oldhand8s],cx
mov [oldhand8o],edx
mov al,[GrayscaleMode]
cmp al,[V8Mode]
je .nochangemode
xor byte[V8Mode],1
.nochangemode
.nofs
cmp byte[NoSoundReinit],1
je .nosound