Commit Graph

710 Commits

Author SHA1 Message Date
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