remove romio.c dependance on x48_resources.h
This commit is contained in:
parent
ce0f111f7d
commit
b6871767a7
2 changed files with 7 additions and 4 deletions
|
@ -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 );
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
#include <unistd.h>
|
||||
#include <sys/stat.h>
|
||||
|
||||
#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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue