input: fix default config restore, option for paddle/spinner button allocation from core.

This commit is contained in:
sorgelig
2020-03-08 23:52:42 +08:00
parent 1dfd580722
commit 1ba97325e4
4 changed files with 35 additions and 34 deletions

View File

@@ -638,7 +638,8 @@ int FileDelete(const char *name)
if (name[0] != '/') sprintf(full_path, "%s/%s", getRootDir(), name);
else strcpy(full_path, name);
return !unlink(name);
printf("delete %s\n", full_path);
return !unlink(full_path);
}
int FileLoad(const char *name, void *pBuffer, int size)