mirror of
https://github.com/holub/mame
synced 2025-05-24 14:56:21 +03:00
memory.c: Fixed numerous games broken with 'memory_set_decrypted_region found straddled region' fatalerror (no whatsnew)
Note: partially_covers() wouldn't work independently of fully_covers()...
This commit is contained in:
parent
257eebb3e7
commit
2d7e4565f0
@ -352,7 +352,7 @@ public:
|
||||
|
||||
// compare a range against our range
|
||||
bool matches_exactly(offs_t bytestart, offs_t byteend) const { return (m_bytestart == bytestart && m_byteend == byteend); }
|
||||
bool fully_covers(offs_t bytestart, offs_t byteend) const { return (m_bytestart <= bytestart && m_byteend >= byteend); }
|
||||
bool fully_covers(offs_t bytestart, offs_t byteend) const { return (m_bytestart >= bytestart && m_byteend <= byteend); }
|
||||
bool partially_covers(offs_t bytestart, offs_t byteend) const { return (m_bytestart <= byteend && m_byteend >= bytestart); }
|
||||
|
||||
// track and verify address space references to this bank
|
||||
|
Loading…
Reference in New Issue
Block a user