SubNESHawk: Pass through memory domains
This commit is contained in:
parent
e50272f9f4
commit
f65959f64c
|
@ -8,7 +8,7 @@ namespace BizHawk.Emulation.Cores.Nintendo.NES
|
|||
{
|
||||
public partial class NES
|
||||
{
|
||||
private MemoryDomainList _memoryDomains;
|
||||
public MemoryDomainList _memoryDomains;
|
||||
private bool _memoryDomainsSetup = false;
|
||||
|
||||
private void SetupMemoryDomains()
|
||||
|
|
|
@ -41,7 +41,7 @@ namespace BizHawk.Emulation.Cores.Nintendo.SubNESHawk
|
|||
|
||||
ServiceProvider = ser;
|
||||
|
||||
SetupMemoryDomains();
|
||||
(ServiceProvider as BasicServiceProvider).Register<IMemoryDomains>(subnes._memoryDomains);
|
||||
|
||||
subnes.using_reset_timing = true;
|
||||
HardReset();
|
||||
|
|
Loading…
Reference in New Issue