aboutsummaryrefslogtreecommitdiff
path: root/engines/glk/glk_api.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/glk/glk_api.cpp')
-rw-r--r--engines/glk/glk_api.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/glk/glk_api.cpp b/engines/glk/glk_api.cpp
index 61c7a55aea..e2f3117ef7 100644
--- a/engines/glk/glk_api.cpp
+++ b/engines/glk/glk_api.cpp
@@ -36,7 +36,8 @@
namespace Glk {
GlkAPI::GlkAPI(OSystem *syst, const GlkGameDescription &gameDesc) :
- GlkEngine(syst, gameDesc), _gliFirstEvent(false) {
+ GlkEngine(syst, gameDesc), _gliFirstEvent(false), gli_register_obj(nullptr),
+ gli_unregister_obj(nullptr), gli_register_arr(nullptr), gli_unregister_arr(nullptr) {
// Set uppercase/lowercase tables
int ix, res;
for (ix = 0; ix < 256; ix++) {