bryc
94cdc8dc0f
More accurate MPK initialization
2020-05-09 03:00:06 -04:00
zilmar
6a65305e74
[Project64] More fixing for android
2018-11-20 14:11:32 +10:30
zilmar
b93736414f
[Project64] Normalize paths
2018-11-19 21:16:58 +10:30
Iconoclast
0a82600d19
s/Mempak.H/Mempak.h
2017-07-30 12:32:50 -04:00
zilmar
d5c43bfcba
[Project64] Update mem pak handling to deal with reseting save
2017-01-22 19:59:26 +11:00
zilmar
1d7bdd2c27
[Project64] Only create mempak on write
2017-01-21 10:11:14 +11:00
zilmar
fd69ab6b18
[Project64] Add Profiling
2016-10-03 08:46:05 +11:00
zilmar
676be8fcdc
[Project64] Make the mempak belong to the n64 system
2016-07-07 21:51:06 +10:00
Frank-74
a673aa3295
Fix Save Lag
2016-07-04 19:16:38 +01:00
Emmet Young
ff4bd28e3e
Change up Mempak so it uses CFile class.
...
Also modify the way mempaks are loaded and written. We only write the bytes that have been changed now, rather then writing the whole file every time the mempak is written to.
2016-05-16 18:23:31 +10:00
zilmar
02d7ac014e
[Project64] Make sure each game has a unique save dir
2016-04-22 06:29:55 +10:00
Emmet Young
c696cb79c3
Ensures paks are only being initialized when they have actually been selected, Transferpak needs multi controller support eventually as it currently just loads from the one singular option.
2016-02-09 18:57:30 +11:00
zilmar
2ec7a92dfc
Merge pull request #973 from cxd4/mempak-OCD
...
[Project64-core] OCD clean-ups with the mempak unit
2016-02-05 08:23:14 +11:00
zilmar
e5cd8765f8
Merge pull request #972 from cxd4/mempak-stdio
...
[Project64-core] Have stdio.h to guarantee fopen() and fclose().
2016-02-05 08:21:06 +11:00
cf221dc21b
Don't use lowercase digits in hex.
2016-02-04 14:47:47 -05:00
3dbe8d1494
padding by saying + 0 for consistency
2016-02-04 14:40:45 -05:00
ebbecdef7e
0x8000 = 32768 = pages * bytes_per_page
2016-02-04 14:39:43 -05:00
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
41ff26122a
Have stdio.h to guarantee fopen() and fclose().
2016-02-04 14:16:46 -05:00
zilmar
d70ad198b4
Merge branch 'master' of https://github.com/project64/project64
2016-02-01 17:05:45 +11:00
zilmar
4f61d7c5a3
[Project64] Get MempakNames to set path in CPath constructor
2016-02-01 17:03:19 +11: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