Search
lxdream.org :: lxdream/src/gui/debug_win.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/gui/debug_win.c
changeset 14:fc481a638848
prev11:0a82ef380c45
next26:ad258e3daaa5
author nkeynes
date Mon Dec 12 10:37:41 2005 +0000 (15 years ago)
permissions -rw-r--r--
last change Use cpu-specific is_valid_page function
file annotate diff log raw
1.1 --- a/src/gui/debug_win.c Sun Dec 11 12:00:09 2005 +0000
1.2 +++ b/src/gui/debug_win.c Mon Dec 12 10:37:41 2005 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: debug_win.c,v 1.5 2005-12-11 12:00:03 nkeynes Exp $
1.6 + * $Id: debug_win.c,v 1.6 2005-12-12 10:37:36 nkeynes Exp $
1.7 * This file is responsible for the main debugger gui frame.
1.8 *
1.9 * Copyright (c) 2005 Nathan Keynes.
1.10 @@ -142,7 +142,7 @@
1.11 sprintf( addr, "%08X", from );
1.12 gtk_entry_set_text( data->page_field, addr );
1.13
1.14 - if( !mem_has_page( from ) ) {
1.15 + if( !data->cpu->is_valid_page_func( from ) ) {
1.16 arr[3] = "This page is currently unmapped";
1.17 gtk_clist_append( data->disasm_list, arr );
1.18 gtk_clist_set_foreground( data->disasm_list, 0, &clrError );
.