Commit Graph

574 Commits

Author SHA1 Message Date
Emmet Young d556e9a7b2 [!]Fix Glide HQ's colour problem when texture compression is enabled.
ARGB, RADEON and YUV should all be defined by default. They are required to prevent color problems from occurring during compression
2015-02-03 13:24:47 +11:00
unknown 6b55726e59 unified RSP compiler N/A operand specifiers to a single macro 2015-02-02 15:10:54 -05:00
zilmar e0cb57c44e Use version number for app name 2015-02-03 06:25:10 +11:00
zilmar 200807155d Remove config from RSP 2015-02-03 05:26:13 +11:00
zilmar b10487ee07 Merge branch 'master' of https://github.com/project64/project64 2015-02-02 17:12:09 +11:00
project64 60882b1e1a Merge pull request #46 from cxd4/master
fixed almost all Glide64 warnings
2015-02-02 15:05:51 +11:00
project64 0c51379af8 Merge pull request #45 from LegendOfDragoon/master
looks fine, but only did a basic look over it, if it fixes a game great. I guess when we get to more testing if there are problems then we will see what is happening then.
2015-02-02 15:02:34 +11:00
unknown 59eadfe83a (Glide64) guess doing 2*(wxUint16) produces a signed type in C++ rules?
This fixes an implicit signed/unsigned conversion warning.
2015-02-01 13:10:27 -05:00
unknown 3d66a3540d (Glide64) None of the TexLoad.h::LoadNone parameters were ever used. 2015-02-01 12:54:28 -05:00
unknown 9a1aef0fd6 sorry, don't work well with hunger 2015-02-01 12:53:32 -05:00
unknown 7e20dd8d0c (Glide64) fixed tmu initialization warning by staticizing TMU elements 2015-02-01 12:47:09 -05:00
unknown fd60328549 (Glide64) fixed remaining unused function parameter name warnings 2015-02-01 12:42:34 -05:00
unknown b372464eb0 (Glide64) fixed remaining ucode variable/ptr initialization warnings 2015-02-01 12:35:55 -05:00
unknown edef61831e (Glide64) fixed RDP command buffer halfword implicit sign warnings 2015-02-01 12:23:11 -05:00
unknown 6a956d1685 (Glitch64) fixed remaining signed/unsigned comparison warnings 2015-02-01 12:10:19 -05:00
unknown 72de0b2f34 (Glitch64) most likely intended a signed comparison (fixes 2 warnings) 2015-02-01 12:00:18 -05:00
unknown 8445dbb9e6 (Glitch64) Remove unused param name; list the used params more clearly. 2015-02-01 11:54:16 -05:00
unknown aa165488ca (Glitch64) OpenGL state machine stores GPU format as GLint, not GLenum.
Although the unsigned type `GLenum` seem like the logical choice of type for this function argument, OpenGL internal format macros are enumarations of the signed `GLint` type when storing to the GL state machine for commands sent to the GPU, rather than unsigned enumerations.  This also fixes a signedness warning in one of the conversions.
2015-02-01 11:50:29 -05:00
unknown b6d7e6fdae (Glide64) now debugging possibly uninitialized combiner mode 2015-02-01 11:22:02 -05:00
unknown a6effdee02 (Glide64) Debug invalid switch cases to fix initialization warnings. 2015-02-01 11:09:05 -05:00
unknown ce939718d8 (Glide64) mudlord forgot to remove the now unused GL proc name strings. 2015-02-01 10:47:29 -05:00
LegendOfDragoon 0f1010379f Implement a quick fix for Instruction Reordering
Instruction Reordering broke Mia Hamm and possibly other games too. The
easiest way to fix the problem was to simply disable reordering for
specific cases that were never accounted for.
2015-01-31 17:23:43 -08:00
zilmar e116c9e692 Merge branch 'master' of https://github.com/project64/project64 2015-02-01 06:30:53 +11:00
zilmar 9eceed0fef #pull request 42 2015-02-01 06:27:27 +11:00
Emmet Young 64e9135d19 [!]Fix peculiar issue where save states would not save instantly when using "Save as", and in some cases not save at all.
Fix this by making an event call instead.
2015-01-31 23:52:35 +11:00
Emmet Young d8918f3b1b [!] Add plugin base files to vcxproj 2015-01-31 23:51:24 +11:00
LegendOfDragoon 1741623482 Fixed some mistakes in GetInstructionInfo
Not only were certain instructions missing, but also some were in the
wrong place or had the wrong attributes.

Also VSUB needed to be added to IsNextInstructionMmx.
2015-01-31 04:35:43 -08:00
project64 15e389cbe2 Merge pull request #26 from LegendOfDragoon/master
Improve Recompiler Analysis for Vector Destination and Accumulators
2015-01-31 18:10:04 +11:00
project64 0f58c6ccaa Merge pull request #43 from project64/PluginBase
Implement @Twostars derived based plugin system, cleans up alot of…
2015-01-31 17:00:48 +11:00
Nicholas 7858337cb6 Add plugin base to project 2015-01-31 08:17:17 +11:00
Nicholas 1c91769c12 Create Plugin base to share functionality 2015-01-31 08:01:21 +11:00
unknown b9d1eb4f38 #include <stdio.h> to fix VS2010 build, as this header uses the API. 2015-01-29 10:46:42 -05:00
unknown d5d981a256 Explicitly disable /DYNAMICBASEADDRESS for Debug builds. 2015-01-29 10:20:00 -05:00
zilmar 8e715efe44 Cleaned up some warnings in the rsp 2015-01-29 19:57:13 +11:00
project64 abca1bd56f Merge pull request #30 from cxd4/master
fixed 17 compiler warnings about RSP "nameless struct/union" cases
2015-01-29 14:45:54 +11:00
Nicholas 862eb7c48b Add support for Visual Studio 2013 2015-01-27 16:07:44 +11:00
zilmar f8b26bbdfb Change AiCountPerBytes from 500 to 400 2015-01-26 15:05:02 +11:00
Nicholas a9f8dd461f [!]Fix a mistake made in the RTC implementation, was incorrectly 2015-01-26 14:58:53 +11:00
Nicholas ba6c04c6f0 Fix up Start Emulation causing Project 64 to crash out, g_BaseSystem 2015-01-26 14:52:55 +11:00
Nicholas b76a151dd3 Merge branch 'master' of https://github.com/project64/project64 2015-01-26 14:45:36 +11:00
Nicholas 8c1852afa0 handle pal system frequency better 2015-01-26 14:43:37 +11:00
unknown 5877daf7b3 isolated, nameless union in struct SHUFFLE, named union SHUFFLE 2015-01-25 14:22:18 -05:00
unknown 22f13e1739 offset operates w/ base; immediate operates w/ rs (fixes nothing) 2015-01-25 14:07:48 -05:00
unknown 66850bf553 isolated, nameless union in struct OPCODE, named union OPCODE
There were no other members of struct `tagOPCODE` besides one nameless union, so, to fix some nameless union compiler warnings, I deleted struct tagOPCODE and named the nameless union, union tagOPCODE.  Since "OpCode.h" is #include'd 9 times across the RSP source, technically this commit fixes 9 warning messages, even though it's really just 1 warning.
2015-01-25 13:58:12 -05:00
LegendOfDragoon ab30871f57 Improve Vector Destination Analysis
Some functions weren't implemented and others were implemented
incorrectly. There are more potential optimizations to implement for the
analysis.
2015-01-24 18:33:34 -08:00
LegendOfDragoon e8ad2bbc5e Add more instructions to Accumulator analysis
Some of these typos confused me when I enabled Show Compiler Errors.
2015-01-24 15:39:54 -08:00
Fanatic-64 776b157423 Change VI Refresh back to 1500
Fixes speed on most games
2015-01-24 17:15:18 -06:00
unknown 5f9605ec04 Merge branch 'master' of https://github.com/project64/project64 2015-01-24 16:23:10 -05:00
unknown fd564c802a RSP recompiler cheating expects a RSP function address: p_func. 2015-01-24 16:21:39 -05:00
Nicholas 1e1249903d Fix re order instructions for quake II with lle graphics 2015-01-25 08:07:38 +11:00
unknown 87aa0faf17 removed old explicit type casts (now calling strict func addr arrays) 2015-01-24 16:01:50 -05:00
unknown 587dbbb3ff func pointers stored in arrays of func pointers (fixes 720 warnings) 2015-01-24 15:39:18 -05:00
Nicholas cb9d25fc5a Deprecate `Indx` functional LUT on loop count in RSP interpreter by cxd4 2015-01-24 13:17:31 +11:00
Nicholas a43207f52b RSP: cheat for unaligned LH, LLE gfx in f-zero X and wave race 2015-01-23 23:10:20 +11:00
Nicholas 53b86e559c add code for edge case in DSRLV for cbfd 2015-01-23 22:21:34 +11:00
project64 db22be7762 Merge pull request #9 from LegendOfDragoon/master
Corrected some mistakes I made in LDV and SQV

