gbdk-2020 | GameBoy Development Kit |
| download: https://git.y1.nz/archives/gbdk.tar.gz | |
| README | Files | Log | Refs | LICENSE |
commit 7537c2cf15458483693fcd888311fa04d7af8f5a parent dbd89c5ae8b9847f80a88c4771f9c9fa9addbea3 Author: Toxa <untoxa@mail.ru> Date: Wed, 15 Sep 2021 18:06:11 +0300 bgb_emu.h add BGB_BREAKPOINT macro Diffstat:
| M | gbdk-lib/include/gb/bgb_emu.h | 4 | ++++ |
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/gbdk-lib/include/gb/bgb_emu.h b/gbdk-lib/include/gb/bgb_emu.h @@ -145,4 +145,8 @@ void BGB_printf(const char *format, ...) OLDCALL; static void * __BGB_PROFILER_INIT = &BGB_profiler_message; +/** BGB will break into debugger when encounters this line + */ +#define BGB_BREAKPOINT __asm__("ld b, b"); + #endif
This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.