diff --git a/src/glue.prorwts2.a b/src/glue.prorwts2.a index e90feefcb..e45085870 100644 --- a/src/glue.prorwts2.a +++ b/src/glue.prorwts2.a @@ -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 diff --git a/src/ui.attract.shr.a b/src/ui.attract.shr.a index 1643b3c00..44fb00352 100644 --- a/src/ui.attract.shr.a +++ b/src/ui.attract.shr.a @@ -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 ;------------------------------------------------------------------------------