diff options
Diffstat (limited to 'src/mame/acorn/atom.cpp')
-rw-r--r-- | src/mame/acorn/atom.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/mame/acorn/atom.cpp b/src/mame/acorn/atom.cpp index d271b7d13f8..9a298a67a20 100644 --- a/src/mame/acorn/atom.cpp +++ b/src/mame/acorn/atom.cpp @@ -118,10 +118,11 @@ Hardware: PPIA 8255 #include "emu.h" #include "atom.h" #include "machine/clock.h" -#include "formats/imageutl.h" #include "screen.h" #include "softlist_dev.h" #include "speaker.h" + +#include "multibyte.h" #include "utf8.h" /*************************************************************************** @@ -158,9 +159,9 @@ QUICKLOAD_LOAD_MEMBER(atom_state::quickload_cb) image.fread(header, 0x16); - uint16_t start_address = pick_integer_le(header, 0x10, 2); - uint16_t run_address = pick_integer_le(header, 0x12, 2); - uint16_t size = pick_integer_le(header, 0x14, 2); + uint16_t start_address = get_u16le(&header[0x10]); + uint16_t run_address = get_u16le(&header[0x12]); + uint16_t size = get_u16le(&header[0x14]); if (LOG) { |