diff --git a/.idea/libraries/com_badlogicgames_gdx_gdx_1_10_0.xml b/.idea/libraries/com_badlogicgames_gdx_gdx_1_10_0.xml
deleted file mode 100644
index 7a8c660..0000000
--- a/.idea/libraries/com_badlogicgames_gdx_gdx_1_10_0.xml
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/.idea/libraries/com_badlogicgames_gdx_gdx_backend_lwjgl3_1_10_0.xml b/.idea/libraries/com_badlogicgames_gdx_gdx_backend_lwjgl3_1_10_0.xml
deleted file mode 100644
index 520d879..0000000
--- a/.idea/libraries/com_badlogicgames_gdx_gdx_backend_lwjgl3_1_10_0.xml
+++ /dev/null
@@ -1,128 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/.idea/libraries/com_badlogicgames_gdx_gdx_platform_1_10_0.xml b/.idea/libraries/com_badlogicgames_gdx_gdx_platform_1_10_0.xml
deleted file mode 100644
index db39a67..0000000
--- a/.idea/libraries/com_badlogicgames_gdx_gdx_platform_1_10_0.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/.idea/libraries/gdx_platform_1_10_0_natives_desktop.xml b/.idea/libraries/gdx_platform_1_10_0_natives_desktop.xml
deleted file mode 100644
index 9938aa8..0000000
--- a/.idea/libraries/gdx_platform_1_10_0_natives_desktop.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/.idea/libraries/libGDX_1_11_0.xml b/.idea/libraries/libGDX_1_11_0.xml
new file mode 100644
index 0000000..c646ec1
--- /dev/null
+++ b/.idea/libraries/libGDX_1_11_0.xml
@@ -0,0 +1,93 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/TerranBASICexecutable/TerranBASICexecutable.iml b/TerranBASICexecutable/TerranBASICexecutable.iml
index d54dca1..b73f09b 100644
--- a/TerranBASICexecutable/TerranBASICexecutable.iml
+++ b/TerranBASICexecutable/TerranBASICexecutable.iml
@@ -8,10 +8,6 @@
-
-
-
-
@@ -19,5 +15,6 @@
+
\ No newline at end of file
diff --git a/TerranBASICexecutable/src/net/torvald/tsvm/TerranBASIC.java b/TerranBASICexecutable/src/net/torvald/tsvm/TerranBASIC.java
index 1a8c26c..7120f17 100644
--- a/TerranBASICexecutable/src/net/torvald/tsvm/TerranBASIC.java
+++ b/TerranBASICexecutable/src/net/torvald/tsvm/TerranBASIC.java
@@ -19,6 +19,7 @@ public class TerranBASIC {
ShaderProgram.pedantic = false;
appConfig = new Lwjgl3ApplicationConfiguration();
+ appConfig.setOpenGLEmulation(Lwjgl3ApplicationConfiguration.GLEmulation.GL30, 3, 2);
appConfig.setIdleFPS(60);
appConfig.setForegroundFPS(60);
appConfig.useVsync(false);
diff --git a/lib/gdx-1.10.0-javadoc.jar b/lib/gdx-1.10.0-javadoc.jar
deleted file mode 100644
index e371794..0000000
Binary files a/lib/gdx-1.10.0-javadoc.jar and /dev/null differ
diff --git a/lib/gdx-1.10.0-sources.jar b/lib/gdx-1.10.0-sources.jar
deleted file mode 100644
index 90f2677..0000000
Binary files a/lib/gdx-1.10.0-sources.jar and /dev/null differ
diff --git a/lib/gdx-1.11.0-javadoc.jar b/lib/gdx-1.11.0-javadoc.jar
new file mode 100644
index 0000000..c8482fa
Binary files /dev/null and b/lib/gdx-1.11.0-javadoc.jar differ
diff --git a/lib/gdx-1.11.0-sources.jar b/lib/gdx-1.11.0-sources.jar
new file mode 100644
index 0000000..22d94b5
Binary files /dev/null and b/lib/gdx-1.11.0-sources.jar differ
diff --git a/lib/gdx-1.10.0.jar b/lib/gdx-1.11.0.jar
similarity index 54%
rename from lib/gdx-1.10.0.jar
rename to lib/gdx-1.11.0.jar
index d40d517..1a0381b 100644
Binary files a/lib/gdx-1.10.0.jar and b/lib/gdx-1.11.0.jar differ
diff --git a/lib/gdx-backend-lwjgl3-1.10.0-javadoc.jar b/lib/gdx-backend-lwjgl3-1.10.0-javadoc.jar
deleted file mode 100644
index 488eed8..0000000
Binary files a/lib/gdx-backend-lwjgl3-1.10.0-javadoc.jar and /dev/null differ
diff --git a/lib/gdx-backend-lwjgl3-1.10.0-sources.jar b/lib/gdx-backend-lwjgl3-1.10.0-sources.jar
deleted file mode 100644
index 412affa..0000000
Binary files a/lib/gdx-backend-lwjgl3-1.10.0-sources.jar and /dev/null differ
diff --git a/lib/gdx-backend-lwjgl3-1.10.0.jar b/lib/gdx-backend-lwjgl3-1.10.0.jar
deleted file mode 100644
index 69bd2d7..0000000
Binary files a/lib/gdx-backend-lwjgl3-1.10.0.jar and /dev/null differ
diff --git a/lib/gdx-backend-lwjgl3-1.11.0-javadoc.jar b/lib/gdx-backend-lwjgl3-1.11.0-javadoc.jar
new file mode 100644
index 0000000..266008a
Binary files /dev/null and b/lib/gdx-backend-lwjgl3-1.11.0-javadoc.jar differ
diff --git a/lib/gdx-backend-lwjgl3-1.11.0-sources.jar b/lib/gdx-backend-lwjgl3-1.11.0-sources.jar
new file mode 100644
index 0000000..d3e9d25
Binary files /dev/null and b/lib/gdx-backend-lwjgl3-1.11.0-sources.jar differ
diff --git a/lib/gdx-backend-lwjgl3-1.11.0.jar b/lib/gdx-backend-lwjgl3-1.11.0.jar
new file mode 100644
index 0000000..66778d9
Binary files /dev/null and b/lib/gdx-backend-lwjgl3-1.11.0.jar differ
diff --git a/lib/gdx-controllers-core-2.2.1-javadoc.jar b/lib/gdx-controllers-core-2.2.1-javadoc.jar
new file mode 100644
index 0000000..ef0b94f
Binary files /dev/null and b/lib/gdx-controllers-core-2.2.1-javadoc.jar differ
diff --git a/lib/gdx-controllers-core-2.2.1-sources.jar b/lib/gdx-controllers-core-2.2.1-sources.jar
new file mode 100644
index 0000000..af28c30
Binary files /dev/null and b/lib/gdx-controllers-core-2.2.1-sources.jar differ
diff --git a/lib/gdx-controllers-core-2.2.1.jar b/lib/gdx-controllers-core-2.2.1.jar
new file mode 100644
index 0000000..b317833
Binary files /dev/null and b/lib/gdx-controllers-core-2.2.1.jar differ
diff --git a/lib/gdx-controllers-desktop-2.2.1-javadoc.jar b/lib/gdx-controllers-desktop-2.2.1-javadoc.jar
new file mode 100644
index 0000000..22b7dde
Binary files /dev/null and b/lib/gdx-controllers-desktop-2.2.1-javadoc.jar differ
diff --git a/lib/gdx-controllers-desktop-2.2.1-sources.jar b/lib/gdx-controllers-desktop-2.2.1-sources.jar
new file mode 100644
index 0000000..bd7d3ab
Binary files /dev/null and b/lib/gdx-controllers-desktop-2.2.1-sources.jar differ
diff --git a/lib/gdx-controllers-desktop-2.2.1.jar b/lib/gdx-controllers-desktop-2.2.1.jar
new file mode 100644
index 0000000..23c5102
Binary files /dev/null and b/lib/gdx-controllers-desktop-2.2.1.jar differ
diff --git a/lib/gdx-jnigen-loader-2.3.1-javadoc.jar b/lib/gdx-jnigen-loader-2.3.1-javadoc.jar
new file mode 100644
index 0000000..f06569e
Binary files /dev/null and b/lib/gdx-jnigen-loader-2.3.1-javadoc.jar differ
diff --git a/lib/gdx-jnigen-loader-2.3.1-sources.jar b/lib/gdx-jnigen-loader-2.3.1-sources.jar
new file mode 100644
index 0000000..e1baeeb
Binary files /dev/null and b/lib/gdx-jnigen-loader-2.3.1-sources.jar differ
diff --git a/lib/gdx-jnigen-loader-2.3.1.jar b/lib/gdx-jnigen-loader-2.3.1.jar
new file mode 100644
index 0000000..e878267
Binary files /dev/null and b/lib/gdx-jnigen-loader-2.3.1.jar differ
diff --git a/lib/gdx-lwjgl3-glfw-awt-macos-1.11.0-javadoc.jar b/lib/gdx-lwjgl3-glfw-awt-macos-1.11.0-javadoc.jar
new file mode 100644
index 0000000..526939c
Binary files /dev/null and b/lib/gdx-lwjgl3-glfw-awt-macos-1.11.0-javadoc.jar differ
diff --git a/lib/gdx-lwjgl3-glfw-awt-macos-1.11.0-sources.jar b/lib/gdx-lwjgl3-glfw-awt-macos-1.11.0-sources.jar
new file mode 100644
index 0000000..beb1a5e
Binary files /dev/null and b/lib/gdx-lwjgl3-glfw-awt-macos-1.11.0-sources.jar differ
diff --git a/lib/gdx-lwjgl3-glfw-awt-macos-1.11.0.jar b/lib/gdx-lwjgl3-glfw-awt-macos-1.11.0.jar
new file mode 100644
index 0000000..38bc30c
Binary files /dev/null and b/lib/gdx-lwjgl3-glfw-awt-macos-1.11.0.jar differ
diff --git a/lib/gdx-platform-1.10.0-natives-desktop.jar b/lib/gdx-platform-1.10.0-natives-desktop.jar
deleted file mode 100644
index d5d8a90..0000000
Binary files a/lib/gdx-platform-1.10.0-natives-desktop.jar and /dev/null differ
diff --git a/lib/gdx-platform-1.10.0.jar b/lib/gdx-platform-1.10.0.jar
deleted file mode 100644
index 761e6ac..0000000
Binary files a/lib/gdx-platform-1.10.0.jar and /dev/null differ
diff --git a/lib/gdx-platform-1.11.0-natives-arm64-v8a.jar b/lib/gdx-platform-1.11.0-natives-arm64-v8a.jar
new file mode 100644
index 0000000..5b47824
Binary files /dev/null and b/lib/gdx-platform-1.11.0-natives-arm64-v8a.jar differ
diff --git a/lib/gdx-platform-1.11.0-natives-armeabi-v7a.jar b/lib/gdx-platform-1.11.0-natives-armeabi-v7a.jar
new file mode 100644
index 0000000..18f864e
Binary files /dev/null and b/lib/gdx-platform-1.11.0-natives-armeabi-v7a.jar differ
diff --git a/lib/gdx-platform-1.11.0-natives-desktop.jar b/lib/gdx-platform-1.11.0-natives-desktop.jar
new file mode 100644
index 0000000..10d0a11
Binary files /dev/null and b/lib/gdx-platform-1.11.0-natives-desktop.jar differ
diff --git a/lib/gdx-platform-1.11.0-natives-x86_64.jar b/lib/gdx-platform-1.11.0-natives-x86_64.jar
new file mode 100644
index 0000000..17ec203
Binary files /dev/null and b/lib/gdx-platform-1.11.0-natives-x86_64.jar differ
diff --git a/lib/lwjgl-3.2.3-javadoc.jar b/lib/lwjgl-3.2.3-javadoc.jar
deleted file mode 100644
index 6751cba..0000000
Binary files a/lib/lwjgl-3.2.3-javadoc.jar and /dev/null differ
diff --git a/lib/lwjgl-3.2.3-natives-linux-arm32.jar b/lib/lwjgl-3.2.3-natives-linux-arm32.jar
deleted file mode 100644
index 25a176a..0000000
Binary files a/lib/lwjgl-3.2.3-natives-linux-arm32.jar and /dev/null differ
diff --git a/lib/lwjgl-3.2.3-natives-linux-arm64.jar b/lib/lwjgl-3.2.3-natives-linux-arm64.jar
deleted file mode 100644
index c32df86..0000000
Binary files a/lib/lwjgl-3.2.3-natives-linux-arm64.jar and /dev/null differ
diff --git a/lib/lwjgl-3.2.3-natives-linux.jar b/lib/lwjgl-3.2.3-natives-linux.jar
deleted file mode 100644
index f6509cf..0000000
Binary files a/lib/lwjgl-3.2.3-natives-linux.jar and /dev/null differ
diff --git a/lib/lwjgl-3.2.3-natives-macos.jar b/lib/lwjgl-3.2.3-natives-macos.jar
deleted file mode 100644
index a7f9872..0000000
Binary files a/lib/lwjgl-3.2.3-natives-macos.jar and /dev/null differ
diff --git a/lib/lwjgl-3.2.3-natives-windows-x86.jar b/lib/lwjgl-3.2.3-natives-windows-x86.jar
deleted file mode 100644
index 82fbbd0..0000000
Binary files a/lib/lwjgl-3.2.3-natives-windows-x86.jar and /dev/null differ
diff --git a/lib/lwjgl-3.2.3-natives-windows.jar b/lib/lwjgl-3.2.3-natives-windows.jar
deleted file mode 100644
index 78a7620..0000000
Binary files a/lib/lwjgl-3.2.3-natives-windows.jar and /dev/null differ
diff --git a/lib/lwjgl-3.2.3-sources.jar b/lib/lwjgl-3.2.3-sources.jar
deleted file mode 100644
index 1360c50..0000000
Binary files a/lib/lwjgl-3.2.3-sources.jar and /dev/null differ
diff --git a/lib/lwjgl-3.2.3.jar b/lib/lwjgl-3.2.3.jar
deleted file mode 100644
index e2f71fb..0000000
Binary files a/lib/lwjgl-3.2.3.jar and /dev/null differ
diff --git a/lib/lwjgl-3.3.1-javadoc.jar b/lib/lwjgl-3.3.1-javadoc.jar
new file mode 100644
index 0000000..abe70ff
Binary files /dev/null and b/lib/lwjgl-3.3.1-javadoc.jar differ
diff --git a/lib/lwjgl-3.3.1-natives-linux-arm32.jar b/lib/lwjgl-3.3.1-natives-linux-arm32.jar
new file mode 100644
index 0000000..2156f90
Binary files /dev/null and b/lib/lwjgl-3.3.1-natives-linux-arm32.jar differ
diff --git a/lib/lwjgl-3.3.1-natives-linux-arm64.jar b/lib/lwjgl-3.3.1-natives-linux-arm64.jar
new file mode 100644
index 0000000..28b2a23
Binary files /dev/null and b/lib/lwjgl-3.3.1-natives-linux-arm64.jar differ
diff --git a/lib/lwjgl-3.3.1-natives-linux.jar b/lib/lwjgl-3.3.1-natives-linux.jar
new file mode 100644
index 0000000..4bc4509
Binary files /dev/null and b/lib/lwjgl-3.3.1-natives-linux.jar differ
diff --git a/lib/lwjgl-3.3.1-natives-macos-arm64.jar b/lib/lwjgl-3.3.1-natives-macos-arm64.jar
new file mode 100644
index 0000000..c529058
Binary files /dev/null and b/lib/lwjgl-3.3.1-natives-macos-arm64.jar differ
diff --git a/lib/lwjgl-3.3.1-natives-macos.jar b/lib/lwjgl-3.3.1-natives-macos.jar
new file mode 100644
index 0000000..aad7d19
Binary files /dev/null and b/lib/lwjgl-3.3.1-natives-macos.jar differ
diff --git a/lib/lwjgl-3.3.1-natives-windows-x86.jar b/lib/lwjgl-3.3.1-natives-windows-x86.jar
new file mode 100644
index 0000000..29fa98b
Binary files /dev/null and b/lib/lwjgl-3.3.1-natives-windows-x86.jar differ
diff --git a/lib/lwjgl-3.3.1-natives-windows.jar b/lib/lwjgl-3.3.1-natives-windows.jar
new file mode 100644
index 0000000..11b7d35
Binary files /dev/null and b/lib/lwjgl-3.3.1-natives-windows.jar differ
diff --git a/lib/lwjgl-3.3.1-sources.jar b/lib/lwjgl-3.3.1-sources.jar
new file mode 100644
index 0000000..02a4bec
Binary files /dev/null and b/lib/lwjgl-3.3.1-sources.jar differ
diff --git a/lib/lwjgl-3.3.1.jar b/lib/lwjgl-3.3.1.jar
new file mode 100644
index 0000000..2d84fdc
Binary files /dev/null and b/lib/lwjgl-3.3.1.jar differ
diff --git a/lib/lwjgl-glfw-3.2.3-javadoc.jar b/lib/lwjgl-glfw-3.2.3-javadoc.jar
deleted file mode 100644
index 5e328ce..0000000
Binary files a/lib/lwjgl-glfw-3.2.3-javadoc.jar and /dev/null differ
diff --git a/lib/lwjgl-glfw-3.2.3-natives-linux-arm32.jar b/lib/lwjgl-glfw-3.2.3-natives-linux-arm32.jar
deleted file mode 100644
index 54441cd..0000000
Binary files a/lib/lwjgl-glfw-3.2.3-natives-linux-arm32.jar and /dev/null differ
diff --git a/lib/lwjgl-glfw-3.2.3-natives-linux-arm64.jar b/lib/lwjgl-glfw-3.2.3-natives-linux-arm64.jar
deleted file mode 100644
index 9f5bbf3..0000000
Binary files a/lib/lwjgl-glfw-3.2.3-natives-linux-arm64.jar and /dev/null differ
diff --git a/lib/lwjgl-glfw-3.2.3-natives-linux.jar b/lib/lwjgl-glfw-3.2.3-natives-linux.jar
deleted file mode 100644
index 2f48c49..0000000
Binary files a/lib/lwjgl-glfw-3.2.3-natives-linux.jar and /dev/null differ
diff --git a/lib/lwjgl-glfw-3.2.3-natives-macos.jar b/lib/lwjgl-glfw-3.2.3-natives-macos.jar
deleted file mode 100644
index 148ea41..0000000
Binary files a/lib/lwjgl-glfw-3.2.3-natives-macos.jar and /dev/null differ
diff --git a/lib/lwjgl-glfw-3.2.3-natives-windows-x86.jar b/lib/lwjgl-glfw-3.2.3-natives-windows-x86.jar
deleted file mode 100644
index 0b61721..0000000
Binary files a/lib/lwjgl-glfw-3.2.3-natives-windows-x86.jar and /dev/null differ
diff --git a/lib/lwjgl-glfw-3.2.3-natives-windows.jar b/lib/lwjgl-glfw-3.2.3-natives-windows.jar
deleted file mode 100644
index ba29a14..0000000
Binary files a/lib/lwjgl-glfw-3.2.3-natives-windows.jar and /dev/null differ
diff --git a/lib/lwjgl-glfw-3.2.3-sources.jar b/lib/lwjgl-glfw-3.2.3-sources.jar
deleted file mode 100644
index 3f11673..0000000
Binary files a/lib/lwjgl-glfw-3.2.3-sources.jar and /dev/null differ
diff --git a/lib/lwjgl-glfw-3.2.3.jar b/lib/lwjgl-glfw-3.2.3.jar
deleted file mode 100644
index 5408c4d..0000000
Binary files a/lib/lwjgl-glfw-3.2.3.jar and /dev/null differ
diff --git a/lib/lwjgl-glfw-3.3.1-javadoc.jar b/lib/lwjgl-glfw-3.3.1-javadoc.jar
new file mode 100644
index 0000000..9c45602
Binary files /dev/null and b/lib/lwjgl-glfw-3.3.1-javadoc.jar differ
diff --git a/lib/lwjgl-glfw-3.3.1-natives-linux-arm32.jar b/lib/lwjgl-glfw-3.3.1-natives-linux-arm32.jar
new file mode 100644
index 0000000..9931a42
Binary files /dev/null and b/lib/lwjgl-glfw-3.3.1-natives-linux-arm32.jar differ
diff --git a/lib/lwjgl-glfw-3.3.1-natives-linux-arm64.jar b/lib/lwjgl-glfw-3.3.1-natives-linux-arm64.jar
new file mode 100644
index 0000000..9fc7cb7
Binary files /dev/null and b/lib/lwjgl-glfw-3.3.1-natives-linux-arm64.jar differ
diff --git a/lib/lwjgl-glfw-3.3.1-natives-linux.jar b/lib/lwjgl-glfw-3.3.1-natives-linux.jar
new file mode 100644
index 0000000..f86908a
Binary files /dev/null and b/lib/lwjgl-glfw-3.3.1-natives-linux.jar differ
diff --git a/lib/lwjgl-glfw-3.3.1-natives-macos-arm64.jar b/lib/lwjgl-glfw-3.3.1-natives-macos-arm64.jar
new file mode 100644
index 0000000..4341de3
Binary files /dev/null and b/lib/lwjgl-glfw-3.3.1-natives-macos-arm64.jar differ
diff --git a/lib/lwjgl-glfw-3.3.1-natives-macos.jar b/lib/lwjgl-glfw-3.3.1-natives-macos.jar
new file mode 100644
index 0000000..3159b58
Binary files /dev/null and b/lib/lwjgl-glfw-3.3.1-natives-macos.jar differ
diff --git a/lib/lwjgl-glfw-3.3.1-natives-windows-x86.jar b/lib/lwjgl-glfw-3.3.1-natives-windows-x86.jar
new file mode 100644
index 0000000..4048dbb
Binary files /dev/null and b/lib/lwjgl-glfw-3.3.1-natives-windows-x86.jar differ
diff --git a/lib/lwjgl-glfw-3.3.1-natives-windows.jar b/lib/lwjgl-glfw-3.3.1-natives-windows.jar
new file mode 100644
index 0000000..0ab2fa7
Binary files /dev/null and b/lib/lwjgl-glfw-3.3.1-natives-windows.jar differ
diff --git a/lib/lwjgl-glfw-3.3.1-sources.jar b/lib/lwjgl-glfw-3.3.1-sources.jar
new file mode 100644
index 0000000..ed7edb9
Binary files /dev/null and b/lib/lwjgl-glfw-3.3.1-sources.jar differ
diff --git a/lib/lwjgl-glfw-3.3.1.jar b/lib/lwjgl-glfw-3.3.1.jar
new file mode 100644
index 0000000..f3961ac
Binary files /dev/null and b/lib/lwjgl-glfw-3.3.1.jar differ
diff --git a/lib/lwjgl-jemalloc-3.2.3-natives-linux-arm32.jar b/lib/lwjgl-jemalloc-3.2.3-natives-linux-arm32.jar
deleted file mode 100644
index c95a251..0000000
Binary files a/lib/lwjgl-jemalloc-3.2.3-natives-linux-arm32.jar and /dev/null differ
diff --git a/lib/lwjgl-jemalloc-3.2.3-natives-linux-arm64.jar b/lib/lwjgl-jemalloc-3.2.3-natives-linux-arm64.jar
deleted file mode 100644
index dbc1143..0000000
Binary files a/lib/lwjgl-jemalloc-3.2.3-natives-linux-arm64.jar and /dev/null differ
diff --git a/lib/lwjgl-jemalloc-3.2.3-natives-linux.jar b/lib/lwjgl-jemalloc-3.2.3-natives-linux.jar
deleted file mode 100644
index 396941d..0000000
Binary files a/lib/lwjgl-jemalloc-3.2.3-natives-linux.jar and /dev/null differ
diff --git a/lib/lwjgl-jemalloc-3.2.3-natives-macos.jar b/lib/lwjgl-jemalloc-3.2.3-natives-macos.jar
deleted file mode 100644
index ad4ede7..0000000
Binary files a/lib/lwjgl-jemalloc-3.2.3-natives-macos.jar and /dev/null differ
diff --git a/lib/lwjgl-jemalloc-3.2.3-natives-windows-x86.jar b/lib/lwjgl-jemalloc-3.2.3-natives-windows-x86.jar
deleted file mode 100644
index 2fd051c..0000000
Binary files a/lib/lwjgl-jemalloc-3.2.3-natives-windows-x86.jar and /dev/null differ
diff --git a/lib/lwjgl-jemalloc-3.2.3-natives-windows.jar b/lib/lwjgl-jemalloc-3.2.3-natives-windows.jar
deleted file mode 100644
index a652648..0000000
Binary files a/lib/lwjgl-jemalloc-3.2.3-natives-windows.jar and /dev/null differ
diff --git a/lib/lwjgl-jemalloc-3.2.3-sources.jar b/lib/lwjgl-jemalloc-3.2.3-sources.jar
deleted file mode 100644
index fa70568..0000000
Binary files a/lib/lwjgl-jemalloc-3.2.3-sources.jar and /dev/null differ
diff --git a/lib/lwjgl-jemalloc-3.2.3.jar b/lib/lwjgl-jemalloc-3.2.3.jar
deleted file mode 100644
index 07029fc..0000000
Binary files a/lib/lwjgl-jemalloc-3.2.3.jar and /dev/null differ
diff --git a/lib/lwjgl-jemalloc-3.2.3-javadoc.jar b/lib/lwjgl-jemalloc-3.3.1-javadoc.jar
similarity index 74%
rename from lib/lwjgl-jemalloc-3.2.3-javadoc.jar
rename to lib/lwjgl-jemalloc-3.3.1-javadoc.jar
index adb48bc..80a167b 100644
Binary files a/lib/lwjgl-jemalloc-3.2.3-javadoc.jar and b/lib/lwjgl-jemalloc-3.3.1-javadoc.jar differ
diff --git a/lib/lwjgl-jemalloc-3.3.1-natives-linux-arm32.jar b/lib/lwjgl-jemalloc-3.3.1-natives-linux-arm32.jar
new file mode 100644
index 0000000..95a13dc
Binary files /dev/null and b/lib/lwjgl-jemalloc-3.3.1-natives-linux-arm32.jar differ
diff --git a/lib/lwjgl-jemalloc-3.3.1-natives-linux-arm64.jar b/lib/lwjgl-jemalloc-3.3.1-natives-linux-arm64.jar
new file mode 100644
index 0000000..cc4dc02
Binary files /dev/null and b/lib/lwjgl-jemalloc-3.3.1-natives-linux-arm64.jar differ
diff --git a/lib/lwjgl-jemalloc-3.3.1-natives-linux.jar b/lib/lwjgl-jemalloc-3.3.1-natives-linux.jar
new file mode 100644
index 0000000..df249fa
Binary files /dev/null and b/lib/lwjgl-jemalloc-3.3.1-natives-linux.jar differ
diff --git a/lib/lwjgl-jemalloc-3.3.1-natives-macos-arm64.jar b/lib/lwjgl-jemalloc-3.3.1-natives-macos-arm64.jar
new file mode 100644
index 0000000..a667c87
Binary files /dev/null and b/lib/lwjgl-jemalloc-3.3.1-natives-macos-arm64.jar differ
diff --git a/lib/lwjgl-jemalloc-3.3.1-natives-macos.jar b/lib/lwjgl-jemalloc-3.3.1-natives-macos.jar
new file mode 100644
index 0000000..f74296d
Binary files /dev/null and b/lib/lwjgl-jemalloc-3.3.1-natives-macos.jar differ
diff --git a/lib/lwjgl-jemalloc-3.3.1-natives-windows-x86.jar b/lib/lwjgl-jemalloc-3.3.1-natives-windows-x86.jar
new file mode 100644
index 0000000..9ad2a91
Binary files /dev/null and b/lib/lwjgl-jemalloc-3.3.1-natives-windows-x86.jar differ
diff --git a/lib/lwjgl-jemalloc-3.3.1-natives-windows.jar b/lib/lwjgl-jemalloc-3.3.1-natives-windows.jar
new file mode 100644
index 0000000..8c3de21
Binary files /dev/null and b/lib/lwjgl-jemalloc-3.3.1-natives-windows.jar differ
diff --git a/lib/lwjgl-jemalloc-3.3.1-sources.jar b/lib/lwjgl-jemalloc-3.3.1-sources.jar
new file mode 100644
index 0000000..adc5a39
Binary files /dev/null and b/lib/lwjgl-jemalloc-3.3.1-sources.jar differ
diff --git a/lib/lwjgl-jemalloc-3.3.1.jar b/lib/lwjgl-jemalloc-3.3.1.jar
new file mode 100644
index 0000000..3ef8862
Binary files /dev/null and b/lib/lwjgl-jemalloc-3.3.1.jar differ
diff --git a/lib/lwjgl-openal-3.2.3-natives-linux-arm32.jar b/lib/lwjgl-openal-3.2.3-natives-linux-arm32.jar
deleted file mode 100644
index fce5eb9..0000000
Binary files a/lib/lwjgl-openal-3.2.3-natives-linux-arm32.jar and /dev/null differ
diff --git a/lib/lwjgl-openal-3.2.3-natives-linux-arm64.jar b/lib/lwjgl-openal-3.2.3-natives-linux-arm64.jar
deleted file mode 100644
index 65ebedb..0000000
Binary files a/lib/lwjgl-openal-3.2.3-natives-linux-arm64.jar and /dev/null differ
diff --git a/lib/lwjgl-openal-3.2.3-natives-linux.jar b/lib/lwjgl-openal-3.2.3-natives-linux.jar
deleted file mode 100644
index 383bf3f..0000000
Binary files a/lib/lwjgl-openal-3.2.3-natives-linux.jar and /dev/null differ
diff --git a/lib/lwjgl-openal-3.2.3-natives-macos.jar b/lib/lwjgl-openal-3.2.3-natives-macos.jar
deleted file mode 100644
index f690b92..0000000
Binary files a/lib/lwjgl-openal-3.2.3-natives-macos.jar and /dev/null differ
diff --git a/lib/lwjgl-openal-3.2.3-natives-windows-x86.jar b/lib/lwjgl-openal-3.2.3-natives-windows-x86.jar
deleted file mode 100644
index 34633e6..0000000
Binary files a/lib/lwjgl-openal-3.2.3-natives-windows-x86.jar and /dev/null differ
diff --git a/lib/lwjgl-openal-3.2.3-natives-windows.jar b/lib/lwjgl-openal-3.2.3-natives-windows.jar
deleted file mode 100644
index 56adadf..0000000
Binary files a/lib/lwjgl-openal-3.2.3-natives-windows.jar and /dev/null differ
diff --git a/lib/lwjgl-openal-3.2.3-sources.jar b/lib/lwjgl-openal-3.2.3-sources.jar
deleted file mode 100644
index 6ca1e29..0000000
Binary files a/lib/lwjgl-openal-3.2.3-sources.jar and /dev/null differ
diff --git a/lib/lwjgl-openal-3.2.3.jar b/lib/lwjgl-openal-3.2.3.jar
deleted file mode 100644
index 8f5f39d..0000000
Binary files a/lib/lwjgl-openal-3.2.3.jar and /dev/null differ
diff --git a/lib/lwjgl-openal-3.2.3-javadoc.jar b/lib/lwjgl-openal-3.3.1-javadoc.jar
similarity index 56%
rename from lib/lwjgl-openal-3.2.3-javadoc.jar
rename to lib/lwjgl-openal-3.3.1-javadoc.jar
index 7152d15..d515e03 100644
Binary files a/lib/lwjgl-openal-3.2.3-javadoc.jar and b/lib/lwjgl-openal-3.3.1-javadoc.jar differ
diff --git a/lib/lwjgl-openal-3.3.1-natives-linux-arm32.jar b/lib/lwjgl-openal-3.3.1-natives-linux-arm32.jar
new file mode 100644
index 0000000..897c123
Binary files /dev/null and b/lib/lwjgl-openal-3.3.1-natives-linux-arm32.jar differ
diff --git a/lib/lwjgl-openal-3.3.1-natives-linux-arm64.jar b/lib/lwjgl-openal-3.3.1-natives-linux-arm64.jar
new file mode 100644
index 0000000..322f5ef
Binary files /dev/null and b/lib/lwjgl-openal-3.3.1-natives-linux-arm64.jar differ
diff --git a/lib/lwjgl-openal-3.3.1-natives-linux.jar b/lib/lwjgl-openal-3.3.1-natives-linux.jar
new file mode 100644
index 0000000..4bc6bc9
Binary files /dev/null and b/lib/lwjgl-openal-3.3.1-natives-linux.jar differ
diff --git a/lib/lwjgl-openal-3.3.1-natives-macos-arm64.jar b/lib/lwjgl-openal-3.3.1-natives-macos-arm64.jar
new file mode 100644
index 0000000..d021df0
Binary files /dev/null and b/lib/lwjgl-openal-3.3.1-natives-macos-arm64.jar differ
diff --git a/lib/lwjgl-openal-3.3.1-natives-macos.jar b/lib/lwjgl-openal-3.3.1-natives-macos.jar
new file mode 100644
index 0000000..0f4570f
Binary files /dev/null and b/lib/lwjgl-openal-3.3.1-natives-macos.jar differ
diff --git a/lib/lwjgl-openal-3.3.1-natives-windows-x86.jar b/lib/lwjgl-openal-3.3.1-natives-windows-x86.jar
new file mode 100644
index 0000000..5f4952f
Binary files /dev/null and b/lib/lwjgl-openal-3.3.1-natives-windows-x86.jar differ
diff --git a/lib/lwjgl-openal-3.3.1-natives-windows.jar b/lib/lwjgl-openal-3.3.1-natives-windows.jar
new file mode 100644
index 0000000..0172f5c
Binary files /dev/null and b/lib/lwjgl-openal-3.3.1-natives-windows.jar differ
diff --git a/lib/lwjgl-openal-3.3.1-sources.jar b/lib/lwjgl-openal-3.3.1-sources.jar
new file mode 100644
index 0000000..5f17394
Binary files /dev/null and b/lib/lwjgl-openal-3.3.1-sources.jar differ
diff --git a/lib/lwjgl-openal-3.3.1.jar b/lib/lwjgl-openal-3.3.1.jar
new file mode 100644
index 0000000..97595e3
Binary files /dev/null and b/lib/lwjgl-openal-3.3.1.jar differ
diff --git a/lib/lwjgl-opengl-3.2.3-javadoc.jar b/lib/lwjgl-opengl-3.2.3-javadoc.jar
deleted file mode 100644
index 5e5ba83..0000000
Binary files a/lib/lwjgl-opengl-3.2.3-javadoc.jar and /dev/null differ
diff --git a/lib/lwjgl-opengl-3.2.3-natives-linux-arm32.jar b/lib/lwjgl-opengl-3.2.3-natives-linux-arm32.jar
deleted file mode 100644
index cebb767..0000000
Binary files a/lib/lwjgl-opengl-3.2.3-natives-linux-arm32.jar and /dev/null differ
diff --git a/lib/lwjgl-opengl-3.2.3-natives-linux-arm64.jar b/lib/lwjgl-opengl-3.2.3-natives-linux-arm64.jar
deleted file mode 100644
index 6aa0769..0000000
Binary files a/lib/lwjgl-opengl-3.2.3-natives-linux-arm64.jar and /dev/null differ
diff --git a/lib/lwjgl-opengl-3.2.3-natives-linux.jar b/lib/lwjgl-opengl-3.2.3-natives-linux.jar
deleted file mode 100644
index bbe4538..0000000
Binary files a/lib/lwjgl-opengl-3.2.3-natives-linux.jar and /dev/null differ
diff --git a/lib/lwjgl-opengl-3.2.3-natives-macos.jar b/lib/lwjgl-opengl-3.2.3-natives-macos.jar
deleted file mode 100644
index 084072e..0000000
Binary files a/lib/lwjgl-opengl-3.2.3-natives-macos.jar and /dev/null differ
diff --git a/lib/lwjgl-opengl-3.2.3-natives-windows-x86.jar b/lib/lwjgl-opengl-3.2.3-natives-windows-x86.jar
deleted file mode 100644
index c7da8fe..0000000
Binary files a/lib/lwjgl-opengl-3.2.3-natives-windows-x86.jar and /dev/null differ
diff --git a/lib/lwjgl-opengl-3.2.3-natives-windows.jar b/lib/lwjgl-opengl-3.2.3-natives-windows.jar
deleted file mode 100644
index 977cfcb..0000000
Binary files a/lib/lwjgl-opengl-3.2.3-natives-windows.jar and /dev/null differ
diff --git a/lib/lwjgl-opengl-3.2.3-sources.jar b/lib/lwjgl-opengl-3.2.3-sources.jar
deleted file mode 100644
index 17ff783..0000000
Binary files a/lib/lwjgl-opengl-3.2.3-sources.jar and /dev/null differ
diff --git a/lib/lwjgl-opengl-3.2.3.jar b/lib/lwjgl-opengl-3.2.3.jar
deleted file mode 100644
index b7dcfa3..0000000
Binary files a/lib/lwjgl-opengl-3.2.3.jar and /dev/null differ
diff --git a/lib/lwjgl-opengl-3.3.1-javadoc.jar b/lib/lwjgl-opengl-3.3.1-javadoc.jar
new file mode 100644
index 0000000..925a83e
Binary files /dev/null and b/lib/lwjgl-opengl-3.3.1-javadoc.jar differ
diff --git a/lib/lwjgl-opengl-3.3.1-natives-linux-arm32.jar b/lib/lwjgl-opengl-3.3.1-natives-linux-arm32.jar
new file mode 100644
index 0000000..d566cee
Binary files /dev/null and b/lib/lwjgl-opengl-3.3.1-natives-linux-arm32.jar differ
diff --git a/lib/lwjgl-opengl-3.3.1-natives-linux-arm64.jar b/lib/lwjgl-opengl-3.3.1-natives-linux-arm64.jar
new file mode 100644
index 0000000..aef5906
Binary files /dev/null and b/lib/lwjgl-opengl-3.3.1-natives-linux-arm64.jar differ
diff --git a/lib/lwjgl-opengl-3.3.1-natives-linux.jar b/lib/lwjgl-opengl-3.3.1-natives-linux.jar
new file mode 100644
index 0000000..f9ea471
Binary files /dev/null and b/lib/lwjgl-opengl-3.3.1-natives-linux.jar differ
diff --git a/lib/lwjgl-opengl-3.3.1-natives-macos-arm64.jar b/lib/lwjgl-opengl-3.3.1-natives-macos-arm64.jar
new file mode 100644
index 0000000..b1abd6e
Binary files /dev/null and b/lib/lwjgl-opengl-3.3.1-natives-macos-arm64.jar differ
diff --git a/lib/lwjgl-opengl-3.3.1-natives-macos.jar b/lib/lwjgl-opengl-3.3.1-natives-macos.jar
new file mode 100644
index 0000000..24c1604
Binary files /dev/null and b/lib/lwjgl-opengl-3.3.1-natives-macos.jar differ
diff --git a/lib/lwjgl-opengl-3.3.1-natives-windows-x86.jar b/lib/lwjgl-opengl-3.3.1-natives-windows-x86.jar
new file mode 100644
index 0000000..c710602
Binary files /dev/null and b/lib/lwjgl-opengl-3.3.1-natives-windows-x86.jar differ
diff --git a/lib/lwjgl-opengl-3.3.1-natives-windows.jar b/lib/lwjgl-opengl-3.3.1-natives-windows.jar
new file mode 100644
index 0000000..07ebba5
Binary files /dev/null and b/lib/lwjgl-opengl-3.3.1-natives-windows.jar differ
diff --git a/lib/lwjgl-opengl-3.3.1-sources.jar b/lib/lwjgl-opengl-3.3.1-sources.jar
new file mode 100644
index 0000000..31f4261
Binary files /dev/null and b/lib/lwjgl-opengl-3.3.1-sources.jar differ
diff --git a/lib/lwjgl-opengl-3.3.1.jar b/lib/lwjgl-opengl-3.3.1.jar
new file mode 100644
index 0000000..0a61e4e
Binary files /dev/null and b/lib/lwjgl-opengl-3.3.1.jar differ
diff --git a/lib/lwjgl-stb-3.3.1-javadoc.jar b/lib/lwjgl-stb-3.3.1-javadoc.jar
new file mode 100644
index 0000000..7a2f0e5
Binary files /dev/null and b/lib/lwjgl-stb-3.3.1-javadoc.jar differ
diff --git a/lib/lwjgl-stb-3.3.1-natives-linux-arm32.jar b/lib/lwjgl-stb-3.3.1-natives-linux-arm32.jar
new file mode 100644
index 0000000..caab715
Binary files /dev/null and b/lib/lwjgl-stb-3.3.1-natives-linux-arm32.jar differ
diff --git a/lib/lwjgl-stb-3.3.1-natives-linux-arm64.jar b/lib/lwjgl-stb-3.3.1-natives-linux-arm64.jar
new file mode 100644
index 0000000..fc8d7d2
Binary files /dev/null and b/lib/lwjgl-stb-3.3.1-natives-linux-arm64.jar differ
diff --git a/lib/lwjgl-stb-3.3.1-natives-linux.jar b/lib/lwjgl-stb-3.3.1-natives-linux.jar
new file mode 100644
index 0000000..75f02ae
Binary files /dev/null and b/lib/lwjgl-stb-3.3.1-natives-linux.jar differ
diff --git a/lib/lwjgl-stb-3.3.1-natives-macos-arm64.jar b/lib/lwjgl-stb-3.3.1-natives-macos-arm64.jar
new file mode 100644
index 0000000..342f5f9
Binary files /dev/null and b/lib/lwjgl-stb-3.3.1-natives-macos-arm64.jar differ
diff --git a/lib/lwjgl-stb-3.3.1-natives-macos.jar b/lib/lwjgl-stb-3.3.1-natives-macos.jar
new file mode 100644
index 0000000..40422e2
Binary files /dev/null and b/lib/lwjgl-stb-3.3.1-natives-macos.jar differ
diff --git a/lib/lwjgl-stb-3.3.1-natives-windows-x86.jar b/lib/lwjgl-stb-3.3.1-natives-windows-x86.jar
new file mode 100644
index 0000000..7bee560
Binary files /dev/null and b/lib/lwjgl-stb-3.3.1-natives-windows-x86.jar differ
diff --git a/lib/lwjgl-stb-3.3.1-natives-windows.jar b/lib/lwjgl-stb-3.3.1-natives-windows.jar
new file mode 100644
index 0000000..0f6876a
Binary files /dev/null and b/lib/lwjgl-stb-3.3.1-natives-windows.jar differ
diff --git a/lib/lwjgl-stb-3.3.1-sources.jar b/lib/lwjgl-stb-3.3.1-sources.jar
new file mode 100644
index 0000000..fc8c6f8
Binary files /dev/null and b/lib/lwjgl-stb-3.3.1-sources.jar differ
diff --git a/lib/lwjgl-stb-3.3.1.jar b/lib/lwjgl-stb-3.3.1.jar
new file mode 100644
index 0000000..db8b94d
Binary files /dev/null and b/lib/lwjgl-stb-3.3.1.jar differ
diff --git a/tsvm_core/src/net/torvald/tsvm/peripheral/GraphicsAdapter.kt b/tsvm_core/src/net/torvald/tsvm/peripheral/GraphicsAdapter.kt
index e9bf585..eaffc83 100644
--- a/tsvm_core/src/net/torvald/tsvm/peripheral/GraphicsAdapter.kt
+++ b/tsvm_core/src/net/torvald/tsvm/peripheral/GraphicsAdapter.kt
@@ -1458,7 +1458,7 @@ void main() {
val TEXT_TILING_SHADER_COLOUR = """
#version 150
-//#extension GL_EXT_gpu_shader4 : enable
+#extension GL_EXT_gpu_shader4 : enable // Mac report that this extension is not supported
out vec4 fragColor;
#ifdef GL_ES
@@ -1583,12 +1583,12 @@ void main() {
val TEXT_TILING_SHADER_MONOCHROME = """
#version 150
+#extension GL_EXT_gpu_shader4 : enable
out vec4 fragColor;
#ifdef GL_ES
precision mediump float;
#endif
-#extension GL_EXT_gpu_shader4 : enable
//layout(origin_upper_left) in vec4 gl_FragCoord; // commented; requires #version 150 or later
// gl_FragCoord is origin to bottom-left
@@ -1713,12 +1713,12 @@ void main() {
val TEXT_TILING_SHADER_LCD = """
#version 150
+#extension GL_EXT_gpu_shader4 : enable
out vec4 fragColor;
#ifdef GL_ES
precision mediump float;
#endif
-#extension GL_EXT_gpu_shader4 : enable
//layout(origin_upper_left) in vec4 gl_FragCoord; // commented; requires #version 150 or later
// gl_FragCoord is origin to bottom-left
@@ -1812,12 +1812,12 @@ void main() {
val TEXT_TILING_SHADER_LCD_NOINV = """
#version 150
+#extension GL_EXT_gpu_shader4 : enable
out vec4 fragColor;
#ifdef GL_ES
precision mediump float;
#endif
-#extension GL_EXT_gpu_shader4 : enable
//layout(origin_upper_left) in vec4 gl_FragCoord; // commented; requires #version 150 or later
// gl_FragCoord is origin to bottom-left
diff --git a/tsvm_core/src/net/torvald/tsvm/peripheral/OpenALBufferedAudioDevice.kt b/tsvm_core/src/net/torvald/tsvm/peripheral/OpenALBufferedAudioDevice.kt
index e04a7cb..635f931 100644
--- a/tsvm_core/src/net/torvald/tsvm/peripheral/OpenALBufferedAudioDevice.kt
+++ b/tsvm_core/src/net/torvald/tsvm/peripheral/OpenALBufferedAudioDevice.kt
@@ -255,6 +255,14 @@ class OpenALBufferedAudioDevice(
return (secondsPerBuffer * bufferCount * 1000).toInt()
}
+ override fun pause() {
+ // A buffer underflow will cause the source to stop.
+ }
+
+ override fun resume() {
+ // Automatically resumes when samples are written
+ }
+
companion object {
private const val bytesPerSample = 2
private val ui8toI16Hi = ByteArray(256) { (128 + it).toByte() }
diff --git a/tsvm_core/src/net/torvald/tsvm/vdc/V2kRunTest.kt b/tsvm_core/src/net/torvald/tsvm/vdc/V2kRunTest.kt
index 7529c22..983b01f 100644
--- a/tsvm_core/src/net/torvald/tsvm/vdc/V2kRunTest.kt
+++ b/tsvm_core/src/net/torvald/tsvm/vdc/V2kRunTest.kt
@@ -105,6 +105,7 @@ fun main() {
ShaderProgram.pedantic = false
val appConfig = Lwjgl3ApplicationConfiguration()
+ appConfig.setOpenGLEmulation(Lwjgl3ApplicationConfiguration.GLEmulation.GL30, 3, 2)
appConfig.setIdleFPS(60)
appConfig.setForegroundFPS(60)
appConfig.useVsync(false)
diff --git a/tsvm_core/tsvm_core.iml b/tsvm_core/tsvm_core.iml
index c5be45b..5b128e1 100644
--- a/tsvm_core/tsvm_core.iml
+++ b/tsvm_core/tsvm_core.iml
@@ -7,10 +7,6 @@
-
-
-
-
@@ -18,5 +14,6 @@
+
\ No newline at end of file
diff --git a/tsvm_executable/src/net/torvald/terrarum/utils/JsonFetcher.kt b/tsvm_executable/src/net/torvald/terrarum/utils/JsonFetcher.kt
index 5631831..c7b6919 100644
--- a/tsvm_executable/src/net/torvald/terrarum/utils/JsonFetcher.kt
+++ b/tsvm_executable/src/net/torvald/terrarum/utils/JsonFetcher.kt
@@ -13,7 +13,7 @@ object JsonFetcher {
@Throws(java.io.IOException::class)
operator fun invoke(jsonFilePath: String): JsonValue {
jsonString = StringBuffer() // reset buffer every time it called
- readJsonFileAsString(jsonFilePath)
+ try { readJsonFileAsString(jsonFilePath) } catch (e: NoSuchFileException) { jsonString = null }
// printdbg(this, "Reading JSON $jsonFilePath")
@@ -27,7 +27,8 @@ object JsonFetcher {
@Throws(java.io.IOException::class)
operator fun invoke(jsonFile: java.io.File): JsonValue {
jsonString = StringBuffer() // reset buffer every time it called
- readJsonFileAsString(jsonFile.canonicalPath)
+ try { readJsonFileAsString(jsonFile.canonicalPath) } catch (e: NoSuchFileException) { jsonString = null }
+
// printdbg(this, "Reading JSON ${jsonFile.path}")
diff --git a/tsvm_executable/src/net/torvald/tsvm/AppLoader.java b/tsvm_executable/src/net/torvald/tsvm/AppLoader.java
index c6ad0ba..0e17f6c 100644
--- a/tsvm_executable/src/net/torvald/tsvm/AppLoader.java
+++ b/tsvm_executable/src/net/torvald/tsvm/AppLoader.java
@@ -22,6 +22,7 @@ public class AppLoader {
ShaderProgram.pedantic = false;
appConfig = new Lwjgl3ApplicationConfiguration();
+ appConfig.setOpenGLEmulation(Lwjgl3ApplicationConfiguration.GLEmulation.GL30, 3, 2);
appConfig.setIdleFPS(60);
appConfig.setForegroundFPS(60);
appConfig.useVsync(false);
diff --git a/tsvm_executable/src/net/torvald/tsvm/TsvmEmulator.java b/tsvm_executable/src/net/torvald/tsvm/TsvmEmulator.java
index 132602b..d819240 100644
--- a/tsvm_executable/src/net/torvald/tsvm/TsvmEmulator.java
+++ b/tsvm_executable/src/net/torvald/tsvm/TsvmEmulator.java
@@ -83,6 +83,7 @@ public class TsvmEmulator {
HEIGHT = VIEWPORT_H * PANELS_Y;
appConfig = new Lwjgl3ApplicationConfiguration();
+ appConfig.setOpenGLEmulation(Lwjgl3ApplicationConfiguration.GLEmulation.GL30, 3, 2);
appConfig.setIdleFPS(60);
appConfig.setForegroundFPS(60);
appConfig.useVsync(false);