Lua - memory library - default to main memory if user did not specify a domain
This commit is contained in:
parent
c9cbac7021
commit
779d7c0cee
|
@ -40,6 +40,11 @@ namespace BizHawk.Client.Common
|
|||
{
|
||||
if (MemoryDomainCore != null)
|
||||
{
|
||||
if (_currentMemoryDomain == null)
|
||||
{
|
||||
_currentMemoryDomain = MemoryDomainCore.MainMemory;
|
||||
}
|
||||
|
||||
return _currentMemoryDomain;
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue