Commit Graph

64 Commits

Author SHA1 Message Date
unknown fd564c802a RSP recompiler cheating expects a RSP function address: p_func. 2015-01-24 16:21:39 -05:00
unknown 87aa0faf17 removed old explicit type casts (now calling strict func addr arrays) 2015-01-24 16:01:50 -05: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
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
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 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 fc908b7b7d RSP: Fix some delay slot warnings 2013-02-20 05:39:47 +11:00
zilmar ad22fe90fe RSP: Fix bug in RSP MF 2013-01-30 06:08:57 +11:00
zilmar 36def4094a RSP: Can exit after jump from MT/MF Cop 0 2013-01-29 22:29:50 +11:00
zilmar 5bba8a011a RSP: implement SP_SEMAPHORE_REG 2013-01-12 08:18:19 +11:00
zilmar c99c1d6a6f git-svn-id: https://localhost/svn/Project64/trunk@3 111125ac-702d-7242-af9c-5ba8ae61c1ef 2008-11-14 20:47:53 +00:00