Plutonium
Plutonium copied to clipboard
Possible Bug: more than one button held at a time.
Firstly I am not sure if this is a bug or not but the following causes an app to crash:
if (((Down & HidNpadButton_B) || ((Held & HidNpadButton_L) && ( Held & HidNpadButton_R))) && mainApp->IsShown())
If changed to Down, it doesn't crash: if (((Down & HidNpadButton_B) || ((Down & HidNpadButton_L) && ( Down & HidNpadButton_R))) && mainApp->IsShown())
If you hold 2 "Held" buttons at a time using the above the app crashes, to get around it I had to do this:
if (((Down & HidNpadButton_B) || ((Held & HidNpadButton_L) && ( Down & HidNpadButton_R)) || ((Down & HidNpadButton_L) && ( Held & HidNpadButton_R))) && mainApp->IsShown())
That way I could hold both buttons and it would work, Is this a bug or am I just being stupid?