summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu
diff options
context:
space:
mode:
author hap <happppp@users.noreply.github.com>2021-05-10 22:50:33 +0200
committer hap <happppp@users.noreply.github.com>2021-05-10 22:50:33 +0200
commitfcdf72bdaa28090459169ce4509d5cf71fb1f7da (patch)
treea7653c113c529416a5aacc2df5fc6acb453e2fef /src/emu
parent74c2c0c64a929074d5158332c0d73e59ef82dc81 (diff)
vt1682: probably fix fullrom read buffer overflow
Diffstat (limited to 'src/emu')
-rw-r--r--src/emu/emumem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/emumem.cpp b/src/emu/emumem.cpp
index efca8ea0c73..556972a342f 100644
--- a/src/emu/emumem.cpp
+++ b/src/emu/emumem.cpp
@@ -1043,7 +1043,7 @@ void memory_bank::configure_entries(int startentry, int numentries, void *base,
// fill in the requested bank entries
for (int entrynum = 0; entrynum < numentries; entrynum ++)
- m_entries[entrynum + startentry] = reinterpret_cast<u8 *>(base) + entrynum * stride ;
+ m_entries[entrynum + startentry] = reinterpret_cast<u8 *>(base) + entrynum * stride;
}