mirror of
https://github.com/spice2x/spice2x.github.io.git
synced 2026-10-05 21:28:00 +03:00
Updated Spice SDK (markdown)
+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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user