Commit Graph

1151 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
toehead2001 521857a643 Casing consistancy of "ROM" Make "State" the noun for saved states. Misc. spelling and abbreviation casing fixes 2015-03-25 15:48:23 -06:00
Ryan Collins 117c1ef3fc Remove whitespace added in previous commit 2015-03-25 17:15:25 -04:00
Ryan Collins 6a47fcd485 Update N64 System/C Core to allman 2015-03-25 17:12:40 -04:00
zilmar 061fbefa62 [PJ64 NRage] ignore raw when mempak is enabled 2015-03-26 07:54:48 +11:00
Ryan Collins b6181d5fe5 Add white space in multilanguage files 2015-03-25 16:52:34 -04:00
zilmar b3aaef221c [PJ64 NRage] Change default for mempack in the default config file 2015-03-26 07:46:44 +11:00
Ryan Collins 90b84ab632 Re-add missing braces from previous commit 2015-03-25 16:38:32 -04:00
Ryan Collins e6f834f11b Convert multilanguage files to allman format 2015-03-25 16:34:26 -04:00
zilmar a3e6ad1a80 Merge pull request #304 from toehead2001/master
English translation Clean Up
2015-03-26 07:07:07 +11:00
zilmar 3a9c552450 Merge pull request #305 from cxd4/wow_such_depth_very_buffer_much_frame_professor_zilmar_will_cry
standardize exception-prone x86 behavior to normal C division
2015-03-24 15:10:47 +11:00
zilmar bb5d7a4698 Merge pull request #309 from cxd4/do_et_4_mah_lulz
minor clean-ups to Glide64 config
2015-03-24 11:17:11 +11:00
unknown aede9e2eaf use functions to free cache space & smaller DLL (finished) 2015-03-23 19:38:32 -04:00
unknown 5387b9354d use functions to free cache space & smaller DLL (Data_DWORD_Game) 2015-03-23 18:53:53 -04:00
unknown 2e1dab501c use functions to free cache space & smaller DLL (Data_DWORD_General) 2015-03-23 18:43:41 -04:00
zilmar b3416d727a Merge pull request #308 from MELERIX/updates
minor updates for Installer.iss & package_zip.bat
2015-03-24 09:42:25 +11:00
unknown f48cbd1756 express `stipple_pattern` as 32-bit hex storage rather than decimal 2015-03-23 16:19:00 -04:00
unknown f6966f5e95 no moar lulz :( 2015-03-23 16:11:50 -04:00
MELERIX 1a47671cdb minor updates for Installer.iss & package_zip.bat 2015-03-23 15:28:00 -03:00
AmbientMalice 34d21f2a26 Enable FB and Soft Depth for Glide64.
After some testing, I've concluded that software depth is better on by default than off. Testing every single game would be too time consuming, and the problems it fixes can be obscure. Enabling FB by default just seems like good sense. A few games need it disabled, but I'll fix them case-by-case.
2015-03-23 20:47:52 +10:00
toehead2001 c622f5e788 Use "HLE" and "LLE" exclusively. Changed "ini" to more fitting terms. 2015-03-23 03:00:23 -06:00
unknown f82699c378 standardize exception-prone x86 behavior to normal C division 2015-03-23 01:20:23 -04:00
Samuel Yuan 8e6de534e6 Changed "SP Hack" setting to "Fast SP" 2015-03-22 13:17:42 -04:00
Samuel Yuan 5f9f2937e7 changed sp_hack to fast sp 2015-03-22 13:05:15 -04:00
Samuel Yuan d4fc9b355b merge changes 2015-03-22 12:47:21 -04:00
Samuel Yuan 4324f25394 Removed installer files for outdated language files 2015-03-21 09:16:27 -04:00
MELERIX e707a80abd SP Hack is now Fast SP 2015-03-21 06:47:48 -03:00
Samuel Yuan c7041f7a61 Restored SP_HACK 2015-03-20 22:32:55 -04:00
Samuel Yuan d3e1e1fc89 Added even more updates
Had to remove an unused string and replace it because there wasn't
enough memory
2015-03-20 15:38:55 -04:00
Samuel Yuan f2cacbf045 Updated some more UI strings 2015-03-20 14:36:29 -04:00
Samuel Yuan 07694dff40 Merge remote-tracking branch 'project64/master' 2015-03-20 13:15:57 -04:00
MELERIX f1c9add43a Removed Thumbs.db files 2015-03-20 05:46:56 -03:00
AmbientMalice 36cc34f10d TLB Unmapping and Protect Memory UI fix.
This should work. I think.
2015-03-20 13:36:49 +10:00
zilmar 175f294a00 Merge branch 'master' of https://github.com/project64/project64 2015-03-19 08:03:53 +11:00
zilmar f7750c0dd0 fix issue #275: duplicating Advanced options 2015-03-19 08:03:29 +11:00
zilmar 870c26d7b1 Merge pull request #287 from cxd4/so_i_herd_u_liek_Allman
converted most components to Project64 for Allman-style braces
2015-03-19 07:52:35 +11:00
zilmar 312516567e Only initialize plugins if has been created 2015-03-18 20:49:15 +11:00
zilmar 9cec56fc89 Nrage: default to mem pak 2015-03-18 20:48:45 +11:00
zilmar 8afe84f315 Set ini file to auto flush changes 2015-03-18 20:47:24 +11:00
unknown b890afe78b [RSP] some scope and spacing formatting clean-ups 2015-03-18 00:50:48 -04:00
Samuel Yuan 436a27c40d Fixed a few more UI translations 2015-03-17 22:09:33 -04:00
unknown 86952f5cc6 [Settings] some scope and spacing formatting clean-ups 2015-03-17 18:49:20 -04:00
unknown a247ffe6b1 [PJ64 NRage] some scope and spacing formatting clean-ups 2015-03-17 18:47:32 -04:00
unknown 5158883a86 [PJ64 NRage] minor consistency change in the headers
I'm not really a fan of using the Allman method of braces for typedef's, struct's or other data, but in this case N-Rage seems to have made up his mind throughout 99% the rest of the source to use Allman through it, except only for this particular file.  So I guess better to be consistent with the rest.
2015-03-17 17:26:25 -04:00
unknown ae04d23d86 [Common] some scope and spacing formatting clean-ups
Miserably hated doing this commit.  Couldn't tell which code was whose, which was copyrighted, which was foreign enough to Project64 that I'd probably best just leave-as is, which was even worth considering part of Project64, which cleanups to omit doing and ignore because some ugly practices were rampant throughout the entire file and distracted from the purpose of this pull request too much.  So tried to stick to mostly just the braces/indentation changes here.
2015-03-17 17:19:42 -04:00
zilmar b09fd8296a Merge pull request #272 from Nekokabu/patch-2
Enable "Use System Font"
2015-03-18 07:10:00 +11:00
zilmar 262c8ffe9d lamguage changes for rombrowser 2015-03-17 22:34:47 +11:00
Samuel Yuan 04ce2f6054 Made extra UI strings translateable 2015-03-16 22:56:53 -04:00
Nekokabu c78eb75ccf Enable "Use System Font" 2015-03-14 02:37:32 +09:00
unknown 516df09fce updating FPU locations just if STATUS_FR was changed, not entire reg 2015-03-12 19:53:28 -04:00
zilmar b1d3a27539 Language: Make sure string added to second level of keyboard shortcut added as utf16 2015-03-13 08:39:08 +11:00
zilmar 2a528562bf Fix load perm cheats 2015-03-12 17:58:41 +11:00
unknown a155a74f48 line break consistency fix: TxUtil.cpp 2015-03-11 17:17:43 -04:00
unknown 822de92789 line break consistency fix: ucode06.h 2015-03-11 17:17:16 -04:00
unknown 63c4ad0182 line break consistency fix: ucode00.h 2015-03-11 17:16:40 -04:00
unknown 56dfb581ed line break consistency fix: rdp.h 2015-03-11 17:16:16 -04:00
unknown 42de60ca44 line break consistency fix: Util.cpp 2015-03-11 17:15:42 -04:00
unknown 3bf2ac641b line break consistency fix: FixedPoint.asm.cpp (MORE POINTLESS ASM!) 2015-03-11 17:14:21 -04:00
unknown dbf981697e line break consistency fix: Debugger.cpp 2015-03-11 17:13:15 -04:00
unknown 24d86ab329 line break consistency fix: 3dmathSIMD.asm.cpp (btw inline asm SUCKS) 2015-03-11 17:12:49 -04:00
unknown 8ae5b052e7 line break consistency fix: Mempak.H 2015-03-11 17:10:23 -04:00
zilmar 6ed2346169 Merge branch 'master' of https://github.com/project64/project64 2015-03-12 06:55:56 +11:00
zilmar d0209b061f Language: have break point take a wchar_t * string and allow \n in language files 2015-03-12 06:50:30 +11:00
Nekokabu b8a93be2c7 Fixed initial value to 0xFF. 2015-03-11 01:58:02 +09:00
zilmar 099ac15bd5 Merge branch 'master' of https://github.com/project64/project64 2015-03-10 22:55:14 +11:00
zilmar 707c2efd73 Only allow utf8 bom language files to be loaded 2015-03-10 22:54:12 +11:00
MELERIX e9cd1b56da Minor Update for Installer.vcxproj 2015-03-10 05:17:02 -03:00
zilmar 080f7dfc17 Update version Number:
Glide64: 2.0.0.4
Project64: 2.2.0.2
RSP: 1.7.0.12
Nrage: 1.7.0.12
2015-03-10 18:36:58 +11:00
unknown cb9f9e2b56 keeping $0 overwrite prevention to just the CPU interpreter loop
Tried my best to make sure I didn't miss any op-codes.  (Ctrl+F searching for "!= 0" and "== 0" throught the file shows me that I didn't.)  If I did miss any op-codes, it's no bug, just remaining extra unnecessary checking for zero.
2015-03-08 20:20:05 -04:00
unknown 1772f1467c Prevent remaining possibilities of overwriting $zero in RSP.
In the RSP, MFC0, MFC2, and CFC2 were all susceptible to overwriting $zero.  Some of us have tried waiting for some games to use handcoded assembly in an attempt to purposely overwrite $zero in their microcode (to throw off emulators), but so far what few occurrences there have been of this have not included using those 3 opcodes.  Since it was decided to centralize the security of register $zero in the main R4300 CPU, it was decided to do so in the RSP as well.
2015-03-08 20:17:18 -04:00
unknown dc103ec59b keep $zero overwrite prevention to a single location in CPU loop
In both the 32- and the 64-bit interpreters, ADDI, LUI, LB, LW, LWU, LL, SLLV all check if the destination register specifier is 0, when none of the other interpreter ops do.  Actually, none of these 7 need to really check it either, since handling $zero overwrite is already managed in a single location in the main interpreter loop.
2015-03-08 19:29:41 -04:00
unknown 151ddf288d guess Glide64 in VS2013 linker needed fix in Release, not just Debug
warning MSB8030: The linker switch "Minimum Required Version" requires "SubSystem" to be set.  Without "SubSystem", the "Minimum Required Version" would not be passed to linker and could prevent to the output binary from running on older Operating Systems.
2015-03-07 17:28:46 -05:00
unknown b5604955d2 move OpenGL error flag state debugging from Glide64 to Glitch64
Do not call glGetError within Glide64::UpdateScreen to check for GL errors generated from Glitch64 functions, as Glitch64 does all the OpenGL handling (even if it is statically linked) and contains code that could be called from a different thread than gfx spec function `UpdateScreen`.
2015-03-07 17:26:02 -05:00
unknown f0d8810cc9 fix VS2013 linker warning about setting subsystem ver w/o a platform 2015-03-07 15:53:26 -05:00
unknown a80fe0674f should be able to debug OpenGL failures #ifndef _DEBUG now 2015-03-07 15:51:02 -05:00
Frank-74 30039150ec Fix Glide About/Config crash and memory leaks
No more memory leaks, and no more crashing.
2015-03-06 09:25:37 +00:00
zilmar 2ef36f5f80 Merge pull request #194 from death-droid/MempakFix
Correct behaviour of Mempak
2015-03-06 18:37:54 +11:00
zilmar bd3fd85b99 Language: More code cleanup, status messages, dialog box, etc 2015-03-06 18:27:31 +11:00
zilmar 0bd4b9deb9 A few more language tweaks 2015-03-05 22:33:57 +11:00
zilmar 34b5892e2c Merge branch 'master' of https://github.com/project64/project64 2015-03-05 17:10:40 +11:00
zilmar 37d24bf365 Some code clean up related to system tray messages 2015-03-05 17:09:58 +11:00
MELERIX 98f87e31d1 Minor Updates
- Installer.iss: Removed a non longer maintained input plugin.
- package_zip.bat: Output directory will be cleaned before start to copy
files, also removed copy line for two .chm files that are outdated.
2015-03-05 02:23:07 -03:00
zilmar e1ac837f32 Merge pull request #206 from cxd4/can_haz_GL_compat
Prevent calling NULL/uninitialized OpenGL extensions in Glitch64.
2015-03-05 13:39:17 +11:00
unknown 367ef048e0 DisplayError on call nonexistent GL commands only if pj64 debugger on 2015-03-04 20:40:31 -05:00
unknown d52605ec01 (MSVC) __stdcall convention from gl.h to fix call stack in Debug builds 2015-03-04 20:29:59 -05:00
zilmar a8abd5c75e Merge pull request #207 from MELERIX/patch
More Updates related with Translations.
2015-03-05 10:48:05 +11:00
MELERIX f9872ccdaf added a TODO for Multilanguage.h 2015-03-04 20:45:04 -03:00
zilmar b635983167 language: code clean up and fix some bugs 2015-03-05 09:44:25 +11:00
MELERIX e66ef07e0d More Updates related with Translations.
- Added few Desc where missing.
- Added a Missing String in English main lang file.
- Fixed some typos in the original english strings.
- Removed few Unused Strings.
- Sorted Strings by IDs.
2015-03-04 18:38:06 -03:00
unknown 7cd4e27e8a added some comments to show GL extensions/core version requirements 2015-03-04 15:12:45 -05:00
unknown cb9b7c1506 Implement fallback GL funcs so we don't call NULL func pointers. 2015-03-04 15:11:35 -05:00
Frank-74 23833f2b82 Glide Config/About dialog memory leak fix?
I'm still getting this one.  Haven't a clue about it.
>Order, Source File, Line Number, Mem Size
4332,Unknown, 0, 64
2015-03-04 10:51:00 +00:00
zilmar 71cc6def7b code cleanup and try o make language work better 2015-03-04 20:36:08 +11:00
zilmar a347b829d1 Merge pull request #191 from cxd4/so_i_herd_u_liek_vertex_arrays
a couple minor improvements to Glitch64 geometry, vector processing
2015-03-04 09:36:12 +11:00
zilmar 59c53e4f72 Merge branch 'master' of https://github.com/project64/project64 2015-03-04 06:01:46 +11:00
zilmar 31bed730a8 fix memory leak in settings class 2015-03-04 05:56:13 +11:00
Emmet Young 4f1c760236 We need to ensure mempak is closed when CN64System is closed, otherwise the handle will never be closed. 2015-03-03 22:49:02 +11:00
Emmet Young 2f4e21577a Core mempak, correct behaviour of mempaks, ReadFrom and WriteTo 2015-03-03 22:46:38 +11:00
Emmet Young 1b17b86ef2 Core mempak, change mempak behaviour to handle mempaks as separate files, rather than storing them in one singular file. 2015-03-03 22:31:37 +11:00
unknown a82947b5bd (Glitch64) vectorized depth bias triangle strip vertices 2015-03-02 21:26:11 -05:00
unknown c904115353 (Glitch64) Use previous commit to vectorize rectangle to matrix. 2015-03-02 20:51:47 -05:00
unknown bf5c842bb5 (Glitch64) drawing rectangles from vector form of vertices 2015-03-02 20:46:49 -05:00
zilmar f5b58e17a1 Merge pull request #186 from cxd4/so_i_herd_u_liek_OpenGL
Include more debugging in PJGlide64 for the OpenGL side of it.
2015-03-03 08:03:40 +11:00
unknown cd2f90f35f forgot to hit Ctrl+S to save latter half of the previous commit 2015-03-02 15:58:08 -05:00
unknown a015fdc089 fixed legacy function input names if not compiling on Windows 2015-03-02 15:48:35 -05:00
unknown fc16d51525 Propose to always check for GL errors before each vertical interrupt. 2015-03-02 15:25:00 -05:00
unknown c2d08d61dc new function for debugging OpenGL state machine faults in Glitch64 2015-03-02 15:23:26 -05:00
zilmar 4fed3ea0ec Fixed PJ_Glide New MemPak/Browse button crash by Frank-74 2015-03-03 06:51:38 +11:00
unknown 30ecec315e In Debug builds, force flushing of all GL commands each buffer swap. 2015-03-02 13:40:34 -05:00
unknown ab6cad081f implemented glFlush and glFinish 2015-03-02 13:17:00 -05:00
unknown e97389560b now able to parse ROM header's game title as ASCII data again 2015-03-01 22:57:14 -05:00
unknown 0ab6c15f05 Load null bytes as whitespace.
A few lines down in this file, there is a while() loop that removes all trailing spaces to replace them with null bytes, so "SUPER MARIO 64      " becomes "SUPER MARIO 64", whether or not we converted null bytes to spaces.  Also, the null byte is not documented to be a valid character for game developers to use in their ROM headers, even though for a few ROMs this is being done anyway.
2015-03-01 22:55:27 -05:00
unknown 16117e0e4c Load non-printable or non-ASCII characters as '?'. 2015-03-01 22:52:51 -05:00
MELERIX b3fe96e996 Cleanup & Updates for installer.
- Removed old Spanish langs from installer.
- Updated proper Project64 Stup version.
2015-03-01 21:37:55 -03:00
zilmar 40640a83e5 Merge pull request #171 from cxd4/wow_such_mempak_very_doge
newline formatting fix from Unix LF to DOS/Windows CRLF
2015-03-02 09:44:30 +11:00
zilmar 16ea73b660 Merge pull request #177 from LegendOfDragoon/master
Optimize a few instructions in RSP Recompiler
2015-03-02 07:44:57 +11:00
zilmar 61e0bc735e Merge pull request #160 from Frank-74/patch-1
Glide64 RomOpen, use UTF8 for RomName string
2015-03-02 06:50:27 +11:00
LegendOfDragoon 7f5aa6b521 Implement MMX version of VABS in RSP Recompiler 2015-03-01 03:39:14 -08:00
LegendOfDragoon b4dbc570a5 Small optimization to VSUB 2015-03-01 03:33:17 -08:00
LegendOfDragoon 9706484850 Small optimization to VADD 2015-03-01 03:31:57 -08:00
LegendOfDragoon 9bb8ca9b3c Small optimization to VMUDH 2015-03-01 03:25:41 -08:00
LegendOfDragoon 9e4f3d2e0f Small optimization to VMUDL 2015-03-01 03:18:17 -08:00
LegendOfDragoon fa4fcc9d93 Small optimization to VMULF 2015-03-01 03:07:16 -08:00
LegendOfDragoon 3b208a79cd Implement recompiler version of Cop2_CT 2015-03-01 02:59:10 -08:00
LegendOfDragoon bdce1a41ef Implement recompiler version of Cop2_CF 2015-03-01 01:52:46 -08:00
zilmar a366645fb4 Fix 7zip loading 2015-03-01 20:32:42 +11:00
unknown a7a22b13f0 newline formatting fix from Unix LF to DOS/Windows CRLF 2015-02-28 21:33:12 -05:00
zilmar 4854a03fda Merge branch 'master' of https://github.com/project64/project64 2015-02-28 16:15:53 +11:00
zilmar 2a583fd13c update 7zip code 2015-02-28 16:05:57 +11:00
Frank-74 b4535ccaf8 Glide64 RomOpen, use UTF8 for RomName string
Reverted 8e912cb , and changed wxString::FromAscii(name) to wxString::FromUTF8(name)
2015-02-27 20:09:28 +00:00
zilmar 8e912cb229 fix assert on converting internal name from ANSI to wchar 2015-02-27 10:09:30 +11:00
zilmar d0496655d2 Merge branch 'master' of https://github.com/project64/project64 2015-02-26 22:01:58 +11:00
zilmar 491377c2a4 add rdb option for selecting plugins game hack applies to 2015-02-26 21:57:51 +11:00
zilmar f5e36d8356 Merge pull request #146 from cxd4/yo_dawg_i_herd_u_liek_stdint
Redo pull request #92
2015-02-26 16:20:33 +11:00
no 51c18b755b included LB to apply to the last commit 2015-02-26 00:15:26 -05:00
no 76da145c2a declare and initialize all in one line 2015-02-26 00:02:38 -05:00
unknown c323eda4bb (RSP) exact size types for scalar unit emulation and signedness matching 2015-02-25 22:57:19 -05:00
unknown 39865b8025 type size cleanups to RSP memory emulation 2015-02-25 22:45:33 -05:00
unknown 637b022f40 Introduce portable, standard integer types to RSP CPU. 2015-02-25 22:21:43 -05:00
Frank-74 7c1ecdd1fc Update Installer.iss
Remove plugins and docs that are no longer included.
2015-02-26 00:08:17 +00:00
zilmar f33ad44d16 Merge pull request #141 from Frank-74/master
Default setup directory fix.
2015-02-25 21:04:54 +11:00
zilmar 304aebbdd4 add store constant for 0410000C in recompiler 2015-02-25 19:26:48 +11:00
Frank-74 73f09adaf0 Update Installer.iss
Without a unique AppId, 2.2 setup will use the previous 2.1 install directory as default, instead of Program Files\Project64 2.2.
2015-02-25 08:01:30 +00:00
zilmar bbd45d45ba DSRL32 should not sign extend 2015-02-25 17:41:54 +11:00
Emmet Young 2cd859640f We need to set the id for XInput controllers separate from the controller number where handed.
This is to stop XInput controller one from having to be used in first player.

