From 6e3e66ded7bbb02bd6eb0e9c0e6219c4b94fdc00 Mon Sep 17 00:00:00 2001 From: laanwj <126646+laanwj@users.noreply.github.com> Date: Mon, 23 Sep 2024 16:16:13 +0200 Subject: [PATCH] Fix slots animation Add a rendering delay to `XSLOTS::roll_face` to make the slot animation run at normal speed, instead of hyperspeed. Addresses one part of #33. --- src/sundog.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/sundog.c b/src/sundog.c index 57903af..ca4c555 100644 --- a/src/sundog.c +++ b/src/sundog.c @@ -158,6 +158,7 @@ static const struct { { "WINDOWLI", 0x070e, -1 }, /* WINDOWLI:0x12 entry point on creating a dialog (see issue #18) */ { "WINDOWLI", 0x09e1, -1 }, /* WINDOWLI:0x15 make_zoom return */ { "XDOINTER", 0x0fa2, -1 }, /* XDOINTER:0x1f new_frame, on return after drawing a dialog */ + { "XSLOTS ", 0x00ca, 1 }, /* XSLOTS:0x06 roll_face, fixup for slot machine animation */ }; /* Called before every instruction executed.