Fixed MemoryCallbacks (i think) - now debugger opens without throwing an exception
This commit is contained in:
parent
35bb1d0c93
commit
7a7b84f35c
|
@ -8,7 +8,7 @@ namespace BizHawk.Emulation.Cores.Computers.SinclairSpectrum
|
|||
{
|
||||
public partial class ZXSpectrum //: IMemoryDomains
|
||||
{
|
||||
private MemoryDomainList memoryDomains;
|
||||
internal IMemoryDomains memoryDomains;
|
||||
private readonly Dictionary<string, MemoryDomainByteArray> _byteArrayDomains = new Dictionary<string, MemoryDomainByteArray>();
|
||||
private bool _memoryDomainsInit = false;
|
||||
|
||||
|
@ -42,8 +42,6 @@ namespace BizHawk.Emulation.Cores.Computers.SinclairSpectrum
|
|||
(ServiceProvider as BasicServiceProvider).Register<IMemoryDomains>(memoryDomains);
|
||||
|
||||
_memoryDomainsInit = true;
|
||||
|
||||
|
||||
}
|
||||
|
||||
private void SyncAllByteArrayDomains()
|
||||
|
|
|
@ -24,6 +24,7 @@ namespace BizHawk.Emulation.Cores.Computers.SinclairSpectrum
|
|||
var ser = new BasicServiceProvider(this);
|
||||
ServiceProvider = ser;
|
||||
InputCallbacks = new InputCallbackSystem();
|
||||
MemoryCallbacks = new MemoryCallbackSystem(new[] { "System Bus" });
|
||||
|
||||
CoreComm = comm;
|
||||
|
||||
|
|
Loading…
Reference in New Issue