diff --git a/obj_files.mk b/obj_files.mk index 28a19639..4fc11c8d 100644 --- a/obj_files.mk +++ b/obj_files.mk @@ -702,7 +702,7 @@ OS_FILES :=\ $(BUILD_DIR)/asm/Dolphin/os/OSReboot.o\ $(BUILD_DIR)/asm/Dolphin/os/OSReset.o\ $(BUILD_DIR)/asm/Dolphin/os/OSResetSW.o\ - $(BUILD_DIR)/asm/Dolphin/os/OSRtc.o\ + $(BUILD_DIR)/src/Dolphin/os/OSRtc.ep.o\ $(BUILD_DIR)/src/Dolphin/os/OSSync.o\ $(BUILD_DIR)/asm/Dolphin/os/OSThread.o\ $(BUILD_DIR)/asm/Dolphin/os/OSTime.o\ diff --git a/src/Dolphin/os/OSRtc.c b/src/Dolphin/os/OSRtc.c index 83d0e92e..97326080 100644 --- a/src/Dolphin/os/OSRtc.c +++ b/src/Dolphin/os/OSRtc.c @@ -36,9 +36,9 @@ static BOOL GetRTC(u32* rtc) { cmd = RTC_CMD_READ; err = FALSE; - err |= !EXIImm(RTC_CHAN, &cmd, 4, 0x12345, NULL); + err |= !EXIImm(RTC_CHAN, &cmd, 4, 1, NULL); err |= !EXISync(RTC_CHAN); - err |= !EXIImm(RTC_CHAN, &cmd, 4, 0x17231, NULL); + err |= !EXIImm(RTC_CHAN, &cmd, 4, 0, NULL); err |= !EXISync(RTC_CHAN); err |= !EXIDeselect(RTC_CHAN); EXIUnlock(RTC_CHAN); @@ -83,9 +83,9 @@ BOOL __OSSetRTC(u32 rtc) { cmd = RTC_CMD_WRITE; err = FALSE; - err |= !EXIImm(RTC_CHAN, &cmd, 4, 0x54321, NULL); + err |= !EXIImm(RTC_CHAN, &cmd, 4, 1, NULL); err |= !EXISync(RTC_CHAN); - err |= !EXIImm(RTC_CHAN, &rtc, 4, 0x12345, NULL); + err |= !EXIImm(RTC_CHAN, &rtc, 4, 1, NULL); err |= !EXISync(RTC_CHAN); err |= !EXIDeselect(RTC_CHAN); EXIUnlock(RTC_CHAN);