| 54 | } |
| 55 | |
| 56 | Result shortcutCreate(shortcut_s* s, const char* path) |
| 57 | { |
| 58 | memset(s, 0, sizeof(*s)); |
| 59 | Result res = shortcutLoad(s, path); |
| 60 | if (R_FAILED(res)) |
| 61 | shortcutFree(s); |
| 62 | return res; |
| 63 | } |
| 64 | |
| 65 | void shortcutFree(shortcut_s* s) |
| 66 | { |
no test coverage detected