| 456 | } |
| 457 | |
| 458 | static char* XST_translate_sid_path(U32 sid, char* extension) |
| 459 | { |
| 460 | // NOTE: This buffer extends for 0x44 bytes in the rom |
| 461 | // However, I think that's most likely padding for the jumptable that occurs afterwards |
| 462 | static char fname[0x40] = {}; |
| 463 | char pathSeparator[2] = "/"; |
| 464 | sprintf(fname, "%c%c%s%s%s", *xUtil_idtag2string(sid, 0), *(xUtil_idtag2string(sid, 0) + 1), |
| 465 | pathSeparator, xUtil_idtag2string(sid, 0), extension); |
| 466 | return fname; |
| 467 | } |
| 468 | |
| 469 | static void XST_reset_raw() |
| 470 | { |
no test coverage detected