MCPcopy Create free account
hub / github.com/PCSX2/pcsx2 / irxImportExec

Function irxImportExec

pcsx2/IopBios.cpp:1422–1441  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

psxJFunction · 0.85

Calls 5

iopMemReadStringFunction · 0.85
irxImportFuncnameFunction · 0.85
irxImportHLEFunction · 0.85
irxImportDebugFunction · 0.85
irxImportLogFunction · 0.85

Tested by

no test coverage detected