summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/lviv.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/lviv.cpp')
-rw-r--r--src/mame/machine/lviv.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/machine/lviv.cpp b/src/mame/machine/lviv.cpp
index 94d7bccdbc9..81930081fbc 100644
--- a/src/mame/machine/lviv.cpp
+++ b/src/mame/machine/lviv.cpp
@@ -297,7 +297,7 @@ SNAPSHOT_LOAD_MEMBER(lviv_state::snapshot_cb)
image.fread(&snapshot_data[0], LVIV_SNAPSHOT_SIZE);
- if (verify_snapshot(&snapshot_data[0], snapshot_size) != image_verify_result::PASS)
+ if (verify_snapshot(&snapshot_data[0], image.length()) != image_verify_result::PASS)
{
return image_init_result::FAIL;
}