Commit graph

7028 commits

Author SHA1 Message Date
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
RadWolfie
50d21d8127 dsound: don't process flush if there's no packets 2020-12-03 21:13:20 -06:00
RadWolfie
3a506df754 dsound: Add stream's flushex flag type to extend verbose output 2020-12-03 21:13:20 -06:00
RadWolfie
5031f1aa65 dsound: remove unused cxbxr flag from log 2020-12-03 21:13:19 -06:00
RadWolfie
3209bf7be5 dsound: fix pause flags as enums instead 2020-12-03 21:13:19 -06:00
RadWolfie
ee9612e263 dsound: fix stream class to match hardware with latest sampling log 2020-12-03 21:13:18 -06:00
PatrickvL
471f3894cc
Merge pull request #2058 from RadWolfie/input-list-fix
Change listing to target specific type than default order
2020-12-03 08:30:07 +01:00
RadWolfie
93a3a3b35c input: change listing to target specific type than default order 2020-12-03 00:06:14 -06:00
PatrickvL
3a7b233199
Merge pull request #2052 from LukeUsher/remove-3925-hacks
remove 3925 fog/alpha hacks
2020-11-29 17:59:35 +01:00
Luke Usher
764304c0ca
Merge pull request #2055 from CookiePLMonster/fix-completion-callback
Preserve original IO status block and context for ApcRoutine
2020-11-29 14:07:22 +00:00