From fab05573d970b312ac44de26751eefaf8135e76b Mon Sep 17 00:00:00 2001 From: John Alanbrook Date: Mon, 15 Apr 2024 15:01:28 -0500 Subject: [PATCH] remove steam --- source/engine/jsffi.c | 2 +- source/engine/steam.cpp | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/source/engine/jsffi.c b/source/engine/jsffi.c index 5734c54..22d3be2 100644 --- a/source/engine/jsffi.c +++ b/source/engine/jsffi.c @@ -1559,7 +1559,7 @@ void ffi_load() { JS_SetPropertyStr(js, globalThis, "window", window2js(&mainwin)); JS_SetPropertyStr(js, globalThis, "texture", JS_DupValue(js,texture_proto)); - JS_SetPropertyStr(js, globalThis, "steam", js_init_steam(js)); + //JS_SetPropertyStr(js, globalThis, "steam", js_init_steam(js)); sound_proto = JS_NewObject(js); JS_SetPropertyStr(js,globalThis, "sound_proto", sound_proto); diff --git a/source/engine/steam.cpp b/source/engine/steam.cpp index b389d75..bd8a86a 100644 --- a/source/engine/steam.cpp +++ b/source/engine/steam.cpp @@ -1,5 +1,5 @@ #include "steam.h" - +/* #include #include @@ -18,4 +18,5 @@ JSValue js_init_steam(JSContext *js) JSValue steam = JS_NewObject(js); JS_SetPropertyFunctionList(js, steam, js_steam_funcs, countof(js_steam_funcs)); return steam; -} \ No newline at end of file +} +*/ \ No newline at end of file