Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Button A (reset) in the exception handler console doesn't work #8

Closed
shazz opened this issue May 14, 2022 · 1 comment
Closed

Button A (reset) in the exception handler console doesn't work #8

shazz opened this issue May 14, 2022 · 1 comment

Comments

@shazz
Copy link

shazz commented May 14, 2022

As discussed, when entering in the exception handler console, when pushing A, it writes Reset to the console then program is stuck.

Notes:

  • using Z to reload works
  • printing the different options would be nice
@HTV04
Copy link

HTV04 commented May 31, 2022

This code may be of interest:

libogc2/libogc/exception.c

Lines 213 to 229 in 83bd94f

if( (buttonsDown & PAD_TRIGGER_Z) || SYS_ResetButtonDown() ||
reload_timer == 0 )
{
kprintf("\n\tReload\n\n\n");
_CPU_ISR_Disable(level);
__reload ();
}
if ( buttonsDown & PAD_BUTTON_A )
{
kprintf("\n\tReset\n\n\n");
#if defined(HW_DOL)
SYS_ResetSystem(SYS_HOTRESET,0,FALSE);
#else
__reload ();
#endif
}

Note how pressing Z calls __reload() on both the Wii and the GameCube, while pressing A calls SYS_ResetSystem on the GameCube only, while on the Wii __reload() is still called.

So for some reason SYS_ResetSystem isn't working, I would think.

@Extrems Extrems closed this as completed Feb 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants