diff --git a/src/operations.cpp b/src/operations.cpp index 70201d3..2cbe3f3 100644 --- a/src/operations.cpp +++ b/src/operations.cpp @@ -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 } }, diff --git a/src/symbol_lists.cpp b/src/symbol_lists.cpp index cbe5ff5..9703fca 100644 --- a/src/symbol_lists.cpp +++ b/src/symbol_lists.cpp @@ -58,6 +58,7 @@ const std::unordered_set N64Recomp::reimplemented_funcs { // Parallel interface (cartridge, DMA, etc.) functions "osCartRomInit", "osCreatePiManager", + "osPiReadIo", "osPiStartDma", "osEPiStartDma", "osPiGetStatus", @@ -268,7 +269,7 @@ const std::unordered_set N64Recomp::ignored_funcs { "__osDevMgrMain", "osPiGetCmdQueue", "osPiGetStatus", - "osPiReadIo", + //"osPiReadIo", "osPiStartDma", "osPiWriteIo", "osEPiGetDeviceType",