diff options
author | Aaron Giles <aaron@aarongiles.com> | 2008-12-06 17:54:42 +0000 |
---|---|---|
committer | Aaron Giles <aaron@aarongiles.com> | 2008-12-06 17:54:42 +0000 |
commit | d92a2e0c4e5060315ebce8bb26997227940f1662 (patch) | |
tree | 759499aac683a34dd4c3c5cf12406a0ead96e483 /src/osd | |
parent | 4c1762ee26e8ebdcb0b7b22aa191ee4b087ec52b (diff) |
Cleanups/version bump/added missing drivers.mame0128u5
Diffstat (limited to 'src/osd')
-rw-r--r-- | src/osd/windows/debugwin.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/osd/windows/debugwin.c b/src/osd/windows/debugwin.c index a09cb1740ed..519ae59fb6f 100644 --- a/src/osd/windows/debugwin.c +++ b/src/osd/windows/debugwin.c @@ -432,7 +432,7 @@ void debugwin_destroy_windows(void) // loop over windows and free them while (window_list != NULL) { - // clear the view list because they will be freed by the core + // clear the view list because they will be freed by the core memset(window_list->view, 0, sizeof(window_list->view)); DestroyWindow(window_list->wnd); } @@ -1005,7 +1005,7 @@ static void debugwin_view_update(debug_view *view, void *osdprivate) debug_view_xy totalsize, visiblesize, topleft; int show_vscroll, show_hscroll; SCROLLINFO scrollinfo; - + assert(info->view == view); // get the view window bounds @@ -2222,7 +2222,7 @@ static int disasm_handle_command(debugwin_info *info, WPARAM wparam, LPARAM lpar cpu_debug_data *cpuinfo = cpu_get_debug_data(space->cpu); debug_cpu_breakpoint *bp; INT32 bpindex = -1; - + /* first find an existing breakpoint at this address */ for (bp = cpuinfo->bplist; bp != NULL; bp = bp->next) if (address == bp->address) @@ -2230,7 +2230,7 @@ static int disasm_handle_command(debugwin_info *info, WPARAM wparam, LPARAM lpar bpindex = bp->index; break; } - + /* if it doesn't exist, add a new one */ if (bpindex == -1) sprintf(command, "bpset %X", address); @@ -2306,7 +2306,7 @@ static void disasm_update_caption(running_machine *machine, HWND wnd) debugwin_info *info = (debugwin_info *)(FPTR)GetWindowLongPtr(wnd, GWLP_USERDATA); const disasm_subview_item *subview = disasm_view_get_current_subview(info->view[0].view); char title[256]; - + sprintf(title, "Disassembly: %s", subview->name); win_set_window_text_utf8(wnd, title); } |