From 36683d7d45bf0e8b1f8fa76210c39af2e747649a Mon Sep 17 00:00:00 2001 From: pagefault <> Date: Sat, 1 May 2004 04:11:00 +0000 Subject: [PATCH] Yet more netplay fixes --- zsnes/src/cpu/execute.asm | 25 +++++++++++-------------- 1 file changed, 11 insertions(+), 14 deletions(-) diff --git a/zsnes/src/cpu/execute.asm b/zsnes/src/cpu/execute.asm index 2a28b7b0..69989f19 100644 --- a/zsnes/src/cpu/execute.asm +++ b/zsnes/src/cpu/execute.asm @@ -2240,23 +2240,20 @@ NEWSYM handler9h iretd %endif -SECTION .bss ;ALIGN=32 -NEWSYM soundcycleft, resd 1 -NEWSYM curexecstate, resd 1 +SECTION .data ;ALIGN=32 +NEWSYM soundcycleft, dd 0 +NEWSYM curexecstate, dd 0 -NEWSYM nmiprevaddrl, resd 1 ; observed address -5 -NEWSYM nmiprevaddrh, resd 1 ; observed address +5 -NEWSYM nmirept, resd 1 ; NMI repeat check, if 6 then okay - -SECTION .data +NEWSYM nmiprevaddrl, dd 0 ; observed address -5 +NEWSYM nmiprevaddrh, dd 0 ; observed address +5 +NEWSYM nmirept, dd 0 ; NMI repeat check, if 6 then okay NEWSYM nmiprevline, dd 224 ; previous line - -SECTION .bss -NEWSYM nmistatus, resd 1 ; 0 = none, 1 = waiting for nmi location, +NEWSYM nmistatus, dd 0 ; 0 = none, 1 = waiting for nmi location, ; 2 = found, disable at next line -NEWSYM joycontren, resd 1 ; joystick read control check -NEWSYM NextLineCache, resb 1 -NEWSYM NetQuit, resb 1 +NEWSYM joycontren, dd 0 ; joystick read control check +NEWSYM NextLineCache, db 0 +NEWSYM NetQuit, db 0 + SECTION .text Donextlinecache: