Repository navigation
Conversation
|
personally i feel like this'd fit better outside of libogc, as an external library that can be used in place of the default crash handler |
|
I don't think that the feature is worth the memory it takes away from the application. And why not just take a photo of the screen? |
|
I am of the same opinion. The feature is cool, however the code size/memory usage costs every single application built with libogc would need to pay seem too high. I think this is better suited as a third party library. @DacoTaco any thoughts? |
|
Okay, I see what you mean. I actually hadn’t thought about the increased memory usage either. I also wasn’t aware that you could replace the panic handler. It makes perfect sense that this is possible; it just didn’t occur to me, so I never looked into the code. Regarding the idea of making this into a library: How about if I rewrite the code so that it’s a separate statically linked library in the libogc repository? Then developers would still have to use a linker flag to enable the feature. That would address your concerns about memory usage. Plus, it would give us a place to add other panic handler features without making them mandatory for every binary. |
Adds a QR view to the Wii and GameCube panic screen so users can scan and copy crash reports with a phone. The text view still opens first by default. Applications can choose the initial view with SYS_SetPanicDefaultView().
Tap RESET or press GameCube controller Y to switch views. Hold RESET or press Z to reload. Without input, the views alternate every 15 seconds so both are accessible on Wii mini.
Both platform builds passed. QR output was verified on real Wii hardware and because I only have a Wii, I tested the rest in Dolphin.