| 17 | } |
| 18 | |
| 19 | bool fileExists(const char* path) |
| 20 | { |
| 21 | struct stat st; |
| 22 | return stat(path, &st) == 0 && S_ISREG(st.st_mode); |
| 23 | } |
| 24 | |
| 25 | bool menuEntryLoadExternalIcon(menuEntry_s* me, const char* filepath) { |
| 26 | FILE* iconFile = fopen(filepath, "rb"); |
no test coverage detected