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:
Phil Bennett 2010-08-25 14:25:34 +00:00
parent 257eebb3e7
commit 2d7e4565f0

View File

@ -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