Ensure _ModuleInit runs after VM reset

Fixes crash after game over in MangaGamer version of Sengoku Rance.
This commit is contained in:
Nunuhara Cabbage
2022-05-01 08:23:05 -07:00
parent b0d1549964
commit 8d381dbf49
5 changed files with 68 additions and 34 deletions
+1 -1
View File
@@ -104,9 +104,9 @@ void vm_call(int fno, int struct_page);
int vm_time(void);
void hll_call(int libno, int fno);
void link_libraries(void);
bool library_exists(int libno);
bool library_function_exists(int libno, int fno);
void init_libraries(void);
void exit_libraries(void);
void vm_stack_trace(void);