From: hgn Date: Tue, 13 Jun 2023 12:03:26 +0000 (+0100) Subject: fixes silly bug X-Git-Url: https://harrygodden.com/git/?a=commitdiff_plain;h=9c915fa64d52d8ecfcb6c2a892829f2419dea8a1;hp=b1d22bbb87583cea9fde7620eb1fc16189be5113;p=carveJwlIkooP6JGAAIwe30JlM.git fixes silly bug --- diff --git a/ent_skateshop.c b/ent_skateshop.c index 2957c8f..39dec86 100644 --- a/ent_skateshop.c +++ b/ent_skateshop.c @@ -447,6 +447,8 @@ VG_STATIC void global_skateshop_preupdate(void) /* input */ if( shop->type == k_skateshop_type_boardshop ){ + if( skaterift.async_op != k_async_op_none ) return; + gui_helper_action( axis_display_string( k_sraxis_mbrowse_h ), "browse" ); gui_helper_action( button_display_string( k_srbind_mback ), "exit" ); @@ -459,6 +461,8 @@ VG_STATIC void global_skateshop_preupdate(void) /* * Controls * ---------------------- + * + * TODO: Crash if switch page too quick, delist browse if loading.... */ u32 opage = global_skateshop.selected_board_id/SKATESHOP_VIEW_SLOT_MAX;