I have not done any real testing with this, I assume if it behaves badly it should be easily detectable
2015-01-23 15:07:34 +11:00
project64 83c82c6370 Merge pull request #10 from cxd4/master
Prefer warning level 3 for GlideHQ and NRage v2.3 projects.
2015-01-23 14:36:31 +11:00
Nicholas b5a78153a4 turn fixed audio timing default to off 2015-01-23 12:10:34 +11:00
unknown a046128e37 Merge branch 'master' of https://github.com/project64/project64 2015-01-22 19:40:02 -05:00
unknown 96b63057c1 suppressing a few strict level compiler warnings for N-Rage 2015-01-22 19:37:43 -05:00
unknown 65df1f1da4 suppressing over 368 monotonous GlideHQ compiler warnings 2015-01-22 19:37:00 -05:00
Nicholas 7de6792283 Update wtl to 8.1 2015-01-23 11:32:27 +11:00
LegendOfDragoon 55fc2a6255 Correct 2 mistakes I made in SQV in RSP recompiler
It may be true that this SQV edge case only seems to happen when
isRegConst = true, I forgot to account for the possibility that GPR
Constant Analysis could be disabled.

I also just noticed that I goofed with the non-sse shuffling ;/ . The
registers weren't in order.
2015-01-22 14:53:16 -08:00
LegendOfDragoon 448b0ed6be Correct a mistake I made in LDV in RSP recompiler
I totally forgot that LDV handles elements differently than SDV. I added
a fallback to deal with unusual elements and added an alert to notify
that it exists in a particular game. I removed the & 0xF since that's
not needed. My previous change caused Stunt Racer 64 to have audio
issues. It should now be fixed.
2015-01-22 14:05:34 -08:00
Nicholas 2dd4e99ed6 Fix a couple games in RSP interpreter: CFC2 sign-extends $vcr by cxd4 2015-01-23 07:47:23 +11:00
Nicholas a9f7fdf4d6 Merge branch 'master' of https://github.com/project64/project64 2015-01-22 16:51:34 +11:00
Nicholas 0bd9a467a1 Add the memory search functionality back in 2015-01-22 16:50:20 +11:00
zilmar 47b1456c8d Update installer to have new ad in it 2015-01-16 10:58:00 +11:00
LegendOfDragoon 479b201ddc Implement edge case for LDV, fix 2 typos as well.
For LDV, it's the same deal as SDV. In WDC, RSPOpC.del could = 12, which
would result in a negative number when doing 16 - RSPOpC,del - 8.
2015-01-14 01:48:47 -08:00
LegendOfDragoon 5df4a806b4 Optimized a few instructions
Optimized VOR for games like Perfect Dark
Implemented VNAND, VNOR, and VNXOR for recompiler
Minor change in SQV
2015-01-12 14:19:41 -08:00
LegendOfDragoon 1cb03b4120 Matched RSP interpreter more closely
I have only seen the edgecase for SQV happen when
IsRegConst(RSPOpC.base) == TRUE. Changing SQV fixed Telefoot / Mia Ham.

I optimized VAND, for games like Kirby64.
2015-01-12 11:43:07 -08:00
LegendOfDragoon 02fe2e7241 More Fixes
The possibility of the RSP instruction at address 0xFFC being JR was
never accounted for. This fixes Wave Race and Star Wars - Shadow of the
Empire.

