mirror of
https://github.com/GearsProgress/Poke_Transporter_GB.git
synced 2026-05-14 00:10:13 -05:00
va args passing was broken in my initial implementation, causing garbage values to get printed whenever you try to print an actual argument. Moreover, I also had a bug in the PTGB_MGBA_XYZ macros. Sorry, I should've tested it with actual arguments. |
||
|---|---|---|
| .. | ||
| 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.