aboutsummaryrefslogtreecommitdiff
path: root/emulators/tic-80/files/patch-src_api_moonscript.c
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/tic-80/files/patch-src_api_moonscript.c')
-rw-r--r--emulators/tic-80/files/patch-src_api_moonscript.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/emulators/tic-80/files/patch-src_api_moonscript.c b/emulators/tic-80/files/patch-src_api_moonscript.c
new file mode 100644
index 000000000000..15f0f1abbb37
--- /dev/null
+++ b/emulators/tic-80/files/patch-src_api_moonscript.c
@@ -0,0 +1,12 @@
+--- src/api/moonscript.c.orig 2023-05-22 10:36:00 UTC
++++ src/api/moonscript.c
+@@ -86,9 +86,6 @@ static bool initMoonscript(tic_mem* tic, const char* c
+ lua_State* lua = core->currentVM = luaL_newstate();
+ lua_open_builtins(lua);
+
+- luaopen_lpeg(lua);
+- setloaded(lua, "lpeg");
+-
+ initLuaAPI(core);
+
+ {