* Added function name logging to mgba_logger * Addendum to no-op defines * Fixed compile errors * Added "()" to function name in log to make it clearer it's a function * Corrected documentation * clang-format...? * Removed MGBA_LOG_LEVEL_MASK magic number * Added CHECK_NULL_ARG macros * clang-format...? * clang-format for real * Added documentation for CHECK_NULL_ARG_VOID and CHECK_NULL_ARG_RET * Fixed typo Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> * Fixed macro safety by wrappinh with do-while Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> * Fixed format string cut risk in mgba_func_printf * clang-format * clang-format some more * clang-format for real * Fixed DEBUG -> INFO in comment Co-authored-by: Rickey <ric@rf3.xyz> * Moved NULL-check macros to util.h and renamed them * Small additions - macro rename + clang-format * Truncate the string instead of the function name * Cleaned up code from previous commit * clang-format * Added mgba_logger_available check to mgba_func_printf * Updated documentation for latest change * Changed CHECK_NULL_ARG functions to generic RETURN_ON_ERROR_VAL functions. * clang-format * Changed back to specifically check NULL * clang-format * Changed "=" into "==" in the error message * clang-format * Fixed forgotten "==" --------- Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> Co-authored-by: Rickey <ric@rf3.xyz>
Balatro-GBA
Disclaimer
This project is a non-profit fan demake of Balatro for the Game Boy Advance, meant to recreate it as accurately as possible including all the visuals that make it satisfying to play. It is not affiliated with or endorsed by Playstack or LocalThunk and it is not to be sold. This version is a minimal tech-demo, intended for those who already own and know the official game. Refer to the Balatro wiki below for descriptions of game mechanics and joker effects. All rights remain with the original holders.
Please buy the official full version from these sources below:
See CONTRIBUTING.md for build instructions for Docker, Linux, MacOS, and Windows.
https://github.com/user-attachments/assets/54a9e2e9-1a02-48d5-bb9d-5ab257a7e03b
Controls:
(A: Pick Card / Make Selection)
(B: Deselect All Cards)
(L: Sell Joker / Play Hand)
(R: Discard Hand)
(Hold A + D-Pad: Move Cards and Jokers in Hand)
(Hold B: Display Joker Description Shop Only)
Contributing
If you would like to contribute, please read CONTRIBUTING.md.
Credits:
Game
This GBA implementation is based on Balatro which is designed and created by LocalThunk and published by Playstack. See repository contributors list for code contribution credits to this GBA implementation.
Music
Music arrangement is made by @cellos51 and @MeirGavish based on original Balatro soundtrack by LouisF and transcription by MrCrimit.
Imagery
Sprites and backgrounds are based on original Balatro imagery created by LocalThunk. See Joker Art Discussion for full credits for each joker sprite.
Sounds
For the mult and xmult sound effects: Toy records#06-E3-02.wav by poissonmort used under License: Attribution 4.0
All other sound effects were created by LocalThunk and are used under Creative Commons - CC0 license.