diff options
Diffstat (limited to 'src/osd/modules/debugger/win/disasmbasewininfo.c')
-rw-r--r-- | src/osd/modules/debugger/win/disasmbasewininfo.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/osd/modules/debugger/win/disasmbasewininfo.c b/src/osd/modules/debugger/win/disasmbasewininfo.c index c06c6cf1326..783cc8d75fa 100644 --- a/src/osd/modules/debugger/win/disasmbasewininfo.c +++ b/src/osd/modules/debugger/win/disasmbasewininfo.c @@ -195,11 +195,11 @@ bool disasmbasewin_info::handle_command(WPARAM wparam, LPARAM lparam) } else if (dasmview->source_is_visible_cpu()) { - astring command; + std::string command; if (bpindex == -1) - command.printf("bpset 0x%X", address); + strprintf(command, "bpset 0x%X", address); else - command.printf("bpclear 0x%X", bpindex); + strprintf(command, "bpclear 0x%X", bpindex); debug_console_execute_command(machine(), command.c_str(), 1); } } @@ -228,8 +228,8 @@ bool disasmbasewin_info::handle_command(WPARAM wparam, LPARAM lparam) } else if (dasmview->source_is_visible_cpu()) { - astring command; - command.printf(bp->enabled() ? "bpdisable 0x%X" : "bpenable 0x%X", (UINT32)bp->index()); + std::string command; + strprintf(command, bp->enabled() ? "bpdisable 0x%X" : "bpenable 0x%X", (UINT32)bp->index()); debug_console_execute_command(machine(), command.c_str(), 1); } } @@ -242,8 +242,8 @@ bool disasmbasewin_info::handle_command(WPARAM wparam, LPARAM lparam) offs_t const address = dasmview->selected_address(); if (dasmview->source_is_visible_cpu()) { - astring command; - command.printf("go 0x%X", address); + std::string command; + strprintf(command, "go 0x%X", address); debug_console_execute_command(machine(), command.c_str(), 1); } else |