foxygit / fake-08-xbox360 Log in
commit 7a4b46d51ca1f62e4f331b0bd882713741584842
Author:     Jon Bell <j.to.the.bell@gmail.com>
AuthorDate: Mon Feb 21 15:06:49 2022 -0700
Commit:     Jon Bell <j.to.the.bell@gmail.com>
CommitDate: Mon Feb 21 15:06:49 2022 -0700

    Add stag values 120-122 (return false)
---
 source/picoluaapi.cpp | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/source/picoluaapi.cpp b/source/picoluaapi.cpp
index ef88661..5fcd5d1 100644
--- a/source/picoluaapi.cpp
+++ b/source/picoluaapi.cpp
@@ -910,6 +910,19 @@ int stat(lua_State *L) {
             lua_pushnumber(L, 32);
             return 1;
         break;
+        //bytestream availability (dropped file or image. not supported)
+        case 120:
+            lua_pushboolean(L, false);
+            return 1;
+        break;
+        case 121:
+            lua_pushboolean(L, false);
+            return 1;
+        break;
+        case 122:
+            lua_pushboolean(L, false);
+            return 1;
+        break;
     }