This commit is contained in:
tunm
2025-05-22 16:07:26 +08:00
parent efb5639ec6
commit 7e25e4e482
168 changed files with 6434 additions and 2527 deletions

View File

@@ -0,0 +1,19 @@
#include <inspireface.h>
int main() {
const char* resourcePath = "test_res/pack/Pikachu";
HResult ret = HFReloadInspireFace(resourcePath);
if (ret != HSUCCEED) {
HFLogPrint(HF_LOG_ERROR, "Failed to launch InspireFace: %d", ret);
return 1;
}
// Switch to another resource
ret = HFReloadInspireFace("test_res/pack/Megatron");
if (ret != HSUCCEED) {
HFLogPrint(HF_LOG_ERROR, "Failed to reload InspireFace: %d", ret);
return 1;
}
return 0;
}