filename | src/loader.c |
changeset | 27:1ef09a52cd1e |
prev | 26:ad258e3daaa5 |
next | 88:0a1bd43fa4ad |
author | nkeynes |
date | Sun Dec 25 01:28:39 2005 +0000 (18 years ago) |
permissions | -rw-r--r-- |
last change | Refactor all the GUI bits out of the main directory (except for a couple lingering temporarily in loader.c Fix a few timeslice issues |
file | annotate | diff | log | raw |
1.1 --- a/src/loader.c Sat Dec 24 08:02:18 2005 +00001.2 +++ b/src/loader.c Sun Dec 25 01:28:39 2005 +00001.3 @@ -1,5 +1,5 @@1.4 /**1.5 - * $Id: loader.c,v 1.7 2005-12-24 08:02:14 nkeynes Exp $1.6 + * $Id: loader.c,v 1.8 2005-12-25 01:28:36 nkeynes Exp $1.7 *1.8 * File loading routines, mostly for loading demos without going through the1.9 * whole procedure of making a CD image for them.1.10 @@ -76,9 +76,7 @@1.11 read( fd, load, BOOTSTRAP_SIZE );1.12 bootstrap_dump( load );1.13 sh4_set_pc( BOOTSTRAP_LOAD_ADDR + 0x300 );1.14 - set_disassembly_region( main_debug, BOOTSTRAP_LOAD_ADDR );1.15 - set_disassembly_pc( main_debug, sh4r.pc, TRUE );1.16 - update_gui();1.17 + gtk_gui_update();1.18 } else {1.19 /* look for a valid ISO9660 header */1.20 lseek( fd, 32768, SEEK_SET );1.21 @@ -103,7 +101,5 @@1.22 int file_load_binary( const gchar *filename ) {1.23 mem_load_block( filename, BINARY_LOAD_ADDR, -1 );1.24 sh4_set_pc( BINARY_LOAD_ADDR );1.25 - set_disassembly_region( main_debug, BINARY_LOAD_ADDR );1.26 - set_disassembly_pc( main_debug, sh4r.pc, TRUE );1.27 - update_gui();1.28 + gtk_gui_update();1.29 }
.