foxygit / fake-08-xbox360 Log in
commit 4d373d8550bafc58459f41cc77cf6b4eb92384a0
Author:     Jon Bell <j.to.the.bell@gmail.com>
AuthorDate: Tue Jan 13 19:53:19 2026 -0700
Commit:     Jon Bell <j.to.the.bell@gmail.com>
CommitDate: Tue Jan 13 19:53:19 2026 -0700

    fix load args getting truncated before they get to native code
---
 source/p8GlobalLuaFunctions.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/source/p8GlobalLuaFunctions.h b/source/p8GlobalLuaFunctions.h
index 2a729a2..3158b96 100644
--- a/source/p8GlobalLuaFunctions.h
+++ b/source/p8GlobalLuaFunctions.h
@@ -401,10 +401,10 @@ function flip()
 end

 -- Load a cart from file or URL
-function load(arg)
+function load(arg, arg2, arg3)
     local success, msg

-    success, msg = __load(arg), ""
+    success, msg = __load(arg, arg2, arg3), ""

     return success