From 48b7ef9836a61b3e8e3b73e7025a6603f2013537 Mon Sep 17 00:00:00 2001 From: Curt Coder Date: Sun, 29 Dec 2013 21:42:08 +0000 Subject: [PATCH] (MESS) vic20: Fixed compile. (nw) --- src/emu/bus/vic20/exp.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/emu/bus/vic20/exp.c b/src/emu/bus/vic20/exp.c index a40eadaa053..4ce4403e4bf 100644 --- a/src/emu/bus/vic20/exp.c +++ b/src/emu/bus/vic20/exp.c @@ -9,10 +9,7 @@ **********************************************************************/ -#include "emu.h" #include "exp.h" -#include "formats\imageutl.h" -#include "emuopts.h" @@ -130,7 +127,7 @@ bool vic20_expansion_slot_device::call_load() // read the header UINT8 header[2]; fread(&header, 2); - UINT16 address = pick_integer_le(header, 0, 2); + UINT16 address = (header[1] << 8) | header[0]; switch (address) {