From 4d50a6b717e029b2e17102c958bc63b4bbaa1611 Mon Sep 17 00:00:00 2001 From: 4am Date: Tue, 17 Apr 2018 15:53:09 -0400 Subject: [PATCH] . --- src/ui.common.a | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ui.common.a b/src/ui.common.a index b91fe1a..80f26a1 100644 --- a/src/ui.common.a +++ b/src/ui.common.a @@ -32,15 +32,15 @@ kStringCancel ; internal state and callbacks and so on) then calling WeeGUI WGResetAll method ; ; in: WeeGUI initialized -; out: $00/$01 clobbered +; out: PARAM0/PARAM1 clobbered ; all registers clobbered ;------------------------------------------------------------------------------ HardResetWeeGUI lda #15 ; highest possible WeeGUI view ID sta kHardResetDummyView -.hardResetLoop +LDAY kHardResetDummyView +STAY PARAM0 +.hardResetLoop ldx #WGCreateView jsr WeeGUI ; create dummy views to reset state on all views dec kHardResetDummyView