The accumulator analysis was wrong, which broke games like Mario No
Photopie.
2015-01-11 19:49:04 -08:00
LegendOfDragoon 43c6017ddb Improve Accuracy
Fixing SW allows a lot more games to work. Fixing LW fixes games like
WDC and improves performance somehow. Fixing VMRG fixes certain bugs,
like Kirby 64's intro.
2015-01-11 19:35:43 -08:00
zilmar a201d219ea Remove ads 2014-02-09 20:16:28 +11:00
zilmar baa0fff54a Installer: 2.1 2013-05-01 13:35:17 +10:00
zilmar e58fc5ab78 nRage: Add ability to compile version 2.3c 2013-04-30 15:56:41 +10:00
zilmar ad85ec3f05 Project64: Fix bug - Loading RSP plugin selection per game. 2013-04-30 13:43:22 +10:00
zilmar a85e5aa50a Sort Rdb: Add utility to sort the rdb entries by good name 2013-04-30 08:52:24 +10:00
zilmar c318d37e52 Project64: 2.1.0.1 2013-04-28 16:23:51 +10:00
zilmar 5998612f20 Glide64: 2.0.0.1 2013-04-28 16:23:36 +10:00
zilmar 97a53f760c Project64: 2.1.0.1 2013-04-28 16:07:47 +10:00
zilmar 462d86b04f Glide64: 2.0.0.1 2013-04-28 16:07:27 +10:00
zilmar 6ca28ebe82 Glide64: Be able to get texture directory form emulator 2013-04-28 15:49:14 +10:00
mudlord ba4610be61 fixed unitialized glide functions.
- rigged up color combiners
- rigged up texture buffer (hwfbe)
- rigged up wrapper settings
2013-04-27 19:17:15 +10:00
zilmar 6bfa7de536 Project64: 2.1.0.0 2013-04-26 20:17:33 +10:00
zilmar f2cfea497d Glide64: 2.0.0.0 2013-04-26 20:14:20 +10:00
zilmar 801f1581bc Project64: Add LL and SC to Analyze Instruction 2013-04-26 20:08:59 +10:00
zilmar 814018c78f Project64: Initialize eeprom to 0xFF instead of 0x00 2013-04-26 20:06:01 +10:00
zilmar 87f96afeee GlideHQ: fix up to not use boost 2013-04-26 19:31:09 +10:00
zilmar ab4c9cca94 Common: Make ini file case insensitive 2013-04-24 17:08:35 +10:00
zilmar 1c65f79e90 Glide64: Change settings to go through the emu 2013-04-24 15:03:21 +10:00
zilmar 5aedb4c5d6 Glide64: Add version number in to name, also fix some warnings. 2013-04-22 11:11:55 +10:00
zilmar 11966425c5 Glide64: Strip language 2013-04-22 07:55:58 +10:00
zilmar e0b0f0d681 Glide64: Add version info 2013-04-22 07:53:08 +10:00
zilmar 11c7373b3a Glitch64: Fix up warnings related to warning level 4 2013-04-22 07:35:30 +10:00
zilmar 8f16f58311 Glide64: Update to make asm more closer to original code 2013-04-20 12:14:46 +10:00
zilmar 6b433a4ad3 GlideHQ: Update project settings related to release 2013-04-17 21:17:56 +10:00
zilmar beb0ce0208 Glitch64: Update project settings 2013-04-17 20:35:01 +10:00
zilmar b805bbb883 Project64: Update the code related to changes in stdstr 2013-04-17 20:34:20 +10:00
zilmar 5c8b6fd2e2 3rd Party: Update project settings 2013-04-17 20:33:18 +10:00
zilmar 4cbd5c538d Glide64: Redo the asm for textures 2013-04-17 20:32:38 +10:00
zilmar e928a5995d GlideHQ: Add 2013-04-17 20:30:38 +10:00
zilmar 9e9fdc25bc Common: Update std string class 2013-04-17 20:29:48 +10:00
zilmar 727f730f79 Project64: In FixDir check if directory exists before trying to create it 2013-04-15 13:52:34 +10:00
zilmar d6a148696c Glitch64: Update some code to reduce warning on level 4 2013-04-15 13:51:39 +10:00
zilmar dcf9762fb2 CPath: If create dir, and testing if can change in it, revert to previous current dir 2013-04-15 13:48:06 +10:00
zilmar 72471d1eeb Glide64: remove looking up glide dll 2013-04-13 06:27:15 +10:00
zilmar 33b1a48093 Glide64: Update output name 2013-04-11 12:11:32 +10:00
zilmar e549c4b08e Glide64: fix up some issues related to warnings with Visual Studio 2013-04-11 12:08:59 +10:00
zilmar 8746daa1e4 Glitch64: Do not re-init opengl 2013-04-11 12:07:42 +10:00
zilmar d5dd94a4d7 Merge branch 'master' of http://www.pj64-emu.com:8090/project64.development 2013-04-11 12:06:28 +10:00
zilmar e399273dbd wxWidgets: change wxRGBToColour to not use the macro (fix small type warning) 2013-04-11 11:32:07 +10:00
zilmar 7055c1bad9 Recompiler: ignore 0x0407000D as an opcode in analysis 2013-04-11 11:16:27 +10:00
zilmar 688cdf6f10 Glitch64: Fix up project file 2013-04-10 20:41:32 +10:00
zilmar 4d45d46270 Glitch64: Add raw code to project 2013-04-10 17:08:48 +10:00
zilmar e015346578 Glide64: Now able to compile 2013-04-09 22:02:27 +10:00
zilmar 6d1519faeb wxWidgets: Update for release build 2013-04-09 20:18:12 +10:00
zilmar 0108ab1296 WxWidgets: Add library for glide 2013-04-07 21:35:04 +10:00
zilmar 7527d11350 3rd Party: Added glide SDK 2013-04-07 19:23:46 +10:00
zilmar 5d4340d2e5 Add Glide64 plugin 2013-04-05 08:22:19 +11:00
Emmet Young 1abb082eef If debugger isn't enabled but where still attempting to start the sync cores, reset to recompiler to stop people from accidentally launching sync cores. 2013-04-01 13:25:51 +11:00
Emmet Young 81433e7529 Stop the "About INI Files" from crashing when no language was actually loaded in. (Certain ID's were never properly set to anything) 2013-04-01 03:10:54 +11:00
zilmar f1705174b3 Project64: 2.0.0.14 2013-03-27 05:45:52 +11:00
zilmar 8db1ff697d Recompiler: Fix some warnings related to DWORD overflow 2013-03-26 22:28:49 +11:00
zilmar 4ae369ab81 Loop Analysis: SLTU and SLT marks register as changed 2013-03-26 22:18:53 +11:00
zilmar c823815cc1 Installer: Fix issue with showing multiple offers 2013-03-24 06:16:04 +11:00
zilmar 84e27c8607 Project64: 2.0.0.13 2013-03-22 21:02:26 +11:00
zilmar 48d8925a80 Project64: Clean up external release to be beta release 2013-03-22 16:47:20 +11:00
zilmar f41cdf8989 Recompiler: Fix delay slot section with exceptions 2013-03-22 16:45:32 +11:00
zilmar f825b21de5 Installer: Update Installation scrip to have ads 2013-03-22 16:43:43 +11:00
zilmar 7937d356d9 Installer: Add base installer project 2013-03-14 06:41:04 +11:00
zilmar 7b70ba0da3 Recompiler: Fix up protection of op in DADDU 2013-03-12 18:40:50 +11:00
zilmar 2d1e5f03cc Project64: 2.0.0.12 2013-03-09 08:40:21 +11:00
zilmar 784dcacad6 Recompiler: Fix bug in 64bit AND operation 2013-03-09 07:55:36 +11:00
zilmar 283cf565c0 Memory: Fix read from rom with constant LW 2013-03-09 06:31:26 +11:00
zilmar 627f9de997 RSP: 1.7.0.9 2013-02-20 05:46:35 +11:00
zilmar d51bd38c11 Project64: 2.0.0.11 2013-02-20 05:45:08 +11:00
zilmar fc908b7b7d RSP: Fix some delay slot warnings 2013-02-20 05:39:47 +11:00
zilmar dd537b518c Porject64: Implement Recompiler LL and SC 2013-02-20 05:31:10 +11:00
zilmar c8394fb473 RSP: 1.7.0.8 2013-02-13 07:10:16 +11:00
zilmar 4df8a2803a Project64: 2.0.0.10 2013-02-13 07:09:53 +11:00
zilmar 6936cd9800 Settings: Update to allow the use of cfg and rdb file for a game setting 2013-02-13 07:01:46 +11:00
zilmar 1ff9338e4c RSP: Fix clean up log files 2013-02-11 19:29:14 +11:00
zilmar f5290c7895 RSP: JumpTableSize and RomOpen 2013-02-11 19:28:49 +11:00
zilmar 14352768ae RSP: add RomOpen and JumpTableSize Setting 2013-02-11 19:27:49 +11:00
zilmar 229be28668 Plugin: Add rom open and clean up rsp plugin handling 2013-02-11 19:27:00 +11:00
zilmar 05e4f22dcf ResetMemoryStackPos: Allow stack pointer to be in tlb space 2013-02-11 19:25:11 +11:00
zilmar 990b9ddb55 Memory: Clean up some breakpoint warnings 2013-02-11 19:24:18 +11:00
zilmar d09f0e6c8e Recompiler: More syncing for sync core 2013-02-05 20:14:26 +11:00
zilmar 5a9cb5f768 Recompiler: Make sure break ends a block 2013-02-05 06:23:10 +11:00