Commit Graph

1328 Commits

Author SHA1 Message Date
Lioncash 6b7ecf0b79 Cheat Class: Replace is_valid_hex_digit
isxdigit does the same thing.
2015-04-22 14:06:56 -04:00
zilmar 9884091aae Merge pull request #413 from LegendOfDragoon/master
Add some ALECK64 games to the RDB
2015-04-21 22:09:39 +10:00
LegendOfDragoon 3941c695dc Add Vivid Dolls (J) [ALECK64] to the RDB 2015-04-20 20:18:50 -07:00
LegendOfDragoon 7f528b8014 Add Tower & Shaft (J) [ALECK64] to the RDB 2015-04-20 20:17:50 -07:00
LegendOfDragoon 503fa8be5e Add Donchan Puzzle Hanabi de Doon to the RDB 2015-04-20 20:13:24 -07:00
LegendOfDragoon ae63a77fb3 Add Guru - Kuru Kuru Fever (J) [ALECK64] to the RDB 2015-04-20 20:12:07 -07:00
LegendOfDragoon 39dc599aaa Add Magical Tetris Challenge [ALECK64] to the RDB 2015-04-20 20:10:24 -07:00
LegendOfDragoon 6f6e169f55 Add Star Soldier [ALECK64] to the RDB 2015-04-20 20:08:33 -07:00
LegendOfDragoon ea50574661 Add Eleven Beat [ALECK64] to the RDB 2015-04-20 20:07:24 -07:00
zilmar b5cd125809 Merge pull request #409 from cxd4/i_accidentally_your_function_inside_my_function
some more high-level code reusability via functions
2015-04-21 12:53:06 +10:00
zilmar 2bb9ac0754 Merge pull request #411 from cxd4/nub_lern_2_cheet
optimized cheat codes parsing a little bit
2015-04-21 08:49:56 +10:00
zilmar 04ce2a51ae Merge pull request #410 from cxd4/English_futhermucker_do_u_speek
un-typo'd some typos
2015-04-21 08:15:10 +10:00
unknown 8df2172495 probably more readable, portable to just say this 2015-04-20 17:10:15 -04:00
unknown 0e05a71f2a guessing it's okay to have case-insensitive hex verify here too 2015-04-20 17:07:42 -04:00
unknown ec458785ea derp. 2015-04-20 17:05:06 -04:00
unknown 12b71f4c0c actually may be better as a static (possibly inline) function 2015-04-20 17:02:19 -04:00
unknown 3ef067f6d1 optimized hex digit verification a little 2015-04-20 16:52:48 -04:00
unknown ec9afe9c33 moved cheat code hex value verification to a central function 2015-04-20 16:31:26 -04:00
unknown 42643352b9 s/Initilize/Initialize 2015-04-20 16:01:18 -04:00
unknown 3b9ec019bc ya i r need h4lp plz i iz shot 2015-04-20 15:41:25 -04:00
unknown dbe9da858a no longer multiple references to recently added `STRING_SIZE` constant
It seems that zilmar would rather use the sizeof() operator repeatedly than to declare a new constant or use macros to show array sizes.  Since I have already centralized the usage of all sizeof() operators to the new high-level function I declared, I think that there is no longer use for the `STRING_SIZE` constant which Lioncash contributed.
2015-04-20 14:57:55 -04:00
unknown 9fcf4def63 reusable functions in high-level code for About dialog messages 2015-04-20 14:55:07 -04:00
zilmar 240d13366d Merge branch 'master' of https://github.com/project64/project64 2015-04-20 18:35:27 +10:00
zilmar bb9023292c fix #408 About Config Files not showing 2015-04-20 18:33:38 +10:00
zilmar da0640377c Merge pull request #407 from LegendOfDragoon/master
Fix / Optimize RSP Recompiler
2015-04-20 16:09:56 +10:00
LegendOfDragoon 882b0f5841 Change CompilerWarning to DisplayError in Cop0_MF
In RSP interpreter, it is DisplayError and I feel like it's an important
message, so it should be DisplayError in RSP recompiler as well, in my
opinion.
2015-04-19 21:20:10 -07:00
LegendOfDragoon 603df8e167 Add 2 cases in Cop0_MF for RSP Recompiler
Case 0 and Case 1 was missing in RSP Recompiler. Jet Force Gemini LLE
GFX uses case 1.
2015-04-19 21:11:47 -07:00
LegendOfDragoon 82f614ff2d Fix / Optimize RSP Accumulator Analysis
the & 0xFFC was missing, which caused it to return true when it should
have returned false. This means that LLE audio should be more optimized
now.

