Allow exiting on returns to 0 (should fix test regression)

This commit is contained in:
gdk 2019-08-02 13:13:26 -03:00
parent 90605fcbe0
commit 2fde9f96a4

View file

@ -74,7 +74,7 @@ namespace ARMeilleure.Translation
{
address = ExecuteSingle(context, address);
}
while (context.Running && address != 0);
while (context.Running && (address & ~1UL) != 0);
NativeInterface.UnregisterThread();