Fixed state compatibility. Todo: Option for SRAM, Fix Snapshots.

This commit is contained in:
n-a-c-h
2005-01-31 01:26:24 +00:00
parent 9e48536463
commit 16d95da3dc
2 changed files with 54 additions and 23 deletions

View File

@@ -434,7 +434,8 @@ NEWSYM cycpblt2, db 149 ; percentage of CPU/SPC to run
NEWSYM writeon, db 0 ; Write enable/disable on snes rom memory
NEWSYM totlines, dw 263 ; total # of lines
NEWSYM soundon, db 0 ; Current sound enabled (1=enabled)
NEWSYM versn, db 60 ; version #/100
;This is saved in states
NEWSYM curcyc, db 0 ; cycles left in scanline
NEWSYM curypos, dw 0 ; current y position
NEWSYM cacheud, db 1 ; update cache every ? frames
@@ -462,10 +463,15 @@ NEWSYM xirqb, db 0 ; which bank the irqs start at
NEWSYM debugger, db 0 ; Start with debugger (1=yes,0=no)
NEWSYM Curtableaddr, dd 0 ; Current table address
NEWSYM curnmi, db 0 ; if in NMI(1) or not(0)
; pharos - equ hack *sigh*
n65816regsize equ $-curcyc
ALIGN32
NEWSYM cycpbl, dd 110 ; percentage left of CPU/SPC to run (3.58 = 175)
NEWSYM cycpblt, dd 110 ; percentage of CPU/SPC to run
NEWSYM PH65816regsize, dd n65816regsize
; SNES memory map ROM locations
NEWSYM cpuoverptr, dd 0 ; pointer to cpuover