I also made it do delay slot, incase the delay slot instruction writes
to accumulator. Minor optimization here.

As for JAL, I made it do break instead of return FALSE because in Battle
For Naboo, it actually does come back and continue an existing
calculation. I think it is only an issue if you do a separate analysis
for the Low Accumulator and Mid/High Accumulators. It's still better to
be safe, just incase I or someone else actually implement a separate
analysis for the Accumulators later down the road.
2015-04-19 20:56:36 -07:00
LegendOfDragoon f22e5125c5 Fix memory leak in RSP
Due to the newer spec design in PJ64 2.x, CloseDLL() doesn't get called
as often. So there are instances where it calls AllocateMemory()
multiple times without ever calling FreeMemory().
2015-04-19 19:16:10 -07:00
zilmar d83817814f Merge pull request #405 from AmbientMalice/patch-16
Changed Duck Dodgers Audio Sync.
2015-04-20 11:27:13 +10:00
AmbientMalice 1e27e3982e Changed Duck Dodgers Audio Sync.
When using PJ64's audio sync, the game feels "off". Daffy's movement is jerky. So I've disabled it and enabled Jabo audio sync. Azimer's seems to work fine with these settings.
2015-04-20 10:56:55 +10:00
zilmar edda4f0555 fix #376 - Games slow if no entry in Project64.cfg 2015-04-20 08:50:07 +10:00
zilmar 5b68545136 Merge pull request #400 from lioncash/overrun
Gui Class: Fix potential wchar array overruns
2015-04-18 05:43:50 +10:00
Lioncash c0742b09b6 Gui Class: Fix potential wchar array overruns
sizeof(String) will return 400, which is past the bounds of the string array
2015-04-17 03:13:44 -04:00
zilmar dcd75a1557 Merge pull request #398 from lioncash/rsp
RSP: Fix a typo in Compile_ADDI
2015-04-17 13:47:25 +10:00
Lioncash bdd7f0e48f RSP: Fix a typo in Compile_ADDI 2015-04-16 23:33:35 -04:00
zilmar 2e6d855ff7 Merge pull request #348 from AmbientMalice/patch-8
JFG CF=1+Consistent regions.
2015-04-17 13:13:54 +10:00
zilmar 184ac16df1 Merge pull request #386 from AmbientMalice/patch-12
AudioResetOnLoad fix initial pass.
2015-04-17 13:13:25 +10:00
zilmar 09f7a5bc12 Merge pull request #396 from MELERIX/rdb
Removed fb_smart=0 entries from Project64.rdb
2015-04-17 13:07:58 +10:00
zilmar 8e2de0c1c2 Merge pull request #397 from AmbientMalice/patch-15
Disable ABL for Star Fox 64.
2015-04-17 12:53:24 +10:00
AmbientMalice aff759c8e9 Disable ABL for Star Fox 64.
Fixes https://github.com/project64/project64/issues/393
2015-04-17 12:47:25 +10:00
MELERIX 456de29906 Removed fb_smart=0 from Project64.rdb 2015-04-16 21:19:25 -03:00
zilmar 4ff9219f47 Merge pull request #395 from AmbientMalice/patch-14
Added missing HM FB entry.
2015-04-17 09:13:34 +10:00
AmbientMalice cc8e779acf Added missing HM FB entry. 2015-04-17 08:25:03 +10:00
zilmar 6426b76bfc Merge pull request #394 from lioncash/bounds
Fix some array bounds-related errors
2015-04-17 06:21:08 +10:00
Lioncash e9c056e5a4 Notification Class: Correct array sizing in SetWindowCaption
sizeof(wchar_t) is a size of 2 (or 4 if in a Linux environment). With the previous code, it would be trying to insert the null terminator at index 511 on Windows, which is incorrect.
2015-04-16 15:59:48 -04:00
Lioncash a7eb2e79e5 Memory Labels Class: Correct bounds clamping in ProcessCODFile 2015-04-16 15:44:06 -04:00
zilmar 04421079ea Merge pull request #391 from AmbientMalice/patch-14
Correct Harvest Moon Settings.
2015-04-17 04:45:34 +10:00
zilmar 45f7edf132 Merge pull request #392 from lioncash/leak
Language Class: Fix missing fclose in GetLangString
2015-04-17 04:45:00 +10:00
Lioncash 9fd1bdf29c Language Class: Fix missing fclose in GetLangString 2015-04-16 08:53:40 -04:00