foxygit / fake-08-xbox360 Log in
commit 5bf98aa93d1475a27c6b27c90fc7869740f49885
Author:     jtothebell <j.to.the.bell@gmail.com>
AuthorDate: Sat Sep 17 12:56:19 2022 -0600
Commit:     jtothebell <j.to.the.bell@gmail.com>
CommitDate: Sat Sep 17 12:56:19 2022 -0600

    try disabling audio
---
 source/picoluaapi.cpp | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/source/picoluaapi.cpp b/source/picoluaapi.cpp
index e013643..111b0c3 100644
--- a/source/picoluaapi.cpp
+++ b/source/picoluaapi.cpp
@@ -958,6 +958,8 @@ int stat(lua_State *L) {

 //Audio
 int music(lua_State *L) {
+    return 0;
+    /*
     int n = lua_tonumber(L,1);
     int fadems = 0;
     if (lua_gettop(L) > 1) {
@@ -969,11 +971,13 @@ int music(lua_State *L) {
     }

     _audioForLuaApi->api_music(n, fadems, channelmask);
-
+*/
     return 0;
 }

 int sfx(lua_State *L) {
+    return 0;
+    /*
     fix32 n = lua_tonumber(L,1);
     int channel = -1;
     if (lua_gettop(L) > 1) {
@@ -985,7 +989,7 @@ int sfx(lua_State *L) {
     }

     _audioForLuaApi->api_sfx((int)n, channel, offset);
-
+    */
     return 0;
 }