Commit Graph

2 Commits

Author SHA1 Message Date
Philippe Symons
58654de02c Fix MGBA logging bug
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.
2026-03-31 16:40:16 +02:00
Philippe Symons
1ee98caa55 Integrate libmgba into PTGB debug builds
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.
2026-03-30 21:06:36 +02:00