Commit Graph

6687 Commits

Author SHA1 Message Date
Luke Usher e0f41fe6f7
Merge pull request #2117 from NZJenkins/clear-fix
Ensure the xbox viewport is applied when Clear is called
2021-01-11 08:11:00 +00:00
PatrickvL aa3c09c430
Merge pull request #2118 from CookiePLMonster/load-vertex-shader-ltcg
Split D3DDevice_LoadVertexShader_0 into two OOVPAs
2021-01-10 16:17:19 +01:00
Silent 55932e5493
Split D3DDevice_LoadVertexShader_0 into two OOVPAs
XDK-5849 version of this LTCG function passes arguments in EAX and EDX
2021-01-10 15:48:05 +01:00
Anthony 38a0f82980 Ensure the xbox viewport is applied when Clear is called
This fixes an issue introduced in 46ec7516fa
The xbox viewport was applied in UpdateNativeD3DResources instead of the SetViewport patch, so wouldn't be applied until a Draw call.
Crash Tag Team Racing graphics would be blacked out whenever the rear view mirror appeared on the screen.
2021-01-11 00:06:15 +13:00
PatrickvL 875f97b5dd
Merge pull request #2112 from x1nixmzeng/fix-ro-launch
Fixed booting games from write-protected drives
2021-01-03 17:57:12 +01:00
x1nixmzeng 9e05b3342d Log a fatal message if registering a host device fails 2021-01-02 00:20:32 +00:00
x1nixmzeng dfe9a19b0d Fixed path registration on write protected drives 2021-01-01 15:52:49 +00:00
PatrickvL 4ff30fff20
Merge pull request #2071 from RadWolfie/dsound-status-debug
Add Basic DSound Stats to Log Output
2020-12-31 08:41:50 +01:00
Margen67 d82e0ad07a
Add warning to untested CIs (#2072)
* Add warning to untested CIs
2020-12-26 18:08:04 -06:00
PatrickvL 9f5b4e0e11
Merge pull request #2110 from CookiePLMonster/debug-console-removal
Remove debug console
2020-12-25 21:49:42 +01:00
Silent f6d210461d
Remove debug console 2020-12-25 19:08:52 +01:00
PatrickvL a1dfa3d6fe
Merge pull request #2109 from NZJenkins/fix-vsh-initialize
Initialize vertex shader outputs to vertex shader attribute values
2020-12-22 13:12:47 +01:00
PatrickvL 8fe6092f0f
Merge pull request #2108 from CookiePLMonster/ltcg-patches-refactor
Complete refactor of D3D8 LTCG patches calling conventions
2020-12-22 13:12:05 +01:00
Silent 626e84763e
Tidy up final LTCG patches 2020-12-22 12:35:43 +01:00
Silent f0531c5d09
Tidy up Swap, SetTransform, SetStreamSource and SetVertexShader patches 2020-12-22 12:35:43 +01:00
Silent 77579a6113
Tidy up SetShaderConstantMode and SetTexture patches 2020-12-22 12:35:42 +01:00
Silent c9a7911d15
Tidy up SetIndices, EndVisibilityTest, LoadVertexShader, SelectVertexShader patches 2020-12-22 12:35:42 +01:00
Silent f553265c03
Tidy up D3DDevice_SetVertexDataXX patches 2020-12-22 12:35:41 +01:00
Silent c67e925011
Add LTCG_PROLOGUE and LTCG_MACROS and adapt CreateDevice patches to use it 2020-12-22 12:35:29 +01:00
Luke Usher ef30044a93
Merge pull request #2107 from Margen67/typo
Fix typos
2020-12-22 11:12:49 +00:00
Luke Usher 9635ba9d39
Merge pull request #2105 from Margen67/shallow_submodules
.gitmodules: Fix URLs, make some submodules shallow
2020-12-22 11:12:31 +00:00
Luke Usher c89e1ba079
Merge pull request #2104 from CookiePLMonster/d3d9ex
Move to Direct3D 9Ex
2020-12-22 11:11:11 +00:00
Margen67 afbf1fd723
Update .gitmodules
Co-authored-by: RadWolfie <RadWolfie@users.noreply.github.com>
2020-12-20 06:31:24 -08:00
Margen67 c2dc6a44f1
Update src/gui/WinMain.cpp
Co-authored-by: RadWolfie <RadWolfie@users.noreply.github.com>
2020-12-20 06:31:04 -08:00
Margen67 456fd3e30a Fix typos, remove whitespace
Convert tabs to spaces.
Make links https where applicable.
2020-12-19 10:33:14 -08:00
Anthony deb597dd59 Initialize vertex shader outputs to vertex shader attribute values 2020-12-20 00:20:39 +13:00
Margen67 8ab6b91fe5 .gitmodules: Fix URLs, make some submodules shallow 2020-12-19 02:42:13 -08:00
Silent 89f72d8ff0
Move to D3D9Ex
For a full list of improvements see:
https://docs.microsoft.com/en-us/windows/win32/direct3darticles/direct3d-9ex-improvements

For us the most important aspect is no more device loss,
which never existed on Xbox. This allows exclusive fullscreen
to work properly, in the future might also potentially allow for
resizing the backbuffer at runtime.
2020-12-15 18:17:04 +01:00
x1nixmzeng 357948a457
Update cs_x86 submodule (#2074)
* Update cs_x86 submodule

* Remove cstool target as this is no longer added by cs_x86
2020-12-11 20:11:38 -06:00
PatrickvL 2d3977b220
Merge pull request #2070 from RadWolfie/cmake-fix
Fix Missing ResCxbx.h File from the List
2020-12-11 08:02:14 +01:00
RadWolfie 6c3c033158 fixup: use EmuFlags instead of Xb_Flags for receive real time update 2020-12-10 21:39:38 -06:00
RadWolfie b5788e85ca dsound: add stats to log output 2020-12-10 20:02:12 -06:00
RadWolfie afc4c0b561 cmake: fix missing ResCxbx.h file for listing 2020-12-10 18:30:17 -06:00
Luke Usher 2f74af168d
Merge pull request #2069 from RadWolfie/wine-env
Update Wine Usage
2020-12-10 11:38:35 +00:00
RadWolfie 1ceb0b424f wine: suppress admin privilege popup warning in wine environment 2020-12-10 05:23:01 -06:00
RadWolfie e42c39e9ba common: move wine check into its own file 2020-12-10 04:32:06 -06:00
PatrickvL fe0c2db158
Merge pull request #2067 from RadWolfie/dsound-fixes
Fix Audio Overall Volume Not Included From Input Sets of Volume
2020-12-09 23:50:35 +01:00
RadWolfie a02efe0466 dsound: fix overall mixbin volume than only input volume(s) 2020-12-09 16:17:40 -06:00
RadWolfie 0356b40735 dsound: add X_DSVOICEPROPS to log for further troubleshooting 2020-12-09 15:08:29 -06:00
PatrickvL efee57a10c
Merge pull request #2039 from RadWolfie/dsound-fixes
Another Round of DSound's Stream fixes
2020-12-09 20:53:10 +01:00
PatrickvL 4d4f6dd681
Merge pull request #2059 from CookiePLMonster/d3d-create-fixes
Refactor D3D device creation
2020-12-09 16:46:42 +01:00
Luke Usher 10ba282305
Merge pull request #2060 from ergo720/ff_fix
Fix incorrect flags in NtDuplicateObject
2020-12-08 16:52:12 +00:00
ergo720 f5ed14d276 Address review remark 2020-12-07 21:49:25 +01:00
ergo720 b86e64f36a Fix incorrect flags in NtDuplicateObject 2020-12-07 21:10:01 +01:00
Silent 2691f44970
Remove EmuCreateDeviceProxy and refactor D3D device creation
Greatly streamlines the code and most importantly,
ensures that CreateDevice and Release() are called on the window message
thread, just as it is required.

See:
https://docs.microsoft.com/en-us/windows/win32/direct3d9/multithreading-issues
2020-12-04 22:23:59 +01:00
Silent 5a8cfaf7f9
Add RunOnWndMsgThread to run arbitrary code on the window message thread 2020-12-04 20:48:36 +01:00
Silent 7902c12738
Don't use g_bRenderWindowActive for synchronization 2020-12-04 20:31:32 +01:00
RadWolfie e2fcedd1b7 dsound: fix status return when envelope is complete 2020-12-03 21:13:22 -06:00
RadWolfie 07c3f3b0fa dsound: fix async flush 2020-12-03 21:13:21 -06:00
RadWolfie f872bb5f8a dsound: replace size to empty function 2020-12-03 21:13:21 -06:00