Also remove the need for the bconnected variable, allows controllers that are connected at game start to be disconnected and reconnected for XInput.
2015-02-25 15:48:38 +11:00
zilmar 3fac386d55 Merge branch 'master' of https://github.com/project64/project64 2015-02-25 08:44:49 +11:00
zilmar aae61e8350 Clean up some of the games plugin settings 2015-02-25 08:44:06 +11:00
Emmet Young 7b52fe10b9 Change XInput to be loaded into memory at startup rather than every time InitiateXInputControllers is called. 2015-02-24 22:52:32 +11:00
zilmar 67deab4699 Merge pull request #122 from death-droid/NrageChanges
NRage GBCart, use actual address ranges rather than hacky method. No rea...
2015-02-24 05:26:27 +11:00
exhalatio ddb99227dd flxed Flash Status 2015-02-23 20:00:44 +09:00
zilmar bc75c012ce Merge pull request #133 from Frank-74/master
Update Installer.iss
2015-02-23 18:32:13 +11:00
zilmar 414811af79 Make sure SPECIAL_DIVU detect div by 0 correctly 2015-02-23 17:18:15 +11:00
Frank-74 7de8153c35 Update Installer.iss
Changed versions to 2.2.  Added PJ64_Nrage.dll to installer.
2015-02-23 05:42:51 +00:00
zilmar 43cdb3da5a nrage: 2.4.0.2 2015-02-23 04:06:53 +11:00
zilmar d35846041f Nrage: fix bug with removal of SPECS_VERSION where it would not update the controller spec info 2015-02-23 04:05:41 +11:00
zilmar 0519ad93c1 Nrage: fix a compiling warning 2015-02-23 04:04:47 +11:00
Emmet Young 6b1a88d3a4 Change to how NRage is dynamically linking XInput, rather than loading it every time functions such as GetXInputControllerKeys is called. Do it on initiate of controllers. Still not the best way to handle it.
Need to rethink the way NRage handles the different API's rather than just tacking it on the side
2015-02-22 21:11:20 +11:00
zilmar e51ec31e65 Update versions
Project64: 2.2.0.1
Glide64: 2.0.0.3
RSP: 1.7.0.11
Nrage: 2.4.0.1
RDB: 2.2.2
2015-02-22 19:43:15 +11:00
zilmar 194761fe66 Dynamic link XInputSetState 2015-02-22 16:50:16 +11:00
zilmar 4f4f4bc491 Merge pull request #114 from death-droid/NrageNoNeedFor1.0
No point in having an older version of the controller specs. for Nrage
2015-02-22 14:11:08 +11:00
Emmet Young 1340e6fea5 NRage GBCart, use actual address ranges rather than hacky method. No real benefit to the hacky method as the code isnt that much cleaner and creates edge cases. 2015-02-22 12:07:45 +11:00
Emmet Young 783f2d0668 Slight mistake in Version.h for DLL's, was setting VFT_APP instead of VFT_DLL 2015-02-22 00:45:00 +11:00
zilmar f7b1eb90d2 Merge branch 'master' of https://github.com/project64/project64 2015-02-21 21:22:45 +11:00
zilmar e05a7db66d Move reset out of message handling 2015-02-21 21:21:17 +11:00
Emmet Young 0f85dc146b No point in having an older version of the controller specs. 2015-02-21 16:33:30 +11:00
Emmet Young 3657bfb3ee Make sure NRage properly uses our Version.h 2015-02-21 14:00:59 +11:00
Nicholas 129932d86e Merge branch 'master' of https://github.com/project64/project64 2015-02-21 12:00:50 +11:00
Nicholas c07497e96a Dynamically link XInputGetState 2015-02-21 12:00:01 +11:00
MelchiorGaspar a5479b94fb 2015-02-20 16:40:41 -05:00
MelchiorGaspar 34d1725374 Update NRagePluginV2.rc
update version strings from 2.3c to v2.3.0.2 to reflect the plugins full version #.
2015-02-20 16:00:27 -05:00
MelchiorGaspar 71459995ee Update NRagePluginV2.rc
Update Copyright year from 2011 -> 2015
2015-02-20 15:53:29 -05:00
Nicholas 87de53b202 fix glide about box 2015-02-20 21:10:13 +11:00
zilmar 662e3efa27 Update project settings for visual studio 2013 2015-02-20 20:09:05 +11:00
zilmar 436888dd6b Update version numbers and create a package zip 2015-02-19 19:03:33 +11:00
Emmet Young 595cddae99 Strip out the CHMs and remove htmlhelp as it is no longer needed 2015-02-19 16:08:26 +11:00
zilmar 6be9e796ee Merge pull request #100 from LegendOfDragoon/master
Fix mistakes in IsNextInstructionMmx() and UseRspFlags()
2015-02-19 14:24:27 +11:00
LegendOfDragoon 8aa40e4119 Add some missing instructions to UseRspFlags()
This change should get rid of some message box popups when enabling Show
Compiler Errors.
2015-02-18 18:34:32 -08:00
LegendOfDragoon 36e5d8d353 Fix problem with IsNextInstructionMmx()
It's supposed to check the next instruction, which is PC, rather than
the current instruction which is CompilePC. This mistake is what caused
graphical errors in RE2.
2015-02-18 18:18:27 -08:00
zilmar 11c91e4f8d Merge pull request #99 from LegendOfDragoon/master
Fix RomClosed() issue for RSP #1.1 plugins
2015-02-19 08:52:04 +11:00
LegendOfDragoon 4d2611fadd Only WriteTrace in RomOpen if RomOpen != NULL 2015-02-18 13:24:36 -08:00
zilmar 8a6c2b2555 RSP.vcproj: Remove some of the unused files 2015-02-19 08:15:06 +11:00
LegendOfDragoon a070d5f38c Fix RomClosed() issue for RSP #1.1 plugins
RSP #1.1 does not have RomOpened() so m_RomOpen is never true. Since
m_RomOpen is never true, RomClosed() never gets called.
2015-02-18 13:12:42 -08:00
zilmar 9d607af14f Nrage: Update version and change location of log and config dir 2015-02-18 20:52:23 +11:00
zilmar 93404e32dc CPlugin::GameReset should call RomClose, not RomClosed 2015-02-18 17:09:09 +11:00
zilmar 5a288052b8 fix version string include 2015-02-18 07:47:41 +11:00
zilmar 9a89efd6d1 Merge branch 'master' of https://github.com/project64/project64 2015-02-18 07:42:02 +11:00
zilmar dba475a1ae change drag and drop filename length to MAX_PATH 2015-02-18 07:41:34 +11:00
Emmet Young 4a8986d416 Hopefully add correct files for Visual Studio 2008 2015-02-17 21:07:15 +11:00
Emmet Young e540a7fdac Old common version.cpp and version.h is no longer required, remove it. 2015-02-17 21:00:44 +11:00
Emmet Young d38de99bfa Make glide64's version info reference from version.h 2015-02-17 20:56:34 +11:00
Emmet Young 7a6a22b8ec RSP Use Version.h version info in resource file 2015-02-17 20:45:57 +11:00
Emmet Young 714886e5ca Move Project64 core over so resource file references version info from Version.h 2015-02-17 19:28:30 +11:00
zilmar d033a4f2b8 Merge pull request #88 from death-droid/PathOSVersionCleanup
Path os version cleanup
2015-02-17 17:16:44 +11:00
zilmar 975ec2dce8 Merge pull request #93 from cxd4/so_i_herd_u_liek_TargetName_and_TargetPath
Fix linker warning MSB8012 in VS2013 for RSP module.
2015-02-17 08:24:22 +11:00
unknown 5975976d82 matched VS2013 RSP rel to RSP dbg, glide rel and glide dbg 2015-02-16 15:41:04 -05:00
Emmet Young 45f83e9d2c Handle files that are dragged and dropped onto Projec64's window. 2015-02-17 01:13:02 +11:00
zilmar 1f97185f05 disable manifest for visual studio 2008 2015-02-16 17:58:35 +11:00
Emmet Young fb6e9aa4fe Remove the need for OSVersion code. 2015-02-16 17:19:11 +11:00
Emmet Young 6a3836d40f Initial Cleanup of Path.cpp, remove no longer used functions 2015-02-16 17:13:37 +11:00
oddMLan e0ecffe5c1 Update UI Resources.rc to use manifest file 2015-02-15 19:54:42 -07:00
oddMLan 4fec91eb13 Update Project64.exe.manifest 2015-02-15 19:52:59 -07:00
oddMLan af51a5b69b Tell Visual Studio to not automatically generate a manifest file 2015-02-15 19:49:22 -07:00
zilmar b42fcd6434 remove ValidateBinary.cpp from vs2008 project 2015-02-16 08:26:43 +11:00
zilmar 234d557220 Merge pull request #86 from death-droid/MiscCleanups
Misc cleanups
2015-02-16 08:06:36 +11:00
zilmar e431dcd5e8 Merge pull request #85 from death-droid/InitialWindowPosfix
Fix problems with the initial positioning of windows when there is no se...
2015-02-15 19:33:49 +11:00
Emmet Young 8388db4ac4 Fix problems with the initial positioning of windows when there is no setting in the config file 2015-02-15 18:10:25 +11:00
zilmar 0ef6a9ecbe Merge pull request #83 from cxd4/so_i_herd_u_liek_MSVC_warning_fixes
fixed VS2013 linker warning MSB8030
2015-02-14 23:08:34 +11:00
Emmet Young b10b268e11 Remove the no longer used Processor Info.cpp and .h code 2015-02-14 22:24:55 +11:00
Emmet Young d5f17dbe6d Strip out Validate binary and beta release code. No longer needed, validate binary code could of been used for version testing but be cleaner to write it fresh. 2015-02-14 22:17:45 +11:00
zilmar 9870277f60 Merge pull request #82 from death-droid/CiCChanges
Cic changes
2015-02-14 18:05:09 +11:00
unknown 95bef00406 fix VS2013 linker warning on system version without SubSystem 2015-02-13 22:27:09 -05:00
Emmet Young 3e1498ef8e Make CIC_UNKOWN behave like CIC_NUS_6102. If debugger is enabled, it will display an error message with the missing CIC CRC. 2015-02-14 14:10:05 +11:00
Emmet Young e2f73e9e3d For all CiC related stuff, we should really be using our typedef rather than numbers. 2015-02-14 13:26:26 +11:00
zilmar 0180313f8a Merge pull request #78 from cxd4/ya_afxres_sucks_plz_kthxbai
Make compiling easier for people with VS Express.
2015-02-14 07:34:36 +11:00
zilmar 811a41d494 better handle moving sand saving of rom browser window location 2015-02-14 06:40:25 +11:00
unknown d0c7798e08 removed unnecessary MFC dependencies from RCs 2015-02-13 12:09:02 -05:00
zilmar 167ceb11b1 Fix problem where ScreenHertz was not setting based off of RDB by death-droid 2015-02-13 08:39:27 +11:00
zilmar 17a3561c23 better hardware support for odd PI_WR_LEN_REG addresses (cdx pull request #64) 2015-02-13 08:26:17 +11:00
zilmar c973db8e35 Try to get dynamic plugin change working 2015-02-12 21:58:28 +11:00
zilmar 48dff52b49 In debug make sure fixed audio is on 2015-02-10 23:40:32 +11:00
zilmar 7345ecd97e basic timing support for VI_V_CURRENT_LINE_REG alternating scan fields by cxd4 2015-02-07 10:19:49 +11:00
zilmar 5b10c4a054 Fix up Glide64.rdb in the installer 2015-02-06 17:13:15 +11:00
zilmar 2db3fac037 Rename Glide.rdb to Glide64.rdb 2015-02-06 16:48:15 +11:00
zilmar 1711cb1d08 Split glide settings in to Glide.rdb 2015-02-06 12:40:57 +11:00
unknown c09e04e7fa (Glide64) ammend previous fixes to treat undefined cases as errors 2015-02-04 15:44:56 -05:00
unknown db259a3717 (Glide64) forgot to enable also a separate ERROR logging macro 2015-02-04 15:28:26 -05:00
unknown 61fd3b74b1 (Glide64) #define RDP_LOGGING when compiling in Debug mode 2015-02-04 14:03:27 -05:00
zilmar a88d03a12d Update JALR edge condition 2015-02-03 17:36:42 +11:00
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