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:
Peter A. Bigot 2012-06-12 05:48:08 -05:00 committed by Daniel Beer
parent d0b0b04cef
commit dd2c6d997c
1 changed files with 2 additions and 2 deletions

View File

@ -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;