mgba- throw NotImplemented on callbacks with no address, we don't support that yet (likely ever)
This commit is contained in:
parent
cea0762c07
commit
be8db22d6c
|
@ -43,6 +43,11 @@ namespace BizHawk.Emulation.Cores.Nintendo.GBA
|
|||
throw new InvalidOperationException($"{callback.Scope} is not currently supported for callbacks");
|
||||
}
|
||||
|
||||
if (!callback.Address.HasValue)
|
||||
{
|
||||
throw new NotImplementedException("Wildcard callbacks (no address specified) not currently implemented.");
|
||||
}
|
||||
|
||||
var container = new CallbackContainer(callback);
|
||||
|
||||
if (container.Callback.Type == MemoryCallbackType.Execute)
|
||||
|
|
Loading…
Reference in New Issue