make osPiReadIo no longer ignored

This commit is contained in:
Rainchus 2025-02-27 15:52:07 -06:00
parent d660733116
commit 99ca32baf8
2 changed files with 4 additions and 1 deletions

View file

@ -9,6 +9,8 @@ namespace N64Recomp {
{ InstrId::cpu_mflo, { UnaryOpType::None, Operand::Rd, Operand::Lo } },
{ InstrId::cpu_mtc1, { UnaryOpType::None, Operand::FsU32L, Operand::Rt } },
{ InstrId::cpu_mfc1, { UnaryOpType::ToInt32, Operand::Rt, Operand::FsU32L } },
{ InstrId::cpu_dmtc1, { UnaryOpType::None, Operand::FsU64, Operand::Rt } },
{ InstrId::cpu_dmfc1, { UnaryOpType::None, Operand::Rt, Operand::FsU64 } },
// Float operations
{ InstrId::cpu_mov_s, { UnaryOpType::None, Operand::Fd, Operand::Fs, true } },
{ InstrId::cpu_mov_d, { UnaryOpType::None, Operand::FdDouble, Operand::FsDouble, true } },

View file

@ -58,6 +58,7 @@ const std::unordered_set<std::string> N64Recomp::reimplemented_funcs {
// Parallel interface (cartridge, DMA, etc.) functions
"osCartRomInit",
"osCreatePiManager",
"osPiReadIo",
"osPiStartDma",
"osEPiStartDma",
"osPiGetStatus",
@ -268,7 +269,7 @@ const std::unordered_set<std::string> N64Recomp::ignored_funcs {
"__osDevMgrMain",
"osPiGetCmdQueue",
"osPiGetStatus",
"osPiReadIo",
//"osPiReadIo",
"osPiStartDma",
"osPiWriteIo",
"osEPiGetDeviceType",