summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix possible function pointer initialisation problemiCatButler2016-08-033-4/+3
|
* Fix NCLIP related crashiCatButler2016-08-013-26/+30
| | | | - provide wider window where NCLIP can return 0 as this was causing a crash in RR:Revolution
* Various CPU updatesiCatButler2016-07-3010-194/+1017
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Sign extend values read using LH - Add conversion functions to represent Signed/Unsigned 16-bit ranges - Add overflow and truncation functions for 16-bit ranges - Sign extend imm value in ADD(U) - Add component overflow and truncation to ADD/SUB functions - Construct new value in logic operators where result using inputs is undefined - Return a valid W component from logic operators (if either input has one) - Compare against high value (y), then low value (x) in less than operators - Use doubles and implement overflow for Multiply operations to try to increase accuracy - Use unsigned values in both MUL and DIV operations to make output as accurate as possible - Implement several variants of shift operators. Trying both arithmetically correct and more analytical approaches with varying success. Debug updates - Added ability to force all values to be equal to low precision values before operating on them - Added feature to test output of operations against a tolerance and print only those which fail GPU updates - Colour vertices with valid XY coordinates but no W as cyan to make them easier to spot - Remove cyan colouring for stale vertices (wasn't useful) - Added ability to skip debug rendering when needed (like seeing the output of offscreen rendering applied to a sprite). - Added new mode which shows primitive type
* Use overclock on load stateiCatButler2016-07-301-0/+4
| | | | - Recalculate CPU counters using current clock speed on loading a new state
* Change "valid" flag to multiple bit flagsiCatButler2016-07-047-56/+105
| | | | Validity of a pgxp value can now be set for any of four components using individual bit flags. This also allows the potential expansion of more flag data for each component.
* Additional checksiCatButler2016-07-028-162/+387
| | | | | | | - Change processor transfer functions to use take both source and destination values - Add enum values to all debug functions to double check instructions are correct - Temporarily store instruction codes in interpreter wrappers as these are sometimes changed by branching - Change recompiler wrapper functions to store register values in global variables in case they're changed by the original function
* Fix interpreter bugsiCatButler2016-06-303-21/+33
| | | | | | - Reset CPU on switching between interpret and recompiler - Call wrapped functions even when tests fail - Handle retrieved data overwriting address in load operations
* Initialise GTE and CPU regsiters (invalidate)iCatButler2016-06-305-2/+25
|
* Disable debug modeiCatButler2016-06-294-2/+7
| | | | - Also add stub for RFE operation
* Imporved CPU integrationiCatButler2016-06-2725-1420/+1305
| | | | | | | | | | | | | | | | | - Change PGXP integration to use wrapper functions - Use modified function lookup tables to call wrappers or default funnctions based on mode - Implement wrappers for interpreter too, recompiler sometimes calls interpreter functions - Add UI elements for selecting CPU modes - Only call precision version of NCLIP in modes where there are not going to be stale vertices in GTE registers - Added support for CP0 co-processor functions - Improve support for CPU functions (still broken in many games) - Improved debug output to show values for inputs before they're modified GPU plugin - Ignore stale vertices (occurs when CPU mode no longer writes to memory) - Add Cyan vertex colouring for stale vertices
* CPU op fixesiCatButler2016-06-111-35/+42
| | | | | - SH: Use appropriate masking when validating 16-bit values before storing - Shift operations: on shifts larger than 16bits, first shift elements along, then apply arithmetic for remainder
* Initial PGXP CPU commitiCatButler2016-06-0718-519/+2853
| | | | | | | | | | - Restructured project to base interface on PSX instructions - Support for all relevant CPU arithmetic and logic instructions - Debug output available via deferred PGXP calls - Remove most dependencies on PCSXR - Still very much a work in progress (lots of errors) - Add extra debug information to GPU plugin (w values)
* Add checkbox for per-game memory cardsiCatButler2016-05-313-2/+16
|
* Fix screen smoothingiCatButler2016-05-311-0/+7
| | | | | - Reset w values - Set PGXP flag to ignore
* Add PGXP configuration dialogiCatButler2016-05-168-21/+131
| | | | - Allows independent toggling of PGXP, vertex caching and texture correction
* Merge with OSX commitiCatButler2016-05-155-10/+48
|\
| * Merge pull request #2 from CarterLi/masteriCatButler2016-05-135-10/+47
| |\ | | | | | | Fix build on OSX
| | * Fix build on OSXCarter Li2016-05-135-10/+47
| |/ | | | | | | Tested on OSX 10.11.4, Xcode v7.3
* | Implement vertex cachingiCatButler2016-05-157-35/+230
| | | | | | | | | | | | | | - Try using Blade_Arma's vertex cache to find untracked vertices - Fix GTE_LOG - Add more logging spew - Update debug mode to track cached vertices
* | Track memory read and writes with constant addressesiCatButler2016-05-151-0/+80
| |
* | Define and initialise PsxClockSpeediCatButler2016-05-152-1/+4
|/ | | | - Fixes crash on entering bios
* Add PGXP visual debug modeiCatButler2016-05-1010-10/+272
| | | | | | | Toggles using F11 Red = low precision Blue = high precision Yellow = Sprite
* Integrate SonofUgly's overclocking mechanismiCatButler2016-05-086-13/+107
| | | | | | https://github.com/SonofUgly/PCSX-Reloaded/commit/3f11d29f31ca02575aeedf073e87ffee933effb0 Integrated with a few small changes.
* Revert pcsxr@87829iCatButler2016-05-081-27/+6
| | | | | | | | | https://github.com/iCatButler/pcsxr/commit/a37e3f092fd84658c67ec537590dd5f4710ee174 "peopsgl/xvideo: fixed interlace/frame bit31 toggling. Now X-Men Acade… …mies are fine. Obsoletes use of odd/even hack." This fixes a hang on going to the title screen in many games.
* More fixes for persective correct buildiCatButler2016-05-063-23/+56
| | | | | | - Switch back to fixed point GTE - Only clamp w to h/2 after divide - Fix vertex function for multi-pass (was overwriting vertexon first pass)
* Ensure w is reset to 1.f to prevent stale values.iCatButler2016-05-033-8/+12
|
* Fix bugs from previousiCatButler2016-05-028-79/+110
| | | | | | | | | | | | Fix stray triangles - Switch to full floating point RTPS/RTPT - Clamp w values to near plane Fix texture corruption in 1.78, copy 2.4 Tweak - Remove matrix replacement - Add W component to vertices - Wrap glVertex3fv calls - Use counter to call glVertex4fv for PGXP vertices only
* Perspective correct texturingiCatButler2016-04-2710-127/+321
| | | | | | | | | | | | | - replace calls to glOrtho with new matrix (z value becomes w) - store w value for each vertex - if any vertex does not have a w value set whole polygon to 1.0 - Reset vertex between draw calls to prevent stale w values persisting - validate PGXP values using stored copy of original (allow greater variance) - properly convert addresses before passing to plugin - rework memory to use a single pool with offsets - Implement floating point RTPS/RTPT transform, currently disabled.
* Fix load state bugiCatButler2016-04-011-0/+2
| | | | | | In some games PGSX memory pointer was not being set after saved states were reloaded, causing the GPU plugin to fall back on fixed point values. Ensure that PGSX memory pointer in GPU plugin is always set upon initialisation.
* Merge pull request #1 from tapcio/masteriCatButler2016-04-0114-364/+432
|\ | | | | Added my improvements and some fixes
| * Added:Robert Krawczyk2016-04-0114-364/+432
|/ | | | | | | | - per game memory card support (improved version) - save state pictures (F2) - Wipeout MemHack (improved version) Fixed LTCG build and set as default.
* Revert "Son of Ugly's Wipeout patch"iCatButler2016-03-315-46/+19
| | | | | | Breaks Chrono Cross intro sequence camera. This reverts commit f7f38c4b89937391a8ba7c785d0d6b108ac02eb7.
* Fix default definition of pgxpMemory call.iCatButler2016-03-301-1/+1
|
* This Son of Ugly's Wipeout patchiCatButler2016-03-305-19/+46
| | | | from https://github.com/SonofUgly/PCSX-Reloaded via Solis
* Prevent crash on negative length patchiCatButler2016-03-301-24/+11
| | | | From the pcsxrearmed project via Solis.
* Bring up to date with PCSX-R master (97809)iCatButler2016-03-3037-2308/+2645
|
* - Fix memory addresses as each mirrored address range is further mirrored 4 ↵iCatButler2016-03-284-46/+62
| | | | | | | times... :( - Catch 8bit reads/writes and invalidate registers and memory as needed - Prevent reading over the end of stride and count arrays when decoding primitive commands
* - Move pgxp_gpu source files into correct folder.iCatButler2016-03-268-465/+517
| | | | - Trace 16 bit reads and writes, invalidate register or memory (fixes UI glitches)
* Initial upload of PGXP.iCatButler2016-03-2519-51/+727
|
* Update to VS 2015iCatButler2016-03-227-13/+21
|
* Russian translation (edgbla);SND\edgbla_cp2015-02-2210-69/+69
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@94310 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Spanish translation (Imanol08);SND\edgbla_cp2015-02-2110-960/+960
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@94305 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* OS X: Hook up the DFNet's okay and cancel buttons.SND\MaddTheSane_cp2015-02-101-2/+8
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@93922 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* OS X: add CFBundleShortVersionString to the QuickLook and Spotlight importers.SND\MaddTheSane_cp2015-02-082-0/+2
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@93880 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* OS X: limit what is exported on the plug-ins.SND\MaddTheSane_cp2015-02-087-0/+227
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@93879 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* OS X: The SoftGL plug-in don't need to link against GLKit:SND\MaddTheSane_cp2015-02-082-3/+5
| | | | | | We don't use anything from it. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@93878 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* OS X: Fix an off-by-one error that was causing the QuickLook and Spotlight ↵SND\MaddTheSane_cp2015-02-073-6/+6
| | | | | | | | plug-ins to crash. The bug was also present in the app itself, but it didn't crash. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@93874 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Plugins/DFInput: change the order of SDL subsystems being closed on SDL2 builds.SND\MaddTheSane_cp2015-01-271-2/+3
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@93286 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* OS X: Have custom views use IB_DESIGNABLE.SND\MaddTheSane_cp2015-01-274-9/+20
| | | | | | Minor comment change. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@93285 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* psxBios__card_status() (Solis);SND\edgbla_cp2015-01-271-1/+10
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@93284 e17a0e51-4ae3-4d35-97c3-1a29b211df97