diff --git a/src/hp48_init.c b/src/hp48_init.c index f4d5c92..a33491d 100644 --- a/src/hp48_init.c +++ b/src/hp48_init.c @@ -389,6 +389,10 @@ int read_rom( const char* fname ) { if ( !read_rom_file( fname, &saturn.rom, &rom_size ) ) return 0; + + if ( verbose ) + printf( "read %s\n", fname ); + dev_memory_init(); if ( opt_gx ) @@ -464,6 +468,9 @@ int read_files( void ) { if ( !read_rom_file( fnam, &saturn.rom, &rom_size ) ) return 0; + if ( verbose ) + printf( "read %s\n", fnam ); + rom_is_new = 0; strcpy( fnam, path ); diff --git a/src/romio.c b/src/romio.c index 009c2e1..931210e 100644 --- a/src/romio.c +++ b/src/romio.c @@ -3,7 +3,6 @@ #include #include -#include "resources.h" #include "romio.h" unsigned int opt_gx = 0; @@ -158,8 +157,5 @@ int read_rom_file( const char* name, unsigned char** mem, unsigned int* size ) { } } - if ( verbose ) - printf( "read %s\n", name ); - return 1; }