| 42 | #define MAX_DLC_PER_TITLE 1024 |
| 43 | |
| 44 | int isCustomHomebrew(const char* path) |
| 45 | { |
| 46 | uint32_t work[RIF_SIZE/4]; |
| 47 | |
| 48 | if (ReadFile(path, work, sizeof(work)) != sizeof(work)) |
| 49 | return 0; |
| 50 | |
| 51 | for (int i = 0; i < sizeof(work) / sizeof(uint32_t); i++) |
| 52 | if (work[i] != 0) |
| 53 | return 0; |
| 54 | |
| 55 | return 1; |
| 56 | } |
| 57 | |
| 58 | int refreshNeeded(const char *app_path, const char* content_type) |
| 59 | { |
no test coverage detected