| 91 | } |
| 92 | |
| 93 | int getFileSize(const char *file) { |
| 94 | SceUID fd = sceIoOpen(file, SCE_O_RDONLY, 0); |
| 95 | if (fd < 0) |
| 96 | return fd; |
| 97 | |
| 98 | int fileSize = sceIoLseek(fd, 0, SCE_SEEK_END); |
| 99 | |
| 100 | sceIoClose(fd); |
| 101 | return fileSize; |
| 102 | } |
| 103 | |
| 104 | int checkFileExist(const char *file) { |
| 105 | SceUID fd = sceIoOpen(file, SCE_O_RDONLY, 0); |
no outgoing calls
no test coverage detected