diff multipaint.pde @ 188:6fba2c255319

More work on the MP.JS launcher.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 23 Aug 2018 16:32:10 +0300
parents 74e1616ca38e
children b36cfb497223
line wrap: on
line diff
--- a/multipaint.pde	Thu Aug 23 14:35:08 2018 +0300
+++ b/multipaint.pde	Thu Aug 23 16:32:10 2018 +0300
@@ -109,8 +109,8 @@
     // Get settings from Javascript runner, or use defaults
     g_machine = (mpMachine >= 0) ? mpMachine : C64;
     g_uiscale = (mpUIScale >= 1 && mpUIScale <= 3) ? mpUIScale : 2;
-    g_forced_width = mpForcedWidth > 0 ? mpForcedWidth : 0;
-    g_forced_height = mpForcedHeight > 0 ? mpForcedHeight : 0;
+    g_forced_width = mpUIForcedWidth > 0 ? mpUIForcedWidth : 0;
+    g_forced_height = mpUIForcedHeight > 0 ? mpUIForcedHeight : 0;
     g_animspeed = 1;
 
     //normi