Skip to content
This repository has been archived by the owner on Jul 28, 2024. It is now read-only.

Commit

Permalink
fix crash exiting easter eggs accessed from WAIT scene
Browse files Browse the repository at this point in the history
  • Loading branch information
BlueChip committed Jan 10, 2023
1 parent 70314c0 commit c896ce1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions wii_anal_keys.c
Original file line number Diff line number Diff line change
Expand Up @@ -100,12 +100,14 @@ bool wait_key (const eventMsg_t* const msg, state_t* const state)
if (msg->input.type == InputTypeShort) {
switch (msg->input.key) {
case InputKeyLeft: //# <L [ SHORT-LEFT ]
sceneSet(state, SCENE_SPLASH);
timerEn(state, false); // Stop the timer
sceneSetEgg(state, SCENE_SPLASH);
used = true;
break;

case InputKeyUp: //# <U [ SHORT-UP ]
sceneSet(state, SCENE_RIP);
timerEn(state, false); // Stop the timer
sceneSetEgg(state, SCENE_RIP);
used = true;
break;

Expand Down

0 comments on commit c896ce1

Please sign in to comment.