mirror of
https://github.com/holub/mame
synced 2025-10-06 17:08:28 +03:00
(MESS) vic20: Fixed compile. (nw)
This commit is contained in:
parent
e971c77602
commit
48b7ef9836
@ -9,10 +9,7 @@
|
|||||||
|
|
||||||
**********************************************************************/
|
**********************************************************************/
|
||||||
|
|
||||||
#include "emu.h"
|
|
||||||
#include "exp.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
|
// read the header
|
||||||
UINT8 header[2];
|
UINT8 header[2];
|
||||||
fread(&header, 2);
|
fread(&header, 2);
|
||||||
UINT16 address = pick_integer_le(header, 0, 2);
|
UINT16 address = (header[1] << 8) | header[0];
|
||||||
|
|
||||||
switch (address)
|
switch (address)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user