summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/drivers/d6800.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mess/drivers/d6800.c')
-rw-r--r--src/mess/drivers/d6800.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mess/drivers/d6800.c b/src/mess/drivers/d6800.c
index ded15918508..8ead0a93a28 100644
--- a/src/mess/drivers/d6800.c
+++ b/src/mess/drivers/d6800.c
@@ -350,7 +350,7 @@ QUICKLOAD_LOAD_MEMBER( d6800_state, d6800 )
quick_length = image.length();
quick_data.resize(quick_length);
- read_ = image.fread( quick_data, quick_length);
+ read_ = image.fread( &quick_data[0], quick_length);
if (read_ != quick_length)
{
image.seterror(IMAGE_ERROR_INVALIDIMAGE, "Cannot read the file");