Updated Spice SDK (markdown)

bicarus
2026-05-12 17:58:31 -07:00
parent cd6a1b3602
commit d4e5205ab4
+3 -2
@@ -52,10 +52,11 @@ spice_sdk_entry_point(
}
// after this point, you can call into the functions in "spice_sdk" function table
// spin up a worker thread here and do work there (see C++ sample below on how to do that)
// you must return from this routine; this is a blocking call so the game won't boot
spice.log(SPICE_SDK_LOG_LEVEL_INFO, "my_hook", "plugin loaded successfully!");
// TODO: spin up a worker thread here and do work there (see C++ sample below on how to do that)
// you must return quickly from this routine; this is a blocking call so the game won't boot if you stay here
// return value is not checked, but it is logged
return 1;
}