Fix onmemorywrite so it can trigger on any memory address
This commit is contained in:
parent
5d4dc0630c
commit
58336c45b2
|
@ -200,7 +200,7 @@ namespace BizHawk.Emulation.Common
|
|||
{
|
||||
for (int i = 0; i < _writes.Count; i++)
|
||||
{
|
||||
if (_writeAddrs[i] == addr)
|
||||
if (!_writeAddrs[i].HasValue || _writeAddrs[i] == addr)
|
||||
{
|
||||
_writes[i]();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue