summaryrefslogtreecommitdiff
path: root/libpcsxcore/gpu.c
Commit message (Collapse)AuthorAgeFilesLines
* * Fix file and folder permissionsStelios Tsampas2018-03-191-0/+0
|
* * Sync with codeplex branch (libpcsxcore, linux gui)Stelios Tsampas2017-07-311-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Initial PGXP CPU commitiCatButler2016-06-071-1/+1
| | | | | | | | | | - 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)
* Perspective correct texturingiCatButler2016-04-271-1/+1
| | | | | | | | | | | | | - 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.
* Initial upload of PGXP.iCatButler2016-03-251-0/+2
|
* Fix Toshinden Subaru with a hack for now. Seems that xa.c needs some further ↵SND\ckain_cp2013-10-021-1/+1
| | | | | | debugging. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@87349 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Vampire Hunter D title screen hack revisited. Fixes Tomb Raider II opaque ↵SND\ckain_cp2013-09-271-4/+5
| | | | | | water effect. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@87330 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* mem2vram: delay based on BS size. Fixes X-Files videos. Seems not break ↵SND\ckain_cp2013-03-061-12/+12
| | | | | | other videos or games. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@83403 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Fix Vampire Hunter D title screen by handling special DMA CHCR 0x0401 (not ↵SND\ckain_cp2013-02-131-1/+2
| | | | | | | | | | | start/busy). http://nocash.emubase.de/psx-spx.htm#dmachannels DmaExec looks fugly now. :/ git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@82841 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Unix style EOL (thanks to darktjm);SND\edgbla_cp2012-11-181-186/+186
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@81299 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Updated Free Software Foundation address (Jem256).SND\dario86_cp2012-02-191-1/+1
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@75156 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@64466 ↵SND\edgbla_cp2011-03-111-7/+3
| | | | e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Experimental patchesSND\shalma_cp2011-02-021-2/+2
| | | | | | | | | | - cdrom.c - burst dma 0.3333x - cdrom.c - mono xa attenuation (Tales of Phantasia) - misc comments cleanup Disabled by default git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@62851 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Experimental patchesSND\shalma_cp2011-02-021-5/+5
| | | | | | | | | | | - gpu.c - use 1/3x dma time (max time allowed by X-Files - system interrupt timing) - cdrom.c - fix dma wrap pointers Disabled by default - enable yourself for now git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@62840 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Experimental patchesSND\shalma_cp2011-02-021-0/+11
| | | | | | | | | | | | | | | | | | | | | | 1- gpu.c We don't emulate bus conflicts. Especially with DMA. Lower vram2mem, mem2vram times (1 -> 0.25) - fixes X-Files videos 2- cdrom.c Duke Nukem - Time to Kill uses CD attenuation values for XA music, speech - fix volume slider 3- cdrom.c Add cdrom dma wrapping - possible Ape Escape additional fixes (>2352 transfers in several places) All disabled - view diff and activate at your own risk (accuracy regressions) git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@62832 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* gpu.cSND\shalma_cp2010-11-281-2/+7
| | | | | | | - remove 1.5x chain hack - wait for someone to do real fix git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@60291 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* gpu.cSND\shalma_cp2010-11-261-1/+2
| | | | | | | - reinstall old compatibility hack (1.5x dma chain) - fix this later I guess git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@60186 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* gpu.cSND\shalma_cp2010-11-131-664/+2
| | | | | | | - demolish ugly gpu chain slice hack - now many broken games should run okay again git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@59547 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* gpu.cSND\shalma_cp2010-11-131-12/+38
| | | | | | | | | | - Repair chain slice: prim48, prim4c, prim58, prim5c (thanks gschwnd) - Repair chain slice: packet80 (peops) - FF9: remove battle hangs, garbage git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@59545 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Final Fantasy 4 - gpu.cSND\shalma_cp2010-11-121-15/+562
| | | | | | | | | | - detect internal vram transfers ($80 packet) - fixes backdrops - remove dma chain timing hack git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@59501 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Tekken 3 - gpu.cSND\shalma_cp2010-11-121-4/+10
| | | | | | | - Add infinite dma loop check to chain slice - Fixes post-replay flicker git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@59480 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Vampire Hunter D - gpu.cSND\shalma_cp2010-11-121-23/+77
| | | | | | | | | - Use DMA2 chain slicing to GPU sync better - Fixes Skullmonkeys menus, gameplay backdrops git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@59451 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Vampire Hunter D - gpu.cSND\shalma_cp2010-11-081-26/+24
| | | | | | | | - allow changes to linked list in middle of dma2 chain before GPU gets to it - fixes title screen - also fixes Einhander gallery images git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@59304 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Rebel Assault 2SND\shalma_cp2010-09-161-8/+21
| | | | | | | | - MDEC: Fix DMA timing (byte ptrs) - GPU: Fix DMA timing (word sizes, chain counting) git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@57226 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* a little cleanupSND\weimingzhi_cp2010-09-131-8/+5
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@57141 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Merged change from ↵SND\weimingzhi_cp2010-09-131-54/+48
| | | | | | | | | http://forums.ngemu.com/pcsx-discussion/116599-developers-wanted-pcsx-revival-9.html#post1902678 with minor amendments. GPU DMA chain timing (FF7 opening CG and maybe other games too - not tested with rebel assault 2 though). git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@57139 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Gpu - Disable extra safety check (test this later)SND\shalma_cp2010-09-091-1/+1
| | | | git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@56984 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Gpu - remove ePSXe Chrono Cross interlace hack (several reports it causes ↵SND\shalma_cp2010-09-091-0/+2
| | | | | | | | | problems - use GPU plugin Chrono Cross fix + GPU fake busy states) Interpreter - remove psxBASIC CP0 check (redundant) git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@56983 e17a0e51-4ae3-4d35-97c3-1a29b211df97
* Chrono Cross interlace fix (ePSXe version)SND\shalma_cp2010-09-051-0/+198
GameShark Lite needs GPUSTATUS_READYFORVRAM off when not IDLE. Also fixes CDROM swapping. - Enable 'Fake GPU Busy States' to work - Perhaps we should fix PEOPS GPU to turn off READYFORVRAM instead of gpu.c (my temp solution) Please add gpu.c / gpu.h to your makefiles. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@56824 e17a0e51-4ae3-4d35-97c3-1a29b211df97