Avoid truncating breakpoint address
Use of uint16_t caused the stored breakpoint address to be wrong. However, breakpoints above 64 kiB don't seem to work even with this, so there may also be a FET issue.
This commit is contained in:
parent
d0b0b04cef
commit
dd2c6d997c
|
@ -20,7 +20,7 @@
|
|||
|
||||
device_t device_default;
|
||||
|
||||
static int addbrk(device_t dev, uint16_t addr, device_bptype_t type)
|
||||
static int addbrk(device_t dev, address_t addr, device_bptype_t type)
|
||||
{
|
||||
int i;
|
||||
int which = -1;
|
||||
|
@ -48,7 +48,7 @@ static int addbrk(device_t dev, uint16_t addr, device_bptype_t type)
|
|||
return which;
|
||||
}
|
||||
|
||||
static void delbrk(device_t dev, uint16_t addr, device_bptype_t type)
|
||||
static void delbrk(device_t dev, address_t addr, device_bptype_t type)
|
||||
{
|
||||
int i;
|
||||
|
||||
|
|
Loading…
Reference in New Issue