GB_debugger_break is for external APIs, not available on libretro builds

This commit is contained in:
Lior Halphon 2020-05-31 01:01:06 +03:00
parent 5f4aee8ca1
commit 97e844a0b7
1 changed files with 1 additions and 2 deletions

View File

@ -1,7 +1,6 @@
#include <stdio.h>
#include <stdbool.h>
#include <assert.h>
#include "debugger.h"
#include "gb.h"
@ -794,7 +793,7 @@ LD_X_Y(a,b) LD_X_Y(a,c) LD_X_Y(a,d) LD_X_Y(a,e) LD_X_Y(a,h) LD_X_Y(a,l) LD_X_DHL
static void ld_b_b(GB_gameboy_t *gb, uint8_t opcode)
{
if (gb->has_software_breakpoints) {
GB_debugger_break(gb);
gb->debug_stopped = true;
}
}