summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* * Sync with codeplex branch (libpcsxcore, linux gui)Stelios Tsampas2017-07-3140-211/+321
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit reflects mostly changes that happened in upstream since the last sync. Commit messages in upstream are lacking information. Most important changes are commented below, the rest of them are either formating or just trivial stuff. Memory viewer, invalidate dynarec gui/DebugMemory.c libpcsxcore/cdrom.c libpcsxcore/gpu.c libpcsxcore/misc.c libpcsxcore/psxdma.c Load binary files and psx executables libpcsxcore/misc.c libpcsxcore/misc.h libpcsxcore/plugin.c libpcsxcore/plugin.h Support for psxida libpcsxcore/debug.c libpcsxcore/r3000a.c plugins/bladesio1/connection.c disable loading save states with digits gui/Plugin.c Fix psxDIV in interpreter libpcsxcore/psxinterpreter.c
* * Revert parts of the per game memory card patch.Stelios Tsampas2017-07-3010-60/+84
| | | | | | | | | | | | | The previous implementation was doing file paths manipulation deep inside sio.c, and it was hardcoding windows style paths. This was breaking on linux in more than one ways and it is incompatible with the dynamic apppath handling from codeplex branch. Moreover, SaveMcd and LoadMcd functions already take memory card file paths as arguments, making any such logic redundant. This patch rewrites the global Config.Mcd# variables during game startup, which makes it more compatible across all platforms. It also has the added benefit that it doesn't update the configuration file with the each game's memory cards, i.e. at PCSXR startup the default memory cards will be loaded.
* * Plugin.c: Add PGXP visual debug binding (F11)Stelios Tsampas2017-07-284-10/+10
| | | | | * GtkGui.c: Fix path saving in file selection dialog * LnxMain.c: Don't look for bios in data directory
* * dfinput: Fix possible buffer overflows in the ui.Stelios Tsampas2017-07-204-11/+17
|
* * Add setting to disable physical gamepad vibration.Stelios Tsampas2017-07-195-23/+97
|
* * Optimized pixmaps to reduce sizeStelios Tsampas2017-07-1824-0/+0
|
* * Add UI configuration knobs from overclocking, wipeout memhack and per game ↵Stelios Tsampas2017-07-183-715/+857
| | | | | | mcd. * Clean-up UI from deprecated attributes.
* * Add configuration UI for PGXP.Stelios Tsampas2017-07-1710-2/+396
| | | | * Clean generated files with `make clean`
* * Add nullsio1 plugin from upstreamStelios Tsampas2017-07-175-0/+336
|
* * Bring pluing Linux(gtk) interfaces up to date.Stelios Tsampas2017-07-1720-814/+855
|
* * Bring main Linux(gtk) UI up to date to remove deprecated warnings.Stelios Tsampas2017-07-1729-436/+349
|
* * Move data and pixmaps folders inside gui folder to reflect codeplex branch.Stelios Tsampas2017-07-1632-27/+63
| | | | * Enable overclock feature in config file.
* Bring cdriso.c up to date to enable CCDDAStelios Tsampas2017-07-165-307/+377
|
* Fix compilation on linux.Stelios Tsampas2017-07-1615-34/+90
|
* Prevent incomplete vertices using precise NCLIPiCatButler2017-04-253-2/+3
| | | | - Fixes errors ocurring in +CPU mode where NCLIP is used for collision detection
* Add texture only visualisationiCatButler2017-03-241-2/+12
|
* Fix issue with flat shaded primitives in colour only modeiCatButler2017-03-191-4/+5
|
* Fix false positive when rendering transparent objects in wireframeiCatButler2017-03-191-1/+5
|
* Add support for new visualisationsiCatButler2017-03-174-234/+169
| | | | | | | - vertex colour - new primitive type encoding Now displays semi-transparent as coloured wireframe to allow them to be visible without corrupting the colour information.
* Add support for arbitrary clock multipliersiCatButler2017-03-175-44/+28
| | | | Allows users to set an arbitrary floating point value to multiply CPU clock speed by. Drop box provides access to all the previous presets.
* Fix some edge cases and imprve depth visualisation:iCatButler2016-09-013-30/+253
| | | | | | | | - Remove upper 4-bits of each vertex as they may contain bad data (THPS) - Check if memory block from DMA is as expected, some primitives are not the first data in the block and preceding data needs to be skipped (HT, A2) - Change depth visualisation to a colour gradient that makes inconsistencies easier to see - Add support for visualising low resolution but consistent depth found in the Ordering Table
* Merge pull request #3 from CarterLi/masteriCatButler2016-08-054-2/+45
|\ | | | | Fix OSX build
| * Fix OSX buildCarter Li2016-08-054-2/+45
|/
* Add PGXP support to 64bit dynareciCatButler2016-08-052-10/+384
| | | | - Copy over PGXP integration from 32bit version
* 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
|