IOPBios: Hook iomanx library as well as ioman

Fixes fileXio incompatibility
This commit is contained in:
Ty Lamontagne 2022-09-07 15:04:34 -04:00 committed by refractionpcsx2
parent 256e845e7a
commit cee8598b3f
1 changed files with 7 additions and 1 deletions

View File

@ -964,6 +964,12 @@ namespace R3000A
using namespace n; \
switch (index) \
{
#define MODULE_2(n1, n2) \
if (#n1 == libname || #n2 == libname) \
{ \
using namespace n1; \
switch (index) \
{
#define END_MODULE \
} \
}
@ -983,7 +989,7 @@ namespace R3000A
EXPORT_H( 14, Kprintf)
END_MODULE
MODULE(ioman)
MODULE_2(ioman, iomanx)
EXPORT_H( 4, open)
EXPORT_H( 5, close)
EXPORT_H( 6, read)