Commit Graph

1875 Commits

Author SHA1 Message Date
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
Emmet Young 696d419e5b Improve behaviour of MBC3 if statements. 2016-02-02 19:44:18 +11:00
Emmet Young aab625734d Fix up spelling mistake in Tansferpak.cpp naming, 2016-02-02 15:09:47 +11:00
zilmar c59b716e8b [Glide64] Fix 2008 project 2016-02-02 03:47:09 +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
zilmar dba3b94dfb [Glide64] Get Settings to be a class instead of a struct 2016-02-01 19:56:25 +11:00
zilmar 2b6fdc000e [Project64] Add more logging 2016-02-01 17:33:19 +11:00
zilmar b8bdf17499 [Project64] Add Notification on directory changed 2016-02-01 17:31:33 +11:00
zilmar 2e70c734b5 [Project64] Add Directory_Log setting 2016-02-01 17:30:22 +11:00
zilmar e2f9881864 [Project64] fix log message text in Plugins/PluginList.cpp 2016-02-01 17:10:43 +11:00
zilmar c23f5fe955 [common] Add #include "StdString.h" to Common/LogClass.h 2016-02-01 17:10:04 +11:00
zilmar d70ad198b4 Merge branch 'master' of https://github.com/project64/project64 2016-02-01 17:05:45 +11:00
zilmar 6aaf0f0f8e [Project64] Add #include <map> to Settings/SettingsClass.h 2016-02-01 17:05:30 +11:00
zilmar a985d587bd [Project64] 7Zip just on windows 2016-02-01 17:04:05 +11:00
zilmar 4f61d7c5a3 [Project64] Get MempakNames to set path in CPath constructor 2016-02-01 17:03:19 +11:00
zilmar 649cc48598 [Project64] Add #include <stdlib.h> for strtoul 2016-02-01 17:02:14 +11:00
zilmar ee51201eae [Glide64] Get ext_ghq_init to have texture dir is char * 2016-02-01 17:01:11 +11:00
zilmar 71710be0b8 [Project64] Add some logging to AppInit 2016-02-01 16:57:59 +11:00
luigiblood 6469b523b4 [64DD] Add brackets for if g_DDRom == NULL 2016-02-01 01:38:27 +01:00
luigiblood f63b746c73 [64DD] Load 64DD IPL on g_DDRom seperately
Fixes double g_Rom delete which makes Windows not happy.
2016-02-01 01:31:14 +01:00
luigiblood d2d611c137 [64DD] Only Head 0 Track 6 is supposed to fail. 2016-01-30 22:23:27 +01: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
zilmar 5cad324699 Merge pull request #958 from LuigiBlood/64dd_2
64DD IPL ROM Recompiler support
2016-01-29 10:06:21 +11:00
luigiblood 03bd97c46b [Recompiler] Fix COP0_MT() Cause case
Results in 64DD IPL ROM fully working in Recompiler.
Thanks zilmar!
2016-01-28 23:59:53 +01:00
zilmar 5f0a77f897 Merge pull request #957 from cxd4/BOOL-does-not-name-a-type
[Settings] InitializeSettings() can return bool.
2016-01-29 08:02:44 +11:00
a591fefccb [Settings] InitializeSettings() can return bool. 2016-01-28 15:21:23 -05:00
d267a1b895 Include stdarg.h for va_start and va_end. 2016-01-28 15:07:00 -05:00
b759a60417 Include string.h where needed. 2016-01-28 15:00:13 -05:00
fa90c2a472 s/config.h/Config.h 2016-01-28 14:37:37 -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
zilmar 09da116723 [Glide64] Rename max and min to be maxval and minval 2016-01-25 20:58:29 +11:00
zilmar 834210eaf9 [Glide64] Remove usage of _() 2016-01-25 20:49:28 +11:00
zilmar be46977de9 [Glide64] Add critical section in to dlist/config 2016-01-25 20:33:04 +11:00
zilmar 76196d4d70 [Project64] Remove SoftLocker 2016-01-25 18:20:46 +11:00
zilmar 0473d5126b Glide64] Remove usage of wxT 2016-01-25 18:15:46 +11:00
zilmar 9b6f159d75 [Glide64] Remove GFXWindow 2016-01-25 18:00:01 +11:00
zilmar ffc6c41201 [wx] Hack wxRGBToColour to hide VS size check 2016-01-25 17:58:33 +11:00
zilmar f0f8f76cfc [Glide64] Add extern "C" to export 2016-01-25 17:36:56 +11:00
zilmar a45d503e99 [Glide64] Convert wxUint8 to uint8_t 2016-01-25 05:45:15 +11:00
zilmar bcba810c66 [Glide64] Convert wxUint16 to uint16_t 2016-01-25 05:41:08 +11:00
zilmar 0d0923eab8 [Glide64] Make config _WIN32 only 2016-01-25 05:38:52 +11:00