Commit Graph

339 Commits

Author SHA1 Message Date
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 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 a86ba8db2d Merge pull request #937 from LuigiBlood/64dd_2
64DD support
2016-01-27 19:07:19 +11: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
luigiblood f0b81bbfc0 Added "Open Disk" to File menu. 2016-01-25 22:39:26 +01: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
luigiblood b31d18d8c4 Working Read (Interpreter only)
Write is slightly buggy for some reason.

Conflicts:
	Source/Project64-core/N64System/Mips/Disk.cpp
	Source/Project64-core/N64System/Mips/Dma.cpp
	Source/Project64-core/N64System/Mips/MemoryVirtualMem.cpp
2016-01-23 22:58:45 +01:00
LegendOfDragoon 392d63a0de Fix regression in CRecompilerOps::SPECIAL_DADDU()
It should only add carry if GetMipsRegLo(source2) != 0
2016-01-23 02:18:08 -08:00
luigiblood 305f4cfb16 Fixed code and credited Happy_
Good timing needed to fully work. (Not figured out)
2016-01-22 03:17:25 +01:00
zilmar 54d203e90d [Project64] Add disk.cpp to vs2008 project 2016-01-21 06:14:16 +11:00
luigiblood 0501eb70da 64DD Sector Read working 2016-01-20 17:43:23 +01:00
luigiblood 002cb7f5ce 64DD support tentative 2016-01-20 14:31:29 +01:00
luigiblood 25f56e6887 Added CN64Disk class with basic functions 2016-01-20 01:14:18 +01:00
zilmar 6fbfc144b5 Merge pull request #911 from LuigiBlood/64dd
64DD RTC support, Enable Disk setting
2016-01-20 09:20:34 +11:00
luigiblood 530ef48eb2 64DD RTC support, Enable Disk setting 2016-01-19 19:53:18 +01:00
zilmar 530245e938 Merge pull request #901 from LuigiBlood/64dd
Retail 64DD IPL ROM support (boots)
2016-01-19 08:22:32 +11:00
LegendOfDragoon 53baf6d792 Fix issue with SPECIAL_DADDU 2016-01-18 12:22:58 -08:00
luigiblood 4fb6c2219d Retail 64DD IPL ROM support (boots) 2016-01-18 20:15:01 +01:00
zilmar 691f09159b [Project64] remove Speed limiter code from non windows 2016-01-18 22:32:50 +11:00
zilmar 1dd05282d8 [Project64] Misc code clean up 2016-01-18 22:31:36 +11:00
zilmar 5dca0c80a5 [Project64] Use memory management code for RecompilerMemory.cpp 2016-01-18 22:30:01 +11:00
zilmar b8c00dd5fe [Project64] Remove #include <Objbase.h> from RecompilerClass.cpp 2016-01-18 22:28:38 +11:00
zilmar 0f57b5d42e [Project64] Clean up some code related to Settings Type files 2016-01-18 22:27:25 +11:00
zilmar 821922f133 [Project64] Clean up code related to plugins 2016-01-18 22:26:15 +11:00
zilmar df04d377e0 [Project64] Clean up ProfilingClass.cpp 2016-01-18 22:25:10 +11:00
zilmar b173fbb642 [Project64] Remove windows.h from CodeSection.cpp 2016-01-18 22:04:49 +11:00
zilmar 9bdea7da40 [Project64] Remove Protect Memory duplicate code 2016-01-18 22:02:50 +11:00
zilmar 9b2a398181 [Project64] get SystemTiming.cpp to use standard types 2016-01-18 22:00:16 +11:00
zilmar 0175adc49f [Project64] Get Sram to use standard types 2016-01-18 21:02:01 +11:00
zilmar ae734ed71c [Project64] Get Rumblepak.cpp to use standard types 2016-01-18 19:55:34 +11:00
zilmar 790de2eace [Project64] get PifRam.cpp to use standard types 2016-01-18 19:54:39 +11:00
zilmar b17ce831f2 [Project64] Cleaned up some warning in MemoryVirtualMem.cpp 2016-01-18 19:52:14 +11:00
zilmar e5fe71278a [Project64] Remove usage of windows.h from FramePerSecondClass on non windows 2016-01-18 19:51:12 +11:00
zilmar 957a29fac1 [Project64] Remove MemoryLabelsClass.cpp 2016-01-18 19:47:47 +11:00
zilmar e8468687ac [Project64] remove windows.h from plugin handling 2016-01-18 05:48:19 +11:00
zilmar e212bee0a4 [Project64] Fix rounding code to compile on VS 2008 2016-01-18 05:44:19 +11:00
zilmar 0f4ddee3eb [Poject64] Add Load32CartridgeDomain1Address1 and Load32CartridgeDomain1Address3 2016-01-17 17:38:29 +11:00
zilmar f87c2051b5 [Project64] Get the rounding code to use fesetround 2016-01-17 17:34:05 +11:00
zilmar 3791525d74 [Project64] fix showing of rom name on extracting 7zip file 2016-01-17 17:08:39 +11:00
zilmar 8b8c9c8a1c Merge pull request #881 from AmbientMalice/patch-16
Enable FAT and disable Audio Sync globally.
2016-01-15 18:50:04 +11:00
AmbientMalice 3335cfed8d Change AiCountPerBytes to 0.
This makes Fixed Audio Timing Dynamically Calculated.
2016-01-15 12:18:59 +10:00
AmbientMalice baf6b95946 Enable FAT and disable Audio Sync globally. 2016-01-15 12:11:01 +10:00
no 1b82fd0686 [core] std::memcpy() undeclared, so use memcpy(). 2016-01-14 19:19:51 -05:00
zilmar 20f7384918 Merge pull request #878 from cxd4/undeclared-memset
[core] compile errors from not declaring standard <string.h> functions
2016-01-15 09:10:12 +11:00
zilmar 46f2afaecc [Project64] N64RomClass.cpp Unprotect memory on freeing it 2016-01-15 08:11:12 +11:00
zilmar 05b2f1e5cf [Project64] Remove windows.h from N64RomClass.cpp 2016-01-15 08:06:33 +11:00
no bc1405b6af ... and from core/N64System/Mips/../../stdafx.h 2016-01-14 01:39:16 -05:00
no 5b62fdd101 ... and from core/N64System/../stdafx.h 2016-01-14 01:34:38 -05:00
no 4eecbf3139 moved string.h include to core/stdafx.h 2016-01-14 01:29:38 -05:00
zilmar c92922259a Merge pull request #879 from cxd4/more-concat-fixes
[core] Fix more incompatible string concatenations in CPU messages.
2016-01-14 13:49:23 +11:00
no 7bf9a23e28 Try using stdstr_f instead to concatenate inside DisplayError(). 2016-01-13 20:04:31 -05:00
zilmar 266b277a1d [Project64] Remove windows.h from FunctionMapClass.cpp 2016-01-14 08:38:54 +11:00
zilmar 02b7db1007 Merge branch 'master' of https://github.com/project64/project64 2016-01-14 08:36:23 +11:00
zilmar 6b41bc3789 [Project64] Get OpcodeName.cpp to use standard types 2016-01-14 08:35:32 +11:00
zilmar ad700c5704 [Project4] Clean up OpcodeName.cpp 2016-01-14 08:32:04 +11:00
zilmar fbe8ca9719 [Project64] Clean up PifRam.h 2016-01-14 08:29:55 +11:00
no 87376ec7b1 unknown string concatenation in DisplayError 2016-01-13 15:42:01 -05:00
no 7994f21868 unknown string concatentation in CPU_Message and stdstr_f 2016-01-13 15:36:46 -05:00
no 2ebf64503a error: `memcpy' was not declared at this scope. 2016-01-13 10:21:58 -05:00
no 344299d319 error: `memset' was not declared at this scope. 2016-01-13 10:20:05 -05:00
no ebf3922c51 `sprintf' was not declared at this scope. 2016-01-13 10:18:10 -05:00
no ac7b0d9601 error: `strcpy' was not declared at this scope. 2016-01-13 10:17:03 -05:00
no d71b7c55b0 error: `strcmp' was not declared at this scope. 2016-01-13 10:14:20 -05:00
no be2a5dba46 error: `sprintf' was not declared in this scope. 2016-01-13 10:01:40 -05:00
zilmar aea724b81a [Project64] Add stdafx.h 2016-01-13 22:53:48 +11:00
zilmar 7c4ffd9a07 [Project64] Remove windows.h from MemoryVirtualMem.cpp 2016-01-13 22:52:21 +11:00
zilmar c58f0ca470 [Project64] Get Dma.cpp to use memory management 2016-01-13 22:20:34 +11:00
zilmar 30841d5e31 [Project64] Get wGS to be windows only 2016-01-13 22:18:22 +11:00
zilmar 51cc15687d [Project64] get headers to be full path 2016-01-13 22:15:30 +11:00
zilmar 58f3502bd5 [Project64] Sync InterpreterOps32.cpp 2016-01-13 20:35:08 +11:00
zilmar 6164b45b6e [Project64] Sync InterpreterCPU.cpp and InterpreterOps.cpp 2016-01-13 20:33:17 +11:00
zilmar 43f34c9aff [Project64] Add Cmd_BaseDirectory 2016-01-13 18:23:22 +11:00
zilmar be7943a35d [Project64] Add linux friendly catch 2016-01-13 18:18:06 +11:00
zilmar 19135c41a7 Merge pull request #860 from cxd4/cdecl-lolwut
[core] Don't demand Win32-specific features like __cdecl.
2016-01-06 14:05:30 +11:00
no bb0a5f9849 [core] Prefer a CALL macro to centralize the convention. 2016-01-05 21:54:42 -05:00
no a038c21ea8 [core] Don't demand Win32-specific features like __cdecl. 2016-01-05 19:39:02 -05:00
no f83c4bda68 [core] fixed strtoul() for more compile errors 2016-01-05 19:09:10 -05:00
zilmar 96712e6042 [Project64] Clean up some of the includes 2016-01-05 16:58:31 +11:00
zilmar 860cc53e87 [Project64] fix zip includes 2016-01-05 07:59:16 +11:00
zilmar 50c4030c62 [Project64] remove CMipsMemory_CallBack 2016-01-05 07:46:56 +11:00
zilmar ff8623ad2c [Project64] Mempak uses standard types 2016-01-05 07:37:09 +11:00
zilmar 3ba0f072ce [Project64] Flashram to use standard types 2016-01-05 07:34:16 +11:00
zilmar 05602d1939 [Project64] Remove m_UseRegistry 2015-12-24 10:23:49 +11:00
zilmar 0211680a16 [Project64] Needed to update CodeSection.cpp 2015-12-24 07:38:50 +11:00
zilmar 73549ee72f {Project64] Convert internal strings to be utf8 instead of utf16 2015-12-24 07:04:36 +11:00
zilmar cf2d34fed3 [Project64] Cleanup ProfilingClass.cpp 2015-12-24 06:51:37 +11:00
zilmar 6ffd1663ca [Project64] Clean up FramePerSecondClass.cpp 2015-12-24 06:41:11 +11:00
zilmar fd5941fa35 [Project64] Cleanup 3rdParty/7zip.cpp 2015-12-24 06:34:47 +11:00
zilmar 2e4d73defa [Project64] Disable copy constructor for CSystemTimer 2015-12-23 13:29:01 +11:00
zilmar a05c3f5c00 Merge branch 'master' of https://github.com/project64/project64 2015-12-22 19:06:11 +11:00
zilmar 379cff09ae [Project64] Add Write32PifRam 2015-12-22 19:04:55 +11:00
zilmar e57ddf6181 [Project64] Add Write32CartridgeDomain2Address2 2015-12-22 17:09:27 +11:00
zilmar a8dacad8bf [Project64] Add Write32SerialInterface 2015-12-22 17:02:08 +11:00
zilmar d30e09c73f [Project64] Add Write32RDRAMInterface 2015-12-22 16:57:18 +11:00
zilmar 07f43c3a46 [Project64] Add Write32PeripheralInterface 2015-12-22 16:51:50 +11:00
zilmar 8a62fdf896 [Project64] Add Write32AudioInterface 2015-12-22 16:46:08 +11:00
zilmar 1a02c7130c [Project64] Add Write32VideoInterface 2015-12-22 16:40:19 +11:00
zilmar adc422fca7 [Project64] Add Write32MIPSInterface 2015-12-22 16:31:13 +11:00
no f0eef4df74 [core] fixed undeclared SSE2 intrinsics on non-Win32 2015-12-21 18:21:39 -05:00
zilmar 3a6df25a2c Merge pull request #840 from cxd4/fix-undeclared-functions
[core] Explicitly ensure that the necessary includes are included.
2015-12-22 09:13:55 +11:00
zilmar 15569ddb85 Merge pull request #841 from cxd4/no-more-__int64
[core] replaced surviving occurrences of __int64
2015-12-22 09:12:27 +11:00
zilmar 31159ed039 [Project64] Add Write32DPCommandRegisters 2015-12-22 08:49:58 +11:00
zilmar 34dab07f83 [Project64] Add Write32SPRegisters 2015-12-22 08:41:49 +11:00
no caee888b23 [core] replaced surviving occurrences of __int64 2015-12-21 16:38:56 -05:00
zilmar 0a8255bd39 [Project64] Add Write32RDRAMRegisters 2015-12-22 08:35:06 +11:00
zilmar d5ceb3d367 [Project64] Add Load32Rom 2015-12-22 08:24:37 +11:00
zilmar 4fe7ce8242 [Project64] Add Load32PifRam 2015-12-22 08:15:26 +11:00
zilmar 78af6b08a2 [Project64] Add Load32CartridgeDomain2Address2 2015-12-22 08:03:14 +11:00
no 3ac1103799 undeclared int8_t and other POSIX type names 2015-12-21 15:50:25 -05:00
no 0d2f09a840 undeclared strstr(), strchr(), strtoul(), atoi() and others 2015-12-21 15:38:52 -05:00
no a225ae2cf1 undeclared sprintf() 2015-12-21 15:36:48 -05:00
no ec23fd324d undeclared sprintf() 2015-12-21 15:35:11 -05:00
no c49258420a undeclared memset() 2015-12-21 15:34:48 -05:00
no 6abb430725 undeclared memset() 2015-12-21 15:32:33 -05:00
no 83ab2996aa undeclared memset() 2015-12-21 15:28:53 -05:00
no 33bbd39b99 undeclared memset() 2015-12-21 15:26:44 -05:00
no b3a6b03fb9 undeclared sprintf() 2015-12-21 15:22:39 -05:00
no 6a18af08a3 undeclared sprintf() 2015-12-21 15:18:20 -05:00
no 9dab4b3bed undeclared memcpy() 2015-12-21 15:17:29 -05:00
zilmar f8619bb6e4 [Project64] Add Load32SerialInterface 2015-12-22 06:59:17 +11:00
no c4a31eb457 undeclared fopen(), fread(), feof(), fscanf() and others 2015-12-21 14:54:02 -05:00
no 3aaa2a6a74 undeclared vsprintf() 2015-12-21 14:46:04 -05:00
no f28bbc85ba undeclared strcat() and strlen() 2015-12-21 14:41:08 -05:00
zilmar e3caeb8b07 [Project64] Add Load32PeripheralInterface, Load32RDRAMInterface 2015-12-22 05:45:07 +11:00
zilmar 9778846ae8 [Project64] Add Load32AudioInterface 2015-12-21 21:06:51 +11:00
zilmar 6d4ea6d693 [Projext64] Add Load32VideoInterface 2015-12-21 21:01:56 +11:00
zilmar 0324714be7 [Project64] Add Load32MIPSInterface 2015-12-21 20:56:24 +11:00
zilmar cf3b797ebd [Projext64] Add Load32DPCommand 2015-12-21 20:52:59 +11:00
zilmar 9692ecf1b4 [Project64] Add Load32SPRegisters 2015-12-21 20:49:13 +11:00
zilmar 4a0d9b640b [Project64] Add Load32RDRAMRegisters 2015-12-21 20:45:08 +11:00
zilmar 012e247514 [Project64] Remove __interface CMipsMemory_CallBack 2015-12-21 18:35:22 +11:00
zilmar a480b60f6f [Project64] Cleanup RSPPlugin.h 2015-12-21 18:32:16 +11:00
zilmar 4e4d35494b [Project64] Cleanup GFXPlugin.cpp 2015-12-21 18:28:35 +11:00
zilmar f23ba48309 [Project64] Clean up LoopAnalysis.cpp 2015-12-21 18:26:51 +11:00
zilmar 6b07620b74 [Project64] Cleanup RecompilerOps.cpp 2015-12-21 18:24:16 +11:00
zilmar 19303a0210 [Project64] Clean up CheatClass.cpp 2015-12-21 18:18:28 +11:00
zilmar b748f0a67b [Project64] Cleanup Project64-core/Logging.cpp 2015-12-21 18:16:29 +11:00
zilmar fcc3a0fa8b Merge branch 'master' of https://github.com/project64/project64 2015-12-21 17:01:51 +11:00
no 865f1f74e7 s/util.h/Util.h 2015-12-19 18:57:54 -05:00
no c1d80674fe s/common/Common 2015-12-19 18:57:27 -05:00
no e12aa20281 s/trace.h/Trace.h 2015-12-19 18:52:35 -05:00
no 9978ef6384 s/GFXplugin/GFXPlugin 2015-12-19 18:50:17 -05:00
no 5291b1f96c s/N64class.h/N64Class.h 2015-12-19 18:46:31 -05:00
no 0690ca436b s/version.h/Version.h 2015-12-19 18:45:25 -05:00
no 990ab69354 s/logging.h/Logging.h 2015-12-19 18:44:15 -05:00
7d944ac8f5 [core] removed extra, unnecessary branch for the NORMAL case 2015-12-18 21:20:10 -05:00
zilmar 77eb1eb75b [Project64] Split up trace cleanup 2015-12-16 17:41:34 +11:00
zilmar 5c27d6d1e8 [Project64] rename tofix to legacycode 2015-12-15 17:01:06 +11:00
32aefd4b10 s/m_Limitor/m_Limiter 2015-12-14 17:10:30 -05:00
df83c3c440 s/CSpeedLimitor/CSpeedLimiter 2015-12-14 17:09:12 -05:00
b50163938e SpeedLimitorClass.cpp --> SpeedLimiterClass.cpp 2015-12-14 17:01:10 -05:00
664f71941a SpeedLimitorClass.h --> SpeedLimiterClass.h 2015-12-14 16:56:39 -05:00
zilmar 95a3319735 [Project64] Update logging system to use module and severity 2015-12-14 21:51:33 +11:00
zilmar b4a3516654 [Project64] Clean up RecompilerMemory.cpp 2015-12-13 19:26:41 +11:00
zilmar c3a9525006 [Project64] Cleanup RecompilerClass.cpp 2015-12-13 18:52:22 +11:00
zilmar 21bce73cca [Project64] Cleanup Mempak.cpp 2015-12-13 18:29:48 +11:00
zilmar d8a4b4810b {Project64] Cleanup MemoryVirtualMem.cpp 2015-12-13 18:26:31 +11:00
zilmar abcfe60a51 [Project64] Cleanup FlashRam.cpp 2015-12-13 18:10:40 +11:00
zilmar 29d693ba1f [Project64] Clean up Sram.cpp 2015-12-13 18:07:03 +11:00
zilmar 199fa2f7f8 [Project64] Clean up SystemTiming.cpp 2015-12-13 17:58:08 +11:00
zilmar a6c0ddece4 [Project64] clean up TLBclass.cpp 2015-12-11 06:08:39 +11:00
zilmar 709c34fcd1 [Project64] Clean up PluginBase.cpp 2015-12-11 05:23:00 +11:00
zilmar 17b24f299f [Project64] Get Breakpoint to use char * instead of wchar_t * for filename 2015-12-09 22:37:58 +11:00
zilmar 65ebd6ff55 [Project64] Clean up X86ops.cpp 2015-12-09 22:26:58 +11:00
zilmar 517630854e Merge pull request #824 from JunielKatarn/gfxplugincasing
Made GFXPlugin file name casing consistent.
2015-12-09 07:20:10 +11:00
Julio C. Rocha 2a456aa24e [core] made GFXPlugin casing consistent. 2015-12-08 12:15:55 -08:00
zilmar d285cff216 Merge pull request #823 from cxd4/include-path-fixes
some more fixes to #include directives breaking non-Win32 builds
2015-12-09 07:05:23 +11:00
unknown 8b59f82a8d fixed Unix-incompatible include path case-insensitivity 2015-12-08 14:59:50 -05:00
unknown aad7667232 fixed Unix-incompatible directory dividers 2015-12-08 14:54:29 -05:00
unknown 2969ed656c fixed incorrect file name for case-sensitivity 2015-12-08 14:50:01 -05:00
Julio C. Rocha 94075ec625 [core] Removed spaces from file names in VCXPROJ. 2015-12-08 02:38:01 -08:00
Julio C. Rocha caf02d9368 Fixed VCXPROJ for Project64-core. 2015-12-07 23:11:17 -08:00
Julio C. Rocha 7b2421884e Adjusted minimum toolset versions to VS2010 for VCXPROJ and PROPS files. 2015-12-07 21:15:53 -08:00
Samuel Yuan cf8a624a25 Fix "Saved current state" and "Load state"
Certain strings won't show up correctly.
2015-12-06 11:29:22 -05:00
zilmar 3e4dd1cc23 Merge branch 'master' of https://github.com/project64/project64 2015-12-06 21:06:36 +11:00
zilmar a429a7fd08 [Project64] Create Project64-core 2015-12-06 21:05:39 +11:00