SameBoy | Accurate GB/GBC emulator |
| download: https://git.y1.nz/archives/sameboy.tar.gz | |
| README | Files | Log | Refs | LICENSE |
commit aedb3e233287d377742041ee22c4f4106570ec5f parent 048da6e6d16fed2fecdf7e94142a78320e630134 Author: Lior Halphon <LIJI32@gmail.com> Date: Sun, 30 Jul 2023 14:21:41 +0300 Fix GB_debugger_evaluate not correctly returning the bank Diffstat:
| M | Core/debugger.c | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Core/debugger.c b/Core/debugger.c @@ -2629,7 +2629,7 @@ bool GB_debugger_evaluate(GB_gameboy_t *gb, const char *string, uint16_t *result *result = value.value; } if (result_bank) { - *result_bank = value.has_bank? value.value : -1; + *result_bank = value.has_bank? value.bank : -1; } return error; }
This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.