Commit Graph

6037 Commits

Author SHA1 Message Date
Luke Usher fa38cd41b2
Merge pull request #1730 from RadWolfie/fix-delay-input
Implement Input Initialize Latency Timer & Device Emulation Status
2019-09-20 16:29:37 +01:00
RadWolfie d5f79df0b7 implement input initialize latency timer and device emulation status 2019-09-17 11:45:11 -05:00
PatrickvL 0c470044fb Removed never-set union field : X_D3DVertexShader.CxbxVertexShaderHandle to avoid using garbage data. 2019-09-17 09:57:57 +02:00
PatrickvL 456906b6b4 Removed written-only field : CxbxVertexShader.HostDeclarationSize 2019-09-17 09:51:57 +02:00
RadWolfie 796561dd6c
Merge pull request #1725 from PatrickvL/moving_d3d_types
* Moved XbPushBuffer.h, XbVertexBuffer.h and XbVertexShader.h outside the XTL namespace.
Moved Cxbx-specific types from XbD3DTypes.h towards appropriate above header files.
Fixed up all XTL-hell that resulted from this.

* Moved XbConvert.h outside the XTL namespace.
Fixed up all XTL-hell that resulted from this.

* Moved XbPixelShader.h outside the XTL namespace.
Fixed up all XTL-hell that resulted from this.

* Moved XbState.h outside the XTL namespace.
Fixed up all XTL-hell that resulted from this.
2019-09-14 15:06:41 -05:00
ergo720 7c300c14ed
Merge pull request #1721 from RadWolfie/gui-input-fix-detect
Fix Bind Input Detection
2019-09-14 11:16:40 +02:00
PatrickvL fee97614c2
Merge pull request #1726 from NZJenkins/king_kong2
Detect and remove register redefinitions in vertex declarations
2019-09-14 09:43:34 +02:00
RadWolfie 14221d0cca fix detect input 2019-09-13 16:50:58 -05:00
PatrickvL a407b40f46 Moved XbState.h outside the XTL namespace.
Fixed up all XTL-hell that resulted from this.
2019-09-13 14:35:02 +02:00
PatrickvL 7aa793b6b7 Moved XbPixelShader.h outside the XTL namespace.
Fixed up all XTL-hell that resulted from this.
2019-09-13 13:37:41 +02:00
PatrickvL a6dd0c49a6 Addressed review-comment (removing unneeded XTL namespace prefix) 2019-09-13 13:07:07 +02:00
Anthony Miles 07d53c0e2b fixup commit
- free pXboxDeclarationCopy
- use bitset instead of array
- include method in sort
2019-09-13 20:46:19 +12:00
PatrickvL 98c89ec656 Moved XbConvert.h outside the XTL namespace.
Fixed up all XTL-hell that resulted from this.
2019-09-12 17:46:16 +02:00
patrickvl 32e155e1ba Moved XbPushBuffer.h, XbVertexBuffer.h and XbVertexShader.h outside the XTL namespace.
Moved Cxbx-specific types from XbD3DTypes.h towards appropriate above header files.
Fixed up all XTL-hell that resulted from this.
2019-09-12 17:46:16 +02:00
RadWolfie b01a6c97cf
Merge pull request #1722 from PatrickvL/vsh_cleanup
Moving, reordering, renaming and other cleanup of D3D symbols
2019-09-12 10:30:12 -05:00
PatrickvL eb4db9a27a Moving, reordering, renaming and other cleanup of D3D symbols (all taken from my Vsh_unpatching branch) 2019-09-12 09:34:58 +02:00
Anthony Miles 1d6fd7e851 Detect and remove register redefinitions 2019-09-12 18:56:27 +12:00
PatrickvL ea17cb6f15
Merge pull request #1723 from NZJenkins/lsw2_fix
Initialize pCurrentvertexShaderStreamInfo to nullptr
2019-09-11 12:46:37 +02:00
Anthony Miles 6b5f4036c1 Initialize pCurrentvertexShaderStreamInfo to nullptr 2019-09-11 22:26:49 +12:00
PatrickvL ea0cf8d8b2
Merge pull request #1720 from LukeUsher/prevent-crash-on-copyrects-failure
Fix crash on CopyRects failure
2019-09-10 07:04:19 +02:00
Luke Usher 614e7e4b9f Fix crash on CopyRects failure 2019-09-09 22:12:46 +01:00
PatrickvL 421864c0bb
Merge pull request #1719 from ergo720/default_bindings
Add default bindings for the keyboard
2019-09-09 15:21:49 +02:00
ergo720 f6e331f484 Add default bindings for the keyboard 2019-09-09 12:39:27 +02:00
PatrickvL 278d511794 Lots of cleanup regarding vertex declarations and shaders (#1709) 2019-09-06 10:56:53 -05:00
ergo720 d8b0075c93 New input gui (#1713) 2019-09-05 16:10:09 -05:00
PatrickvL 15226403a2
Merge pull request #1716 from LukeUsher/rendertarget-tweaks
Fix CopyRects when upscaling is used
2019-09-05 21:16:43 +02:00
Luke Usher 294447bba8 Fix CopyRects when upscaling is used 2019-09-05 19:23:18 +01:00
PatrickvL ca76f49916
Merge pull request #1715 from LukeUsher/rendertarget-tweaks
RenderTarget and CopyRect fixes
2019-09-04 21:17:33 +02:00
Luke Usher ef78455516 Fix CreateTexture errors 2019-09-04 18:45:12 +01:00
Luke Usher f76408a03d Fix an issue where converting a texture to a render-target would sometimes fail 2019-09-04 18:26:54 +01:00
Luke Usher 8c55274cb3 Fix CopyRects in Crash Bandicoot: WoC (and others) 2019-09-04 18:26:48 +01:00
Luke Usher b236e94935 Fix a nasty bug where CopyRects never worked! 2019-09-04 18:26:14 +01:00
PatrickvL b590dd69ae
Merge pull request #1708 from aav7fl/4C410001-Star-Wars-Obi-Wan
Fix Xapi controller capabilities structure
2019-08-29 00:04:50 +02:00
Kyle Niewiada 9be770163e Align structure to correctly map Xapi controller capabilities 2019-08-28 17:11:43 -04:00
RadWolfie 48ba828c42
Merge pull request #1707 from Margen67/azure-tests
Fix Azure artifact double-zipping
2019-08-25 18:29:05 -05:00
Margen67 1cc4fc1d9e Fix artifact double-zipping 2019-08-25 14:16:54 -07:00
PatrickvL ad654b4509
Merge pull request #1705 from LukeUsher/fix-jsrf-graffiti-select
Fix an issue where D3DDevice_SetRenderTarget would fail, if called on a  surface we didn't previously create as a Render Target
2019-08-25 15:50:28 +02:00
Luke Usher f48f267c89 Fix an issue where D3DDevice_SetRenderTarget would fail, if called on a
surface we didn't previously create as a Render Target

The Xbox ignores the D3DUSAGE_RENDERTARGET flag, but the host *requires*
it.

We can't determine if a surface is a render target until the game calles
D3DDevice_SetRenderTarget, so if we encounter a call on a non-render
target, we can fix the situation and recreate it as such

Fixes the 'Graffiti Select' menu in JSRF
2019-08-25 14:40:15 +01:00
PatrickvL fce723c93b
Merge pull request #1704 from LukeUsher/fix-copyrects
Fix CopyRects between textures, on GPU
2019-08-25 15:22:04 +02:00
PatrickvL a77403b7b6
Merge pull request #1703 from LukeUsher/fix-level-face-surface
Fix surface level/face mapping without patches!
2019-08-25 15:14:52 +02:00
Luke Usher a031875793 Fix CopyRects between textures, on GPU 2019-08-25 14:00:41 +01:00
PatrickvL c3f6233ca2
Merge pull request #1702 from LukeUsher/move-container-type-check
Move pixel container type check to GetHostBaseTexture
2019-08-25 14:52:11 +02:00
PatrickvL c1ffa2d6c6
Merge pull request #1701 from LukeUsher/destroy-resource
Unpatch D3DResource_Release, detect freeing of resources via DestroyResource instead
2019-08-25 14:50:35 +02:00
Luke Usher de1bc00334 Fix surface level/face mapping without patches! 2019-08-25 13:46:07 +01:00
Luke Usher 6c30058a40 Move pixel container type check to GetHostBaseTexture 2019-08-25 13:40:43 +01:00
Luke Usher a4338e08f3 Unpatch D3DResource_Release, detect freeing of resources via DestroyResource instead 2019-08-25 13:35:59 +01:00
PatrickvL 46c7deb6db
Merge pull request #1700 from LukeUsher/update-xbsymboldatabase-2019-05-25
Update XbSymbolDatabase to latest version as of today
2019-08-25 14:13:07 +02:00
Luke Usher afe76e0bba Update XbSymbolDatabase to latest version as of today 2019-08-25 12:28:21 +01:00
PatrickvL 0e316506f5
Merge pull request #1697 from Cxbx-Reloaded/LukeUsher-patch-1
Activate Travis CI
2019-08-23 12:10:53 +02:00
Luke Usher 5ea46036be
Activate Travis CI 2019-08-23 08:51:07 +01:00