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
zilmar
6b50bc4ff4
Merge pull request #950 from death-droid/PifRAMCleanupChanges
...
Prepare the emulator for easier implementation of the transferpak, pa…
2016-01-29 05:13:06 +11:00
zilmar
4203cbd2ef
[Common] Make sure we always have a path in CPath::SetComponents
2016-01-29 04:34:50 +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
zilmar
3a1fc904c6
[Project64] Code cleanup and added some more log messages
2016-01-28 20:40:08 +11:00
zilmar
a6bfe74a28
[Project64] Be able to pass base dir to app init
2016-01-28 20:37:44 +11:00
zilmar
8df90936f8
Merge pull request #944 from LuigiBlood/64dd_2
...
Fix Disk.cpp time/date code & F-Zero X (J) RDB update
2016-01-28 17:51:00 +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
luigiblood
5505db5201
Fix Disk.cpp time/date code
2016-01-27 22:41:31 +01:00
zilmar
72e6928ea8
[Project64] Remove duplicate Rdb_FixedAudio
2016-01-27 20:54:22 +11:00
zilmar
8bf0902d33
[Projct64] Use real value for _RC_NEAR, _RC_CHOP, etc
2016-01-27 20:53:08 +11:00
zilmar
2d435936ec
[Project64] Change DWORD to uint32_t in CRecompilerOps::SPECIAL_DADDU
2016-01-27 20:51:16 +11:00
zilmar
3e888b9b74
{Project64] Clean up some code in N64Class.cpp
2016-01-27 20:50:25 +11:00
zilmar
434e8807ac
[Projecy64] Cleanup usage of __FUNCTION__ in FlashRam.cpp
2016-01-27 20:49:26 +11:00
zilmar
94a7f2f8b5
[Project64] Remove windows.h from Eeprom.cpp
2016-01-27 20:39:46 +11:00
zilmar
26cb3c98c3
[Project64] More line endings ?
2016-01-27 20:39:06 +11:00
zilmar
a228a9d1f9
line ends ?
2016-01-27 20:11:59 +11:00
zilmar
2b2283d876
[Project64] Add N64DiskClass.cpp to vs 2008 project
2016-01-27 20:09:54 +11:00
zilmar
ba7bf929a2
Merge pull request #866 from Jeremy517/master
...
Allow for pushing two C Buttons at once when using an analog stick
2016-01-27 19:10:19 +11:00
zilmar
7032ab5d33
Merge pull request #941 from AmbientMalice/new_SM64_wobble_fix
...
Super Mario 64 wobble fix
2016-01-27 19:08:55 +11:00
zilmar
a86ba8db2d
Merge pull request #937 from LuigiBlood/64dd_2
...
64DD support
2016-01-27 19:07:19 +11:00
AmbientMalice
5b82ca80da
Fix Mario 64 texture wobble (ported from libretro)
...
Thanks to anon on /emugen/ for pointing this out. Original fix here bc23392568
2016-01-27 15:26:28 +10:00
luigiblood
4bf95e61f1
Open ROM/Drag&Drop Error fixed, delete g_DDRom if normal N64 ROM play
2016-01-26 16:43:44 +01:00
luigiblood
7c468bd624
Drag & Drop 64DD Disk support
2016-01-26 15:55:30 +01:00
luigiblood
226c29d5c7
Disk Conversion support, AppCleanup() update
...
There's still a problem with Open ROM but other than that it's fully functional.
2016-01-26 15:31:24 +01:00
luigiblood
96a6862c80
Use Open ROM to open Disk instead
...
It's a much better idea anyway.
2016-01-26 03:04:48 +01:00
cxd4
5952632d76
[Glide64] restored the explicit "Error" box titles
2016-01-25 17:13:27 -05:00
luigiblood
f0b81bbfc0
Added "Open Disk" to File menu.
2016-01-25 22:39:26 +01:00
cxd4
a10200cbce
[Glide64] NULL MessageBox title instead of "Error"
...
According to MSDN, a MessageBox whose title param is a null pointer defaults to the text "Error".
So instead of allocating extra bytes to pass a pointer to the string `"Error"`, why not pass NULL?
Actually the real reason why I made this PR was me having OCD against a cosmetic spacing inconsistency introduced in this commit: aefe8e603c
. So if you prefer "Error" over NULL I'll just undo that part of this PR and keep the line break change in instead. :P
2016-01-25 15:31:04 -05:00
luigiblood
39a1c9f407
Added "Play Game with Disk" option
2016-01-25 20:58:57 +01:00
luigiblood
82779033d3
Disk Write fixed, Recompiler support tentative
...
Unfortunately there's an opcode that Recompiler doesn't recognize.
However once it's implemented, there's no reason it shouldn't work.
For Disk Writing, so far it works, it seems to not have any trouble so far.
2016-01-25 15:47:12 +01:00
zilmar
989c7294cc
[Glide64] Cleanup texture code
2016-01-25 22:26:42 +11:00
zilmar
308010e16c
[Glide64] Remove some wx headers
2016-01-25 22:20:55 +11:00
zilmar
166e5cdace
[Glide64] convert wxInt16 to int16_t
2016-01-25 22:17:03 +11:00
zilmar
4fc4f921e9
[Glide64] Cleanup ucode .h files
2016-01-25 22:14:01 +11:00
zilmar
b8cbfa30c4
[Glide64] change wxUIntPtr to uintptr_t
2016-01-25 22:13:35 +11:00
zilmar
5c9962684f
[Glide64] Clean up some code related to screen capture
2016-01-25 22:00:45 +11:00
zilmar
76a3db6568
[Glide64] fix up rom name being sscii
2016-01-25 21:34:16 +11:00
zilmar
0f185260f4
[Glide64] Rename wxChar to char
2016-01-25 21:27:59 +11:00
zilmar
38205b5ee8
[Glide64] Cleanup rdp.h
2016-01-25 21:25:32 +11:00
zilmar
5a68a1f721
[Glide64] Convert wxUIntPtr to uintptr_t
2016-01-25 21:23:28 +11:00
zilmar
5959a9a0a0
[Glide64] Convert wxInt32 to int32_t
2016-01-25 21:15:26 +11:00
zilmar
aefe8e603c
[Glide64] remove wx/confbase.h from rdp.cpp
2016-01-25 21:12:11 +11:00
zilmar
5fa34066c2
[Glide64] Add stdlib.h to Gfx_1.3.h
2016-01-25 21:07:57 +11:00