| 336 | } |
| 337 | |
| 338 | S32 xSTGetAssetInfo(U32 aid, st_PKR_ASSET_TOCINFO* tocainfo) |
| 339 | { |
| 340 | S32 rc = 0; |
| 341 | S32 scncnt = XST_cnt_locked(); |
| 342 | for (S32 i = 0; i < scncnt; i++) |
| 343 | { |
| 344 | st_STRAN_SCENE* sdata = XST_nth_locked(i); |
| 345 | if (g_pkrf->PkgHasAsset(sdata->spkg, aid) != NULL) |
| 346 | { |
| 347 | g_pkrf->GetBaseSector(sdata->spkg); |
| 348 | if (g_pkrf->GetAssetInfo(sdata->spkg, aid, tocainfo)) |
| 349 | { |
| 350 | rc = 1; |
| 351 | break; |
| 352 | } |
| 353 | } |
| 354 | } |
| 355 | return rc; |
| 356 | } |
| 357 | |
| 358 | // Equivalent: scheduling is off with the copy of tocinfo to ainfo |
| 359 | S32 xSTGetAssetInfoByType(U32 type, S32 idx, st_PKR_ASSET_TOCINFO* ainfo) |
no test coverage detected