remove steam

This commit is contained in:
John Alanbrook 2024-04-15 15:01:28 -05:00
parent 9d75b38098
commit fab05573d9
2 changed files with 4 additions and 3 deletions

View file

@ -1559,7 +1559,7 @@ void ffi_load() {
JS_SetPropertyStr(js, globalThis, "window", window2js(&mainwin)); JS_SetPropertyStr(js, globalThis, "window", window2js(&mainwin));
JS_SetPropertyStr(js, globalThis, "texture", JS_DupValue(js,texture_proto)); 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); sound_proto = JS_NewObject(js);
JS_SetPropertyStr(js,globalThis, "sound_proto", sound_proto); JS_SetPropertyStr(js,globalThis, "sound_proto", sound_proto);

View file

@ -1,5 +1,5 @@
#include "steam.h" #include "steam.h"
/*
#include <steam/steam_api.h> #include <steam/steam_api.h>
#include <steam/steam_api_flat.h> #include <steam/steam_api_flat.h>
@ -18,4 +18,5 @@ JSValue js_init_steam(JSContext *js)
JSValue steam = JS_NewObject(js); JSValue steam = JS_NewObject(js);
JS_SetPropertyFunctionList(js, steam, js_steam_funcs, countof(js_steam_funcs)); JS_SetPropertyFunctionList(js, steam, js_steam_funcs, countof(js_steam_funcs));
return steam; return steam;
} }
*/