mirror of
https://github.com/a2-4am/4cade.git
synced 2025-01-12 14:30:29 +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
|
||||
; out: all flags 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
|
||||
;------------------------------------------------------------------------------
|
||||
LoadFile
|
||||
|
@ -31,12 +31,14 @@ SHRArtworkSlideshow
|
||||
; $A000..$BFFF/main contains transition effect code
|
||||
;------------------------------------------------------------------------------
|
||||
LoadSHRTransition
|
||||
jsr LoadFile
|
||||
!word kSFXFizzleFile
|
||||
+LDADDR kSFXFizzleFile
|
||||
+STAY @file
|
||||
+LOAD_FILE kFXDirectory, @file
|
||||
rts
|
||||
@file !word $FDFD
|
||||
kSFXFizzleFile
|
||||
!byte @kSFXFizzleFile_e-*-1
|
||||
!text "FX/SHR.FIZZLE"
|
||||
!text "SHR.FIZZLE"
|
||||
@kSFXFizzleFile_e
|
||||
|
||||
;------------------------------------------------------------------------------
|
||||
|
Loading…
x
Reference in New Issue
Block a user