mirror of
https://github.com/GearsProgress/Poke_Transporter_GB.git
synced 2026-05-11 14:35:23 -05:00
This allows us to log to mgba's logging window. It will be very useful to debug issues. But we only allow enabling this for debug builds for license reasons. |
||
|---|---|---|
| .. | ||
| LICENSE | ||
| mgba.h | ||
| README.md | ||
Usage of libmgba in Poke_Transporter_GB
Libmgba has been copied from https://github.com/mgba-emu/mgba/tree/master/opt/libgba
It offers a way to push debug logging to the MGBA emulator. This is useful during development.
While we are using libmgba in Poke_Transporter_GB for debugging purposes, we have taken special care that the code doesn't end up in an actual release build. (static assert) Only debug builds can include libmgba into Poke_Transporter_GB. However, these shouldn't end up in end-users hands.