Commit Graph

1358 Commits

Author SHA1 Message Date
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
AmbientMalice 3557f13695 Added HM FB settings to Glide64 db. 2015-04-16 21:37:41 +10:00
AmbientMalice ec84a8718e Added FB setting to wrong db file. 2015-04-16 21:35:39 +10:00
zilmar 7b7a8fbe98 Merge pull request #388 from AmbientMalice/patch-13
Harvest Moon 64 Glide64 fix.
2015-04-16 16:52:01 +10:00
zilmar 57e6c37a25 Merge pull request #389 from lioncash/uninit
N64 Class: Initialize variable before passing in initializer list
2015-04-16 13:20:32 +10:00
Lioncash b8beaeffb7 N64 Class: Initialize variable before passing in initializer list
Silences an uninitialized variable warning.
2015-04-15 22:38:55 -04:00
AmbientMalice b5d6f3d657 Harvest Moon 64 Glide64 fix.
Disabled FB to fix half of screen being cut off. Kinda redundant with GLideN64 coming very soon, but I don't like broken things.

(No idea if disabling FB breaks anything, though.)
2015-04-16 11:03:55 +10:00
zilmar 301818511a Merge pull request #387 from JunielKatarn/master
Make PropertySheets imports non-conditional
2015-04-16 10:15:39 +10:00
Julio C. Rocha 33023bc81f Make PropertySheets imports non-conditional
Interpolated Platform and Configuration values to avoid case-by-case
condition validation.
(This could allow for future configurations and platforms without
additional modifications to VCXPROJ files).
2015-04-15 16:16:37 -07:00
zilmar 36726147f4 Merge pull request #385 from Lithium64/Patch-5
Updated Brazilian Language File
2015-04-15 20:39:47 +10:00
zilmar cf45e6e1f3 Merge pull request #384 from LegendOfDragoon/master
Fix Ogre Battle 64
2015-04-15 20:39:20 +10:00
zilmar 7d95852d9d Merge pull request #382 from theboy181/master
Changed Airboarder to Air Boarder and added Bust-A-Move Good set to RDB
2015-04-15 20:38:55 +10:00
AmbientMalice aadd58d56b Evangelion needs AudioResetOnLoad, too. 2015-04-15 16:20:23 +10:00
AmbientMalice 6601a3d0e7 AudioResetOnLoad Iggy+Factor 5 2015-04-15 16:07:31 +10:00
AmbientMalice 7e5e50cea1 Air Combat needs AudioResetOnLoad, too.
Must be a 3DO thing.
2015-04-15 16:03:10 +10:00
AmbientMalice 7be87ea904 Armorines uses Turok engine. As does South Park. 2015-04-15 16:00:40 +10:00
AmbientMalice fa2af91e41 MOAR TUROK 2015-04-15 15:58:41 +10:00
AmbientMalice 9253acd086 Fixed accidentally deleted bracket. 2015-04-15 15:48:13 +10:00
AmbientMalice f5bcf8900a AudioResetOnLoad fix initial pass. 2015-04-15 15:46:26 +10:00
Lithium64 e556d94dd2 Updated Brazilian Language File
Updated Brazilian Language File with latest changes
2015-04-15 02:36:31 -03:00
LegendOfDragoon f68edb9dd2 Disable 32bit for Ogre Battle 64
This should fix certain issues with the game.
2015-04-14 22:11:04 -07:00