mirror of
https://github.com/nunuhara/xsystem4.git
synced 2026-10-09 07:10:05 +03:00
Handle events in system.Peek()
Otherwise Sengoku Rance becomes unresponsive during movie playback.
This commit is contained in:
@@ -33,6 +33,7 @@
|
||||
|
||||
#include "debugger.h"
|
||||
#include "little_endian.h"
|
||||
#include "input.h"
|
||||
#include "savedata.h"
|
||||
#include "vm.h"
|
||||
#include "vm/heap.h"
|
||||
@@ -567,6 +568,7 @@ static void system_call(enum syscall_code code)
|
||||
break;
|
||||
}
|
||||
case SYS_PEEK: {// system.Peek(void)
|
||||
handle_events();
|
||||
break;
|
||||
}
|
||||
case SYS_SLEEP: {// system.Sleep(int nSleep)
|
||||
|
||||
Reference in New Issue
Block a user