Commit Graph

851 Commits

Author SHA1 Message Date
Emmet Young 312de4d2a4 Allow 7z files to actually work through "Open ROM". Removes the codes assumption it is being handed the ROM name its looking for in the file. 2015-05-02 00:53:57 +10:00
Emmet Young c9805dd5d3 Update ZLib to 1.2.8 2015-05-01 14:06:20 +10:00
zilmar f75a6e489c Merge pull request #423 from lioncash/void
Remove superfluous void parameter usages.
2015-04-30 10:43:32 +10:00
Emmet Young 23eeaeeb2c When scanning in 7z files make sure we are actually setting the rom file size.
Fixes issue #255
2015-04-29 23:02:53 +10:00
Lioncash d85f0c1283 Remove superfluous void usages
These aren't necessary in C++
2015-04-28 19:34:23 -04:00
theboy181 405f59eafc Fix Speeeling 2015-04-23 22:43:01 -07:00
Lioncash 6b7ecf0b79 Cheat Class: Replace is_valid_hex_digit
isxdigit does the same thing.
2015-04-22 14:06:56 -04: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
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
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 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
Lioncash bdd7f0e48f RSP: Fix a typo in Compile_ADDI 2015-04-16 23:33:35 -04: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 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
Lioncash b8beaeffb7 N64 Class: Initialize variable before passing in initializer list
Silences an uninitialized variable warning.
2015-04-15 22:38:55 -04: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
LegendOfDragoon eda19cfc5e Fix regression in GetInstructionInfo
I previously made a commit to fix a reordering issue, but did not
realize it needed that COPO_MF_Instruction flag for branching. This
should fix the Ogre Battle issue.
2015-04-14 22:07:45 -07:00
theboy181 49034d2d9d Update Ini File Class.cpp
Fix Project64.cfg from getting corrupted when moving the window around.
https://github.com/project64/project64/issues/225
2015-04-13 22:16:05 -07:00
zilmar a43b33d985 Merge pull request #370 from LegendOfDragoon/master
Fix losing audio while loading a save state
2015-04-13 10:00:31 +10:00
LegendOfDragoon 41c5e26e4a Make an rdb option for the save state audio fix
Now it is a per game config option.
2015-04-12 16:53:39 -07:00
LegendOfDragoon 61f80d3b55 Fix losing audio while loading a save state
This fixes the losing audio after loading a save state issue with
certain plugins in certain games. I was hesitant to submit this, since
the fault is the audio plugin itself, but this also fixes bad save
states. This will not fix games like Top Gear Rally.

Any plugin that initially had this problem, can still lose audio at any
given time, due to flaws in the audio plugin itself. It is best to
simply use a plugin that doesn't have this issue to begin with, for such
games.
2015-04-12 13:11:39 -07:00
Samuel Yuan 31cd0c6d98 Merge remote-tracking branch 'project64/master' 2015-04-11 11:38:22 -04:00
Samuel Yuan 5726992185 Added translation for "Detect Key" 2015-04-10 11:50:13 -04:00
Frank-74 b46bd392d6 Remove : from Advance block linking menu option 2015-04-10 08:53:51 +01:00
Samuel Yuan bd1186467d More language updates 2015-04-06 22:54:52 -04:00
Samuel Yuan bd275ae9e5 Merge remote-tracking branch 'project64/master' 2015-04-04 19:53:18 -04:00
zilmar 308a1c128e Merge pull request #342 from ExtremeDude2/More_Allman
Convert more files to allman
2015-04-04 22:01:54 +11:00
Samuel Yuan 217122a40e Fixed UTF-8 encoding for window title 2015-04-01 11:14:46 -04:00
Samuel Yuan df97b10d99 Fixed UTF-8 encoding for the "About Config Files" window 2015-03-30 16:47:57 -04:00
zilmar 2358e0897f Merge pull request #340 from toehead2001/master
Cheats window - Remove extra border around cheat list & Update checkmark gfx
2015-03-30 16:16:41 +11:00
Ryan Collins b807bc03ca Fix errors from missing or added brackets (and a letter!) 2015-03-29 17:58:51 -04:00
Ryan Collins 3eddfb8115 Update N64 System/Mips files to Allman 2015-03-29 13:19:28 -04:00
Ryan Collins 1b4d2d0cfb Update the N64 System/Interpreter files to allman 2015-03-29 11:02:27 -04:00
Ryan Collins 2a3d1c09ff Merge https://github.com/project64/project64 into More_Allman 2015-03-29 10:04:06 -04:00
zilmar 6bd7f7ccab [Glide64] 2.0.0.5 2015-03-29 18:56:18 +11:00
zilmar 06f218a4c3 [Project 64] 2.2.0.3 2015-03-29 18:54:04 +11:00
zilmar 9380221dc2 [PJ64 NRage] 2.4.0.4 2015-03-29 18:52:19 +11:00
toehead2001 5fd7f61e97 Cheats window - Remove extra border, Update checkmark gfx 2015-03-29 01:23:58 -06:00
zilmar 11bb35f024 [RSP] 1.7.0.13 2015-03-29 17:38:30 +11:00
zilmar 73620c8519 Merge branch 'master' of https://github.com/project64/project64 2015-03-29 17:35:53 +11:00
MELERIX 2878f53b75 Sync English.pj.Lang <==> Language Class.cpp 2015-03-28 21:57:02 -03:00
zilmar 84b9bbaf50 Clean up some brackets 2015-03-29 06:54:38 +11:00
Ryan Collins f8fd57d52e Merge https://github.com/project64/project64 into More_Allman 2015-03-26 15:40:16 -04:00
MELERIX dfbf29a035 Cleanup
Removed two duplicated variables in Game Settings.cpp
2015-03-26 02:28:05 -03:00
zilmar 7f44b12673 Merge pull request #327 from toehead2001/master
Remove the extra border around the ROM browser
2015-03-26 16:06:27 +11:00
toehead2001 17da1dbd38 Remove the extra border around the ROM browser 2015-03-25 22:38:59 -06:00
unknown 394144cf91 A comma should not precede a conjunction in a compound sentence.
... unless it is the joint between the main clause and subordinate clause of said compound sentence
2015-03-26 00:12:49 -04:00
unknown ae80595d47 fix a couple things I forgot to do/overlooked in the past commits 2015-03-26 00:11:43 -04:00
unknown 1fb3921402 Think of "32-bit engines", not "32 bit engines", which is ambiguous. 2015-03-25 23:31:28 -04:00
unknown 2220426a04 "Use High-Level Emulation Audio" doesn't make a lot of sense. 2015-03-25 23:29:02 -04:00
unknown e947bbc175 (It also believes in hyphens.) 2015-03-25 23:25:58 -04:00
unknown 5e17306b3e Conventional English writing avoids expressing (int < 100) as decimals. 2015-03-25 23:25:23 -04:00
unknown 401ff21d61 A complete English sentence always has a subject and a verb.
It also always ends with punctuation of some form, like a period.
2015-03-25 23:21:42 -04:00
unknown e38e6e6be4 In most cases, bytes aren't swapping images. Images get byte-swapped. 2015-03-25 23:18:31 -04:00
unknown 161ac36f6a seems I missed a few cases of unnecessary casing :( 2015-03-25 23:16:26 -04:00
unknown 0402a600a0 used in a complete sentence: "Sally gave me a short cut."
Did she give me a detour kind of "short cut", or did she just cut off my balls?
If we prefer not to say "shortcut", then at least say "short-cut".  This way, the adjective "short" is co-joined with "cut" to indicate that they are connected.  This guarantees that the "cut" is associated with "short", and not whatever word comes after.
2015-03-25 23:13:09 -04:00
unknown 64c8a7ad6e Event phrases are not titles or advertisement brand names. 2015-03-25 23:08:42 -04:00
unknown 62d1d7e97f Percentage of **what** speed? Full NTSC/PAL speed? Real hardware limit? 2015-03-25 23:07:25 -04:00
unknown 80f9254669 used in a complete sentence: "I have a 4kbit penis." 2015-03-25 23:05:48 -04:00
unknown f04744d65f stop that. 2015-03-25 22:59:31 -04:00
unknown 0721db93bb "Directories" is not a proper noun. Just "dir" is fine, not "Dir". 2015-03-25 22:43:47 -04:00
unknown 462f1c6f53 "Frame rate" is too specific, as that means RDP drawing/buffer rate. 2015-03-25 22:41:44 -04:00
unknown fae0c71a96 A drop-down menu is to the right of this, so a colon would be nice.
If you don't have a colon between the "Frame Rate Display" and the combo box, then it just looks like the combox box is randomly placed there and unrelated to the checkbox you just checked/unchecked.
2015-03-25 22:40:22 -04:00
unknown b331f9f452 So far, checkbox options seem to not use title case, just menu options. 2015-03-25 22:33:39 -04:00
unknown 17229ea735 "Screen saver" is not a proper noun. (Neither is "screensaver".) 2015-03-25 22:32:07 -04:00
unknown d4b654379c Again, title case capitalization rules apply not to subtle phrases. 2015-03-25 22:29:05 -04:00
unknown f2b69d1c2f http://dictionary.reference.com/browse/fullscreen
If "fullscreen" was a valid word, it would be an adjective, not a noun.  You cannot "go to" an adjective because adjectives are not places, people or things.  So it should be "enter" as in "enter a mode" (such as a full-screen mode), not "go to".
2015-03-25 22:26:09 -04:00
unknown f02bae81db not a complete sentence so shouldn't need a period at the end 2015-03-25 22:19:56 -04:00
unknown eeded3a1bf states directory for more than one saved state--should be plural 2015-03-25 22:17:52 -04:00
unknown c9f5697a06 Common nouns such as "directory" do not get capitalized. 2015-03-25 22:13:05 -04:00
unknown 02fe744168 "Reality" is a proper noun...I suppose "Reality Signal Processor" also is. 2015-03-25 22:10:21 -04:00
unknown 61674ad5d4 "Use High Level Emulation Audio" does not make sense.
"Use high-level-emulated audio" does make sense, but seems a tad bit strong (and people could mistake the "high level" to mean extra/better emulation without any scientific HLE understanding).  So I think "Audio HLE" looks better.
2015-03-25 22:06:24 -04:00
unknown 893156c61d no reason to capitalize "directory" at end of incomplete sentence 2015-03-25 21:56:00 -04:00
unknown 80d1aa8edd pretty sure title case capitalization doesn't apply to discrete phrases 2015-03-25 21:53:05 -04:00
unknown ceea0e47ff drop '%'
Either say "Percentage", or just drop the '%' since this symbol of unit is not relevant to what the menu item should convey to the user.  What we're really trying to do is show the CPU usage statistics...most likely the users would see for themselves what unit it comes out as (percentage, fraction, whatever).
2015-03-25 21:50:37 -04:00
unknown 3394211447 "Usage", as a noun, is always capitalized in title case. 2015-03-25 21:47:30 -04:00
unknown 3a1ab654ca Do not capitalize "on".
"On" is a preposition shorter than 5 letters long.  Standard title case does not ever capitalize short prepositions (unless they are the very first word of the title, then usually).  You can see this logic in the Visual Studio 2008 IDE itself:  It has menu items such as "Attach to Process" and "Find[/Replace] in Files", in which the prepositions "to" and "in" are, correctly so, not capitalized by Microsoft in the VS2008 menus.
2015-03-25 21:46:35 -04:00
unknown 70bf6b1ad9 if using title case for INI section names, then capitalize "file" 2015-03-25 21:33:21 -04:00
zilmar 0ef84b7400 Merge pull request #322 from toehead2001/master
English language fixes - Upper case "ROM", consistent terminology for saved States, spelling
2015-03-26 11:17:58 +11:00
Ryan Collins 1d26ffc661 re-add parenthesis from last commit 2015-03-25 19:34:39 -04:00
Ryan Collins 1c044867ae Update the N64 System/Debugger files to allman 2015-03-25 18:26:02 -04:00