mirror of
https://github.com/digarok/gsplus.git
synced 2024-05-28 13:41:31 +00:00
- tweak ^D newlins
- %d was incorrect - template pointers were 16-bit.
This commit is contained in:
parent
d7a92f4441
commit
7aea2e56f2
|
@ -1244,7 +1244,7 @@ static int parse_command(const char *cp) {
|
|||
goto indir;
|
||||
}
|
||||
"%d" {
|
||||
addr = engine.dbank;
|
||||
addr = engine.direct;
|
||||
has_addr = 1;
|
||||
has_bank = 1;
|
||||
goto indir;
|
||||
|
@ -1471,10 +1471,9 @@ int debug_shell(int code) {
|
|||
for(;;) {
|
||||
cp = x_readline("> ");
|
||||
if (!cp) {
|
||||
if (++control_d_count < 2) {
|
||||
fputs("\n", stdout);
|
||||
fputs("\n", stdout);
|
||||
if (++control_d_count < 2)
|
||||
continue;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
control_d_count = 0;
|
||||
|
|
|
@ -338,7 +338,7 @@ word32 debug_apply_template(word32 address, const char *name) {
|
|||
case 5: /* cstring */
|
||||
case 6: /* pstring */
|
||||
case 7: /* gs/os string */
|
||||
value = get_memory16_c(address, 0);
|
||||
value = get_memory24_c(address, 0);
|
||||
address += 4;
|
||||
printf("%08x ", value);
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue
Block a user