Commit Graph

1860 Commits

Author SHA1 Message Date
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 a43449ea0e Merge pull request #987 from cxd4/settings
[Settings] Get it building on non-Windows platforms.
2016-02-09 10:55:19 +11:00
fd4c2902d2 [Settings] added working Unix build shell script 2016-02-06 17:35:50 -05:00
56ed3cbc66 [Settings] unresolved strlen() 2016-02-06 17:34:46 -05:00
7e7f78630c [Settings] _snprintf is #define'd in Common/Platform.h. 2016-02-06 17:33:46 -05:00
4dcc7eda5c [Settings] Replace DWORD w/ unsigned long or maybe uint32_t. 2016-02-06 17:31:52 -05:00
393cbc09dd [Settings] Remove windows.h to see why we need it. :P 2016-02-06 17:25:04 -05:00
3038a8f288 [Settings] #define EXPORT to abolish some MSVC-isms. 2016-02-06 17:23:27 -05:00
zilmar 26565f1a9b Merge pull request #986 from Nekokabu/patch-2
disable some trying to store XXXXXXXX error
2016-02-07 06:16:53 +11:00
zilmar c7635a8194 Merge pull request #985 from cxd4/common-shell-x64PIC
[Common] 64-bit needs -fPIC for sectional linkage.
2016-02-07 06:15:56 +11:00
Nekokabu b9b64035b5 disable some trying to store XXXXXXXX error 2016-02-06 23:05:32 +09:00
37f41f2d45 [Common] 64-bit needs -fPIC for sectional linkage. 2016-02-06 05:36:44 -05:00
LegendOfDragoon e08b1b93ec Optimize UpdateTimers 2016-02-06 00:07:15 -08:00
zilmar 917d90b057 Merge pull request #981 from cxd4/glide-trace-string
[Glide64] undeclared memset and strlen in trace.cpp
2016-02-06 13:11:04 +11:00
a8fa006740 [Glide64] undeclared memset and strlen in trace.cpp 2016-02-05 18:53:58 -05:00
zilmar 3ab7328daf Merge pull request #979 from cxd4/patch-1
[Common] leftover remnant of Win32 command shell
2016-02-06 06:56:09 +11:00
zilmar 3bc6aa55cc Merge pull request #978 from cxd4/glitch-WriteTrace
[Glitch64] unresolved reference to old macro LOG()
2016-02-06 06:55:07 +11:00
zilmar bdeeef1fd5 Merge pull request #977 from cxd4/glitch-includes
[Glitch64] need forward slashes for C standard paths
2016-02-06 06:54:35 +11:00
cxd4 1580876b15 [Common] leftover remnant of Win32 command shell
I found out the hard way while getting `libglitch64.a` to link into PJ64 Glide64 on Linux that I was getting an 8-byte static library file.  This was because the Unix shell variable `$OBJ_LIST` was null, due to using the `set` keyword which was a result of lazy copy pasta while porting my MinGW script to compile the PJ64 Common library on Windows.
2016-02-05 03:32:43 -05:00
3609ca388e [Glitch64] unresolved reference to old macro LOG() 2016-02-05 02:57:00 -05:00
8e11a9e1ae [Glitch64] need forward slashes for C standard paths 2016-02-05 02:46:48 -05:00
ab55df84e2 [Glide64] fixed yet again the case-sensitive include 2016-02-04 20:48:44 -05: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
53e07d02e2 Have <memory> included to guarantee std::auto_ptr. 2016-02-04 14:09:56 -05:00
zilmar 612bbb71e5 [Project64] Add GBCart.cpp to vs2008 2016-02-04 22:03:16 +11:00
zilmar 1c10025848 [Project64] Add N64System\Mips\Transferpak.cpp to vs2008 project 2016-02-04 21:57:34 +11:00
zilmar 77665d7278 [Glide64] Remove 3rdParty/glide 2016-02-04 21:50:43 +11:00
zilmar a99a64dc03 [Glide64] Fix up missing log message 2016-02-04 21:49:54 +11:00
zilmar 7fe12881df [Project64] Use Common/stdtypes.h instead of stdint.h 2016-02-04 21:28:07 +11:00
zilmar 3914220a30 Merge pull request #965 from death-droid/TransferPack
Transfer pack
2016-02-04 21:24:47 +11:00
zilmar 4921024636 [Glide64] New trace method 2016-02-04 21:22:19 +11:00
zilmar e9c3d01d38 [Glide64] Clean up OGLcombiner.cpp 2016-02-04 19:45:53 +11:00
zilmar ee5a59910c [Glide64] Clean up OGLgeometry.cpp 2016-02-04 19:34:02 +11:00
zilmar 009dfa94f3 [Glide64] Clean up OGLtextures.cpp 2016-02-04 17:08:24 +11:00
Emmet Young 494ad71352 Change declaration, we should only need int. 2016-02-04 12:57:09 +11:00
zilmar eab47fdd82 [Glide64] Clean up OGLglitchmain.cpp 2016-02-04 08:21:30 +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