diff options
author | Arisotura <thetotalworm@gmail.com> | 2023-10-30 18:37:49 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-30 18:37:49 +0100 |
commit | 9a450f5f28969cfa601ceda5f225cc1f03243374 (patch) | |
tree | 717c933ce1572f5ecd403a7ea8bb7f4bd2754db0 /src/Platform.h | |
parent | 21590b070976f8fe343fdc44d4fee599cbda94f4 (diff) |
RTC revamp (#1867)
* get this started
* implement DSi RTC commands
* set up RTC clock timer. lay down basic idea of a clock.
* make the date/time registers writable
* move RTC state to its own structure, to make it easier to deal with
* more RTC work
lay base for date/time dialog
* get the bulk of the RTC functionality going
* much simpler design for RTC stuff
* aha, that is what it is
* start working on the RTC IRQ
* implement all types of RTC IRQ
* start refining sleep mode. code still kinda sucks.
* implement keypad IRQ
* refine it some more
* shut the fuck uuuuuupppppppppppppp
Diffstat (limited to 'src/Platform.h')
-rw-r--r-- | src/Platform.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Platform.h b/src/Platform.h index a379d85..144fce1 100644 --- a/src/Platform.h +++ b/src/Platform.h @@ -337,6 +337,9 @@ void WriteGBASave(const u8* savedata, u32 savelen, u32 writeoffset, u32 writelen /// @param writelen The number of bytes that were written to firmware. void WriteFirmware(const SPI_Firmware::Firmware& firmware, u32 writeoffset, u32 writelen); +// called when the RTC date/time is changed and the frontend might need to take it into account +void WriteDateTime(int year, int month, int day, int hour, int minute, int second); + // local multiplayer comm interface // packet type: DS-style TX header (12 bytes) + original 802.11 frame |