aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/sci/engine/game.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/sci/engine/game.cpp b/engines/sci/engine/game.cpp
index 447de7b837..5b73fc80e0 100644
--- a/engines/sci/engine/game.cpp
+++ b/engines/sci/engine/game.cpp
@@ -727,6 +727,7 @@ void script_free_breakpoints(EngineState *s) {
/*************************************************************/
int game_init(EngineState *s) {
+ // FIXME Use new VM instantiation code all over the place"
reg_t game_obj; // Address of the game object
dstack_t *stack;
@@ -819,11 +820,14 @@ int game_exit(EngineState *s) {
sciprintf("Freeing miscellaneous data...\n");
+ // TODO Free parser segment here
if (send_calls_allocated) {
free(send_calls);
send_calls_allocated = 0;
}
+ // TODO Free scripts here
+
menubar_free(s->menubar);
_free_graphics_input(s);