diff options
Diffstat (limited to 'src/mame/machine/thomson.cpp')
-rw-r--r-- | src/mame/machine/thomson.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/machine/thomson.cpp b/src/mame/machine/thomson.cpp index a6b6e7848dd..b1c7d004b2c 100644 --- a/src/mame/machine/thomson.cpp +++ b/src/mame/machine/thomson.cpp @@ -363,7 +363,7 @@ DEVICE_IMAGE_LOAD_MEMBER( thomson_state, to7_cartridge ) offs_t size; char name[129]; - if (image.software_entry() == nullptr) + if (!image.loaded_through_softlist()) size = image.length(); else size = image.get_software_region_length("rom"); @@ -383,7 +383,7 @@ DEVICE_IMAGE_LOAD_MEMBER( thomson_state, to7_cartridge ) return image_init_result::FAIL; } - if (image.software_entry() == nullptr) + if (!image.loaded_through_softlist()) { if ( image.fread( pos, size ) != size ) { @@ -1473,7 +1473,7 @@ DEVICE_IMAGE_LOAD_MEMBER( thomson_state, mo5_cartridge ) int j; char name[129]; - if (image.software_entry() == nullptr) + if (!image.loaded_through_softlist()) size = image.length(); else size = image.get_software_region_length("rom"); @@ -1493,7 +1493,7 @@ DEVICE_IMAGE_LOAD_MEMBER( thomson_state, mo5_cartridge ) return image_init_result::FAIL; } - if (image.software_entry() == nullptr) + if (!image.loaded_through_softlist()) { if ( image.fread(pos, size ) != size ) { |