remove romio.c dependance on x48_resources.h

This commit is contained in:
Gwenhael Le Moine 2023-05-10 15:33:07 +02:00
parent ce0f111f7d
commit b6871767a7
No known key found for this signature in database
GPG key ID: FDFE3669426707A7
2 changed files with 7 additions and 4 deletions

View file

@ -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 );

View file

@ -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;
}