From a3e3232825df80c658d0ca56fea9312c7e1c12c5 Mon Sep 17 00:00:00 2001 From: Nunuhara Cabbage Date: Fri, 11 Nov 2022 20:28:45 -0800 Subject: [PATCH] Update libsys4 --- src/vm.c | 4 ++-- subprojects/libsys4 | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/vm.c b/src/vm.c index 9f21eb7..95e1f0a 100644 --- a/src/vm.c +++ b/src/vm.c @@ -917,7 +917,7 @@ static enum opcode execute_instruction(enum opcode opcode) scenario_call(stack_pop().i); break; } - case MSG: { + case _MSG: { if (config.echo) echo_message(get_argument(0)); if (ain->msgf < 0) @@ -925,7 +925,7 @@ static enum opcode execute_instruction(enum opcode opcode) stack_push(get_argument(0)); stack_push(ain->nr_messages); stack_push_string(string_ref(ain->messages[get_argument(0)])); - function_call(ain->msgf, instr_ptr + instruction_width(MSG)); + function_call(ain->msgf, instr_ptr + instruction_width(_MSG)); break; } case JUMP: { // ADDR diff --git a/subprojects/libsys4 b/subprojects/libsys4 index 742ccb7..5468eed 160000 --- a/subprojects/libsys4 +++ b/subprojects/libsys4 @@ -1 +1 @@ -Subproject commit 742ccb701095d83c6cf324d67f1e2c1d91dd7554 +Subproject commit 5468eed9ba1c3e93da2891040229952c0ef356d3