| 795 | |
| 796 | // |
| 797 | S32 PKR_IsAssetReady(st_PACKER_READ_DATA* pr, U32 aid) |
| 798 | { |
| 799 | S32 ready = false; |
| 800 | S32 idx = XOrdLookup(&pr->asstoc, (void*)aid, OrdTest_R_AssetID); |
| 801 | if (idx >= 0) |
| 802 | { |
| 803 | st_PACKER_ATOC_NODE* assnode = (st_PACKER_ATOC_NODE*)pr->asstoc.list[idx]; |
| 804 | if (assnode->loadflag & 0x80000) |
| 805 | { |
| 806 | ready = true; |
| 807 | } |
| 808 | else |
| 809 | { |
| 810 | ready = false; |
| 811 | } |
| 812 | } |
| 813 | |
| 814 | return ready; |
| 815 | } |
| 816 | |
| 817 | U32 PKR_getPackTimestamp(st_PACKER_READ_DATA* pr) |
| 818 | { |
nothing calls this directly
no test coverage detected