Commit Graph

14 Commits

Author SHA1 Message Date
8be4b5bb0e Use size_t. 2016-02-04 14:37:54 -05:00
b50313da98 Use sizeof() instead of re-pasting a size literal. 2016-02-04 14:37:27 -05:00
a8116b0908 Technically, Initialize[] is an array, not a pointer. 2016-02-04 14:35:00 -05:00
17a2b6e8fc Make it const since we'll never write to it. 2016-02-04 14:34:07 -05:00
25c537613e *Statically* allocate mempak page 0 buffer. 2016-02-04 14:32:43 -05:00
ab7671964b Re-express Mempaks[][] allocation as pages * bytes_per_page. 2016-02-04 14:30:23 -05:00
Emmet Young c6fa59ac3a Made a slight mistake when porting over from my old branch.
Mempak and Rumblepak will work fine again.
2016-01-28 22:51:48 +11:00
Emmet Young e879431606 Prepare the emulator for easier implementation of the transferpak, pass Command[5] directly into the Pak functions, and also generate the address beforehand. 2016-01-28 21:58:14 +11:00
Emmet Young 643a684c77 Change up the way Mempaks are meant to work, use the standard file functions. Mempaks are now loaded in when the game launches, and file handles are only opened durring read and writes 2016-01-28 14:02:05 +11:00
zilmar ff8623ad2c [Project64] Mempak uses standard types 2016-01-05 07:37:09 +11:00
no c1d80674fe s/common/Common 2015-12-19 18:57:27 -05:00
zilmar 95a3319735 [Project64] Update logging system to use module and severity 2015-12-14 21:51:33 +11:00
zilmar 21bce73cca [Project64] Cleanup Mempak.cpp 2015-12-13 18:29:48 +11:00
zilmar a429a7fd08 [Project64] Create Project64-core 2015-12-06 21:05:39 +11:00