Commit Graph

2364 Commits

Author SHA1 Message Date
PatrickvL a157216287 Remove EmuUnswizzleActiveTexture from EmuExecutePushBuffer(Raw) and instead use EmuUnswizzleTextureStages 2017-05-01 18:05:36 +02:00
PatrickvL 5fb9fd55cc cleanup 2017-05-01 15:43:14 +02:00
PatrickvL 50483859fe Introduced EIPToString 2017-05-01 15:42:06 +02:00
PatrickvL 50f7e60678 Introduced EIPToString 2017-05-01 12:18:34 +02:00
PatrickvL b855b69c6f Introduced GetDetectedSymbolName
This shows a name+offset next to an exception address
2017-05-01 12:05:45 +02:00
PatrickvL 3f7f94f2a5 Merge remote-tracking branch 'refs/remotes/Cxbx-Reloaded/master' 2017-05-01 08:50:13 +02:00
PatrickvL 205a19b9a0 Merge remote-tracking branch 'refs/remotes/Cxbx-Reloaded/master' 2017-05-01 08:41:50 +02:00
Luke Usher 394aee6b9c Merge pull request #410 from LukeUsher/master
Revert "Implement AvQueryAvCapabilities"
2017-04-29 23:35:17 +01:00
Luke Usher cf43505edf Revert "Implement AvQueryAvCapabilities"
This reverts commit cff5b19706.
2017-04-29 23:33:24 +01:00
PatrickvL e250b1f838 Merge pull request #405 from jarupxx/sig
Improved signatures
2017-04-29 23:50:59 +02:00
Luke Usher 886229b11a Merge pull request #406 from LukeUsher/fix-index-buffers-new
Index buffer fixes
2017-04-29 20:29:38 +01:00
PatrickvL eda04816a2 More cleanup 2017-04-29 18:51:38 +01:00
Luke Usher 3cdf9be89f Fix compilation in Debug mode (after removing the unused EmuPatch field from OOVPA) 2017-04-29 11:10:47 +01:00
Luke Usher c0c503bb78 Cleaner code & optimization by using a reference to the IndexBuffer. 2017-04-29 09:09:41 +01:00
Luke Usher e88268b95f Fix a bug where the index buffer was being re-copied every call 2017-04-28 22:56:34 +01:00
Luke Usher 5169141d4d Remove unused EmuPatch field of the OOVPA 2017-04-28 22:41:18 +01:00
Luke Usher 7b60aa1020 More Index Buffer work 2017-04-28 22:34:13 +01:00
Luke Usher 7939ca665d Port CxbxRemoveIndexBuffer
More work is still required.

CreateDevice really needs to be unpatched, there's no avoiding this now!
2017-04-28 22:33:40 +01:00
Luke Usher a8997b4b41 Ported DxbxUpdateActiveIndexBuffer
Also allow SetIndices to work unpatched
This is more accurate than what Cxbx previously did.

NOTE: This fixes GamePad/Cartoon XDK samples and breaks many titles.

There is still work to-do:

* Get CreateDevice to run unpatched
* Patch D3D_CleanPrivateData
* Port DxbxRemoveIndexBuffer

There could be more things too, but this is where I'm up-to so far
2017-04-28 22:33:31 +01:00
jarupxx 1224a16bbd Merge remote-tracking branch 'upstream/master' 2017-04-29 06:09:00 +09:00
Luke Usher 7c266ad487 Merge pull request #400 from Cxbx-Reloaded/revert-398-fix-index-buffers
Revert "Partially fix the rendering issue affecting GamePad/Cartoon/Others"
2017-04-26 13:09:10 +01:00
Luke Usher a8a3510a98 Revert "Partially fix the rendering issue affecting GamePad/Cartoon/Others" 2017-04-26 13:08:47 +01:00
Luke Usher 72c0cf3b86 Merge pull request #398 from LukeUsher/fix-index-buffers
Partially fix the rendering issue affecting GamePad/Cartoon/Others
2017-04-26 12:59:50 +01:00
Luke Usher ff23ec5c52 Partially fix the rendering issue affecting GamePad/Cartoon/Others
The GamePad XBE Sample is still broke, but the Cartoon sample (and
others) now render correctly.

A more robust solution is being worked on, but this will do for the
short term
2017-04-26 12:55:22 +01:00
Luke Usher 928260f56b Merge pull request #397 from LukeUsher/hle-database-cleanup
Remove EmuPatch from OOVPA Tables as it is no longer used
2017-04-25 11:23:10 +01:00
Luke Usher b0da79321b Remove EmuPatch from OOVPA Tables as it is no longer used 2017-04-25 11:21:26 +01:00
Luke Usher 0b09fe3d22 Merge pull request #396 from LukeUsher/AvQueryAvCapabilities
Implement AvQueryAvCapabilities
2017-04-24 19:24:39 +01:00
Luke Usher cff5b19706 Implement AvQueryAvCapabilities 2017-04-24 19:06:54 +01:00
Luke Usher 60c7c9ca22 Merge pull request #394 from LukeUsher/AvGetSavedDataAddress
Implement AvGetSavedDataAddress & AvSetSavedDataAddress
2017-04-24 07:12:48 +01:00
Luke Usher 0742b7d206 Merge pull request #395 from LukeUsher/master
Revert "Temporarily disable vertex buffer caching."
2017-04-24 06:50:18 +01:00
Luke Usher ae1a6de393 Revert "Temporarily disable vertex buffer caching."
This reverts commit d5b67a8f7b.

The speed impact, although almost non-existent for myself was
significant enough to hinder other users, and even other devs. We need
to figure out how to fix this properly.
2017-04-24 06:47:58 +01:00
Luke Usher 5aa711f66f Merge pull request #392 from PatrickvL/master
Preparations for removal of CreatePalette
2017-04-23 21:36:08 +01:00
Luke Usher e974f1d04b Implement AvGetSavedDataAddress & AvSetSavedDataAddress
The existing implementation was overkill, as all these functions do on
Xbox is get/set a single pointer value. The actual surface creation is
handled by D3D in D3DDevice_PersistDisplay.
2017-04-23 21:33:30 +01:00
jarupxx a44edd5784 Improved the SetFormat (4721)
Source: Dynasty Warriors 3
2017-04-23 19:38:57 +09:00
jarupxx 88218fcc62 Improved the StopEx (5788-5849)
Source: CSI - Crime Scene Investigation
2017-04-23 19:37:47 +09:00
jarupxx d9e3272dcd Improved the D3DDevice_DrawVerticesUP/D3DDevice_KickOff/XFileCreateMediaObjectEx (4627-5028)
Source: Tenerezza, Turok - Evolution
2017-04-23 19:22:21 +09:00
PatrickvL 1a1c2be357 revert 2017-04-22 23:53:18 +01:00
PatrickvL b255427067 Merge remote-tracking branch 'refs/remotes/Cxbx-Reloaded/master' 2017-04-22 23:35:53 +01:00
PatrickvL 4b0e84ade3 amend 2017-04-22 23:34:40 +01:00
PatrickvL dcccb1920e SetPalette now supports all 4 stages. Also constantified TEXTURE_STAGES 2017-04-22 23:33:30 +01:00
Luke Usher 797894c1ac Merge pull request #393 from LukeUsher/master
Temporarily disable vertex buffer caching.
2017-04-22 18:28:56 +01:00
PatrickvL 0d47476dcc SetPalette now supports all 4 stages. Also constantified TEXTURE_STAGES 2017-04-22 18:27:19 +01:00
Luke Usher d5b67a8f7b Temporarily disable vertex buffer caching.
This could have a speed impact but it not that noticable currently, and it significantly improves rendering of the dashboard and potentially others
2017-04-22 18:25:26 +01:00
PatrickvL e9dff8cfcb Introduced GetDataFromXboxResource 2017-04-22 17:59:47 +01:00
PatrickvL d79cbe3e2b Renamed some pThis into pXboxResource 2017-04-22 17:30:30 +01:00
PatrickvL 906c989bc6 Applied GetXboxResourceType 2017-04-22 17:29:22 +01:00
PatrickvL ee9b9ba53f Merge remote-tracking branch 'refs/remotes/Cxbx-Reloaded/master' 2017-04-22 17:27:11 +01:00
PatrickvL a9cb7a7ac8 Introduced GetXboxResourceType 2017-04-22 17:25:52 +01:00
PatrickvL 95e417d671 Merge remote-tracking branch 'refs/remotes/Cxbx-Reloaded/master' 2017-04-22 16:05:39 +01:00
Luke Usher 1a9b20ad08 Merge pull request #390 from LukeUsher/patrickvl-improvements
Patrickvl improvements
2017-04-22 00:04:35 +01:00