Prevented netplay from connecting after a game is loaded to prevent sync problems.

This commit is contained in:
zsknight
2001-05-01 00:43:54 +00:00
parent afe7d471bb
commit 0de3d2327c
2 changed files with 16 additions and 6 deletions

View File

@@ -116,9 +116,7 @@ EXTSYM cpucycle,debstop,switchtovirqdeb,debstop3,switchtonmideb
EXTSYM ReadSPC7110log,WriteSPC7110log EXTSYM ReadSPC7110log,WriteSPC7110log
NEWSYM ExecuteAsmStart NEWSYM ExecuteAsmStart
EXTSYM NetPlayNoMore
%macro BackupCVMacM 2 %macro BackupCVMacM 2
@@ -1031,6 +1029,7 @@ NEWSYM continueprog
inc esi inc esi
loop .loopa loop .loopa
call InitPreGame call InitPreGame
; Incorrect ; Incorrect
@@ -1148,6 +1147,7 @@ reexecuteb2:
mov byte[NoSoundReinit],0 mov byte[NoSoundReinit],0
mov byte[csounddisable],0 mov byte[csounddisable],0
mov byte[NextNGDisplay],0 mov byte[NextNGDisplay],0
mov byte[NetPlayNoMore],1
call splitflags call splitflags
@@ -1281,6 +1281,15 @@ NEWSYM endprog
mov ebx,SRAMDir mov ebx,SRAMDir
call Change_Dir call Change_Dir
; mov edx,.blah
; call Create_File
; mov bx,ax
; EXTSYM DSPFuncUsed
; mov edx,DSPFuncUsed
; mov ecx,256
; call Write_File
; call Close_File
cmp byte[sramsavedis],1 cmp byte[sramsavedis],1
je .nosram je .nosram
cmp dword[ramsize],0 cmp dword[ramsize],0
@@ -1381,6 +1390,7 @@ NEWSYM endprog
call deinitipx call deinitipx
.nodeinitipx .nodeinitipx
jmp OSExit jmp OSExit
.blah db 'dsptrace.dat',0
NEWSYM interror NEWSYM interror
stim stim
@@ -4325,7 +4335,7 @@ NEWSYM execsingle
jne .nointrset jne .nointrset
mov byte[intrset],2 mov byte[intrset],2
.nointrset .nointrset
; mov byte[debstop3],1 mov byte[debstop3],1
jmp switchtonmideb jmp switchtonmideb
.nonmi .nonmi
cmp byte[intrset],1 cmp byte[intrset],1
@@ -4381,7 +4391,7 @@ NEWSYM execsingle
jne .nointrset2 jne .nointrset2
mov byte[intrset],2 mov byte[intrset],2
.nointrset2 .nointrset2
; mov byte[debstop3],1 mov byte[debstop3],1
jmp switchtovirqdeb jmp switchtovirqdeb

View File

@@ -622,7 +622,7 @@ keycontrolval dd 0
NEWSYM ShowTimer, db 0 NEWSYM ShowTimer, db 0
NEWSYM MousePRClick, db 0 NEWSYM MousePRClick, db 0
NEWSYM MouseDis, db 0 NEWSYM MouseDis, db 0
NetPlayNoMore db 0 NEWSYM NetPlayNoMore, db 0
RestoreValues db 0 RestoreValues db 0
NEWSYM NetChatFirst, db 0 NEWSYM NetChatFirst, db 0
NEWSYM NetServer, db 0 NEWSYM NetServer, db 0