fix crash possibility

This commit is contained in:
Michaël Banaan Ananas 2014-08-26 19:38:05 +00:00
parent a9eeee8c7a
commit 5a8453b371

View File

@ -1314,7 +1314,7 @@ UINT8 ymf271_device::ymf271_read_memory(UINT32 offset)
/* 8MB chip limit (shouldn't happen) */
else if (offset > 0x7fffff)
return m_mem_base[offset & 0x7fffff];
return ymf271_read_memory(offset & 0x7fffff);
else
return 0;