diff options
author | Ivan Vangelista <mesgnet@yahoo.it> | 2016-08-29 15:46:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-29 15:46:10 +0200 |
commit | 7c6a527e2630f9317e2941ea991e8d7df1282544 (patch) | |
tree | f0bc8dedc99ad149849d5795a6399791472fec3e | |
parent | d7ef4e6c49405de41959ec3f28d38b659feb0afb (diff) |
emumem.cpp: fix regression in save states (nw)
-rw-r--r-- | src/emu/emumem.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/emumem.cpp b/src/emu/emumem.cpp index 243adbc3aea..8ac780cb598 100644 --- a/src/emu/emumem.cpp +++ b/src/emu/emumem.cpp @@ -1672,7 +1672,7 @@ memory_region *memory_manager::region_containing(const void *memory, offs_t byte // look through the region list and return the first match for (auto ®ion : m_regionlist) - if (data >= region.second->base() && (data + bytes) <= region.second->end()) + if (data >= region.second->base() && (data + bytes) < region.second->end()) return region.second.get(); // didn't find one |