The code crashes the emulator
Closed this issue · 2 comments
maximilien-noal commented
After a Grp5 instruction.
The DOSInt21Handler is asked for a service at index 0
It doesn't exist -> exception -> crash.
Doesn't happen in the Java original, with or without running overrides from CryoDuneRE.
maximilien-noal commented
Also neither does the call for the service at index 0, neither the crash happen with the emulator alone (: without cryogenic injecting any code)
It also doesn't happen if --UseCodeOverrides is not specified.
kevinferrare commented
Fixed in spice86 with commit OpenRakis/Spice86@951894a !
The emulator was not calling what the override was returning and this was causing anything overridden to be called twice.