| 1420 | } |
| 1421 | |
| 1422 | int irxImportExec(u32 import_table, u16 index) |
| 1423 | { |
| 1424 | if (!import_table) |
| 1425 | return 0; |
| 1426 | |
| 1427 | std::string libname = iopMemReadString(import_table + 12, 8); |
| 1428 | const char* funcname = irxImportFuncname(libname, index); |
| 1429 | irxHLE hle = irxImportHLE(libname, index); |
| 1430 | irxDEBUG debug = irxImportDebug(libname, index); |
| 1431 | |
| 1432 | irxImportLog(libname, index, funcname); |
| 1433 | |
| 1434 | if (debug) |
| 1435 | debug(); |
| 1436 | |
| 1437 | if (hle) |
| 1438 | return hle(); |
| 1439 | else |
| 1440 | return 0; |
| 1441 | } |
| 1442 | |
| 1443 | } // end namespace R3000A |
| 1444 |
no test coverage detected