Commit Graph

659 Commits

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