mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
platform, fix debug hex dump if char type is signed
This commit is contained in:
parent
d0fc3c63ba
commit
d94eec4446
1 changed files with 2 additions and 2 deletions
|
@ -69,9 +69,9 @@ void host_dasm(void *addr, int len)
|
|||
#else
|
||||
void host_dasm(void *addr, int len)
|
||||
{
|
||||
char *end = (char *)addr + len;
|
||||
uint8_t *end = (uint8_t *)addr + len;
|
||||
char buf[64];
|
||||
char *p = addr;
|
||||
uint8_t *p = addr;
|
||||
int i = 0, o = 0;
|
||||
|
||||
o = snprintf(buf, sizeof(buf), "%p: ", p);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue