Commit Graph

10 Commits

Author SHA1 Message Date
53e07d02e2 Have <memory> included to guarantee std::auto_ptr. 2016-02-04 14:09:56 -05:00
Emmet Young 494ad71352 Change declaration, we should only need int. 2016-02-04 12:57:09 +11:00
Emmet Young e6b1fd3aec Fix up reading and writing of the RTC data to the save file.
Correct the RTC emulation behaviour, made it more like NRAGES, various emulators i was basing mine off seemed to not correctly update the RTC.
2016-02-04 00:33:03 +11:00
Emmet Young dd7cf4af10 Missed two frees, when swapping out for deletes 2016-02-03 13:42:06 +11:00
Emmet Young 26d4bea1f1 Switch to using an auto_ptr for our buffers, and switch fopen/fwrites. to make use of the CFile class. 2016-02-03 13:34:52 +11:00
Emmet Young 696d419e5b Improve behaviour of MBC3 if statements. 2016-02-02 19:44:18 +11:00
Emmet Young 1ddeb52f7f Allow transferpaks to be set through the RDB. Still need to implement the actual settings in the GUI 2016-02-01 23:41:46 +11:00
Emmet Young 258a5a0eb8 Transferpak: Add support for RAM saving, and RTC saving (Visual Boy Advance format)
Remove UpdateRTC() till I can get a better idea if the RTC code works properly.
2016-02-01 19:58:37 +11:00
Emmet Young 74d3825870 Basic implementation of the RTC for the Transferpak.
Unable to properly test this due to Project64 not being able to emulate the co-processor - http://www.emutalk.net/threads/54598-Pok%C3%A9mon-Stadium-%28Pocket-Monster-Stadium%29-requires-RSP-emulation @project64 @LuigiBlood @LegendOfDragoon
2016-01-31 01:52:26 +11:00
Emmet Young ff5fcf6d33 Basic implementation of the Transferpak, is now partially working.
Have to re-implement the RTC and ensure the mbc emulation of all current carts is accurate.
Settings implementation needs to be done as well.

This code is based on work from NRAGE and Bobby Smiles work on Mupen64plus's implementation.
2016-01-29 22:17:59 +11:00