From 1c287148a31ff61ba5933ee15ac0eb0d455a68a8 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sun, 17 Nov 2019 13:54:25 -0800 Subject: GLK: GLULXE: Fix alignment is sensitive to packing warnings in VS --- engines/glk/glulxe/glulxe.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/engines/glk/glulxe/glulxe.h b/engines/glk/glulxe/glulxe.h index 6bb8372e5b..22076e2be2 100644 --- a/engines/glk/glulxe/glulxe.h +++ b/engines/glk/glulxe/glulxe.h @@ -20,6 +20,8 @@ * */ +/* Based on Glulxe intrepreter version 0.5.4 */ + #ifndef GLK_GLULXE #define GLK_GLULXE @@ -44,15 +46,16 @@ private: * \defgroup vm fields * @{ */ - CharHandler stream_char_handler; - UnicharHandler stream_unichar_handler, glkio_unichar_han_ptr; bool vm_exited_cleanly; uint gamefile_start, gamefile_len; + UnicharHandler glkio_unichar_han_ptr; char *init_err, *init_err2; + CharHandler stream_char_handler; byte *memmap; byte *stack; + UnicharHandler stream_unichar_handler; uint ramstart; uint endgamefile; -- cgit v1.2.3