[Scummvm-git-logs] scummvm master -> d55dfd9786bf7112e96a83f23af6b05e75fb044c

dreammaster paulfgilbert at gmail.com
Sat Oct 26 23:02:42 CEST 2019


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
d55dfd9786 GLK: LEVEL9: Further compilation fixes


Commit: d55dfd9786bf7112e96a83f23af6b05e75fb044c
    https://github.com/scummvm/scummvm/commit/d55dfd9786bf7112e96a83f23af6b05e75fb044c
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2019-10-26T14:02:25-07:00

Commit Message:
GLK: LEVEL9: Further compilation fixes

Changed paths:
    engines/glk/level9/detection_tables.h
    engines/glk/level9/os_glk.cpp
    engines/glk/module.mk


diff --git a/engines/glk/level9/detection_tables.h b/engines/glk/level9/detection_tables.h
index b43deff..3cc8f86 100644
--- a/engines/glk/level9/detection_tables.h
+++ b/engines/glk/level9/detection_tables.h
@@ -770,11 +770,11 @@ static const gln_patch_table_t GLN_PATCH_TABLE[] = {
 };
 
 const L9V1GameInfo L9_V1_GAMES[] = {
-	0x1a, 0x24, 301, 0x0000, -0x004b, 0x0080, -0x002b, 0x00d0, 0x03b0, 0x0f80, 0x4857, /* Colossal Adventure */
-	0x20, 0x3b, 283, -0x0583, 0x0000, -0x0508, -0x04e0, 0x0000, 0x0800, 0x1000, 0x39d1, /* Adventure Quest */
-	0x14, 0xff, 153, -0x00d6, 0x0000, 0x0000, 0x0000, 0x0000, 0x0a20, 0x16bf, 0x420d, /* Dungeon Adventure */
-	0x15, 0x5d, 252, -0x3e70, 0x0000, -0x3d30, -0x3ca0, 0x0100, 0x4120, -0x3b9d, 0x3988, /* Lords of Time */
-	0x15, 0x6c, 284, -0x00f0, 0x0000, -0x0050, -0x0050, -0x0050, 0x0300, 0x1930, 0x3c17, /* Snowball */
+	0x1a, 0x24, 301, { 0x0000, -0x004b, 0x0080, -0x002b, 0x00d0 }, 0x03b0, 0x0f80, 0x4857, /* Colossal Adventure */
+	0x20, 0x3b, 283, { -0x0583, 0x0000, -0x0508, -0x04e0, 0x0000 }, 0x0800, 0x1000, 0x39d1, /* Adventure Quest */
+	0x14, 0xff, 153, { -0x00d6, 0x0000, 0x0000, 0x0000, 0x0000 }, 0x0a20, 0x16bf, 0x420d, /* Dungeon Adventure */
+	0x15, 0x5d, 252, { -0x3e70, 0x0000, -0x3d30, -0x3ca0, 0x0100 }, 0x4120, -0x3b9d, 0x3988, /* Lords of Time */
+	0x15, 0x6c, 284, { -0x00f0, 0x0000, -0x0050, -0x0050, -0x0050 }, 0x0300, 0x1930, 0x3c17, /* Snowball */
 };
 
 const GlkDetectionEntry LEVEL9_GAMES[] = {
diff --git a/engines/glk/level9/os_glk.cpp b/engines/glk/level9/os_glk.cpp
index ac9a4ee..3ba8a3d 100644
--- a/engines/glk/level9/os_glk.cpp
+++ b/engines/glk/level9/os_glk.cpp
@@ -2150,7 +2150,7 @@ static const glui32 GLN_WATCHDOG_FIXUP = 50;
  * remains silent for long enough, set by the timeout, we'll offer the
  * option to end the game.  A timeout of zero disables the watchdog.
  */
-static time_t gln_watchdog_monitor = 0;
+static uint32 gln_watchdog_monitor = 0;
 static double gln_watchdog_timeout_secs = 0.0;
 
 /*
@@ -2208,7 +2208,7 @@ static void gln_watchdog_tick() {
 static int gln_watchdog_has_timed_out() {
 	/* If loop detection is off or the timeout is set to zero, do nothing. */
 	if (gln_loopcheck_enabled && gln_watchdog_timeout_secs > 0) {
-		time_t now;
+		uint32 now;
 		double delta_time;
 
 		/*
diff --git a/engines/glk/module.mk b/engines/glk/module.mk
index 8462118..840a1d8 100644
--- a/engines/glk/module.mk
+++ b/engines/glk/module.mk
@@ -228,8 +228,6 @@ endif
 
 ifdef ENABLE_GLK_LEVEL9
 MODULE_OBJS += \
-	level9/detection.o \
-	level9/level9.o \
 	level9/bitmap.o \
 	level9/detection.o \
 	level9/level9.o \





More information about the Scummvm-git-logs mailing list