Couple of minor updates to restore accuracy.
[sgt/puzzles] / midend.c
index 75d51bb..1be8ca9 100644 (file)
--- a/midend.c
+++ b/midend.c
@@ -244,6 +244,11 @@ void midend_set_params(midend *me, game_params *params)
     me->params = me->ourgame->dup_params(params);
 }
 
+game_params *midend_get_params(midend *me)
+{
+    return me->ourgame->dup_params(me->params);
+}
+
 static void midend_set_timer(midend *me)
 {
     me->timing = (me->ourgame->is_timed &&