- printf("%s state %d\n", ret ? "failed to load" : "loaded", loadst);
- }
- if (loadst_f) {
- int ret = LoadState(loadst_f);
- printf("%s state file: %s\n", ret ? "failed to load" : "loaded", loadst_f);
+ SysPrintf("%s state %d\n",
+ ret ? "failed to load" : "loaded", loadst);