mirror of
https://github.com/a2-4am/4cade.git
synced 2024-06-25 21:29:43 +00:00
fix LoadSHRTransition and document the underlying cause
This commit is contained in:
parent
be5e3fc856
commit
11df6957bc
|
@ -49,6 +49,10 @@ gRootDirectory
|
||||||
; +1 address of filename
|
; +1 address of filename
|
||||||
; out: all flags clobbered
|
; out: all flags clobbered
|
||||||
; all registers clobbered
|
; all registers clobbered
|
||||||
|
; filename clobbered (hey, this is important, you can't call this with
|
||||||
|
; the same filename buffer twice unless you REALLY know what you're
|
||||||
|
; doing, so you should probably use one of the LOAD_* macros which
|
||||||
|
; copies the filename to a temporary buffer)
|
||||||
; stack set to next instruction after parameters
|
; stack set to next instruction after parameters
|
||||||
;------------------------------------------------------------------------------
|
;------------------------------------------------------------------------------
|
||||||
LoadFile
|
LoadFile
|
||||||
|
|
|
@ -31,12 +31,14 @@ SHRArtworkSlideshow
|
||||||
; $A000..$BFFF/main contains transition effect code
|
; $A000..$BFFF/main contains transition effect code
|
||||||
;------------------------------------------------------------------------------
|
;------------------------------------------------------------------------------
|
||||||
LoadSHRTransition
|
LoadSHRTransition
|
||||||
jsr LoadFile
|
+LDADDR kSFXFizzleFile
|
||||||
!word kSFXFizzleFile
|
+STAY @file
|
||||||
|
+LOAD_FILE kFXDirectory, @file
|
||||||
rts
|
rts
|
||||||
|
@file !word $FDFD
|
||||||
kSFXFizzleFile
|
kSFXFizzleFile
|
||||||
!byte @kSFXFizzleFile_e-*-1
|
!byte @kSFXFizzleFile_e-*-1
|
||||||
!text "FX/SHR.FIZZLE"
|
!text "SHR.FIZZLE"
|
||||||
@kSFXFizzleFile_e
|
@kSFXFizzleFile_e
|
||||||
|
|
||||||
;------------------------------------------------------------------------------
|
;------------------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in New Issue
Block a user