natinusala / borealis

Hardware accelerated, controller and TV oriented UI library for PC and Nintendo Switch (libnx)
Apache License 2.0
257 stars 81 forks source link

Make the devide by 0 button actually devide by 0 #87

Closed ghost closed 3 years ago

ghost commented 3 years ago

Currently when you press the divide by 0 there is no actual division taking place: there is just a call to an artificial crash. I fixed it so there is an actual division taking place and the answer is displayed in a notification just in case it succeeds.

natinusala commented 3 years ago

Is... Is this a serious submission?

The button is to showcase the fake "crash" dialog

ghost commented 3 years ago

Kinda serous, would you like me to make PozzNX also functional :-) ? If it was to showcase the error popup I will close the pull request.

natinusala commented 3 years ago

The new demo will have actual showcases with meaningful buttons instead of memes like the current example.