mirror of
https://github.com/holub/mame
synced 2025-06-07 21:33:45 +03:00
nascom1: Fixed snapshot loading regression on 32bit builds (nw)
This commit is contained in:
parent
d67e9d7750
commit
dff9d50d6d
@ -233,7 +233,7 @@ DEVICE_IMAGE_UNLOAD_MEMBER( nascom_state, nascom1_cassette )
|
|||||||
|
|
||||||
SNAPSHOT_LOAD_MEMBER( nascom_state, nascom1 )
|
SNAPSHOT_LOAD_MEMBER( nascom_state, nascom1 )
|
||||||
{
|
{
|
||||||
uint8_t line[28];
|
uint8_t line[29];
|
||||||
|
|
||||||
while (image.fread(&line, sizeof(line)) == sizeof(line))
|
while (image.fread(&line, sizeof(line)) == sizeof(line))
|
||||||
{
|
{
|
||||||
@ -264,7 +264,7 @@ SNAPSHOT_LOAD_MEMBER( nascom_state, nascom1 )
|
|||||||
|
|
||||||
SNAPSHOT_LOAD_MEMBER(nascom_state, charrom)
|
SNAPSHOT_LOAD_MEMBER(nascom_state, charrom)
|
||||||
{
|
{
|
||||||
uint8_t line[28];
|
uint8_t line[29];
|
||||||
|
|
||||||
while (image.fread(&line, sizeof(line)) == sizeof(line))
|
while (image.fread(&line, sizeof(line)) == sizeof(line))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user