Commit graph

6420 commits

Author SHA1 Message Date
RadWolfie
ce0e35b052 oops, volume is signed integer 2020-05-14 17:13:37 -05:00
RadWolfie
8b780f2d5c remove Xb_Volume member from host's structure 2020-05-14 17:13:37 -05:00
RadWolfie
ee4856a06d add comments 2020-05-14 17:13:37 -05:00
RadWolfie
72401c44d4 use typedef function pointers for better readability and remove redundant 2020-05-14 17:13:37 -05:00
RadWolfie
e91d1bf23c finally clean up redundant codes 2020-05-14 17:13:37 -05:00
RadWolfie
04dce78f53 forward xbox audio format to internal voice class 2020-05-14 17:13:37 -05:00
RadWolfie
18a22cd934 fix spacing 2020-05-14 17:13:37 -05:00
RadWolfie
ab142abd69 forward headroom setter to voice 2020-05-14 17:13:37 -05:00
RadWolfie
d7d1d781d8 implement hybrid buffer for partial internal exposure 2020-05-14 17:13:36 -05:00
RadWolfie
dab7a608c2 oops 2020-05-14 17:13:36 -05:00
PatrickvL
935fab7b9c
Merge pull request #1906 from RadWolfie/add-setting-asserts
Add Settings Structure Assert Checks
2020-05-14 17:52:48 +02:00
RadWolfie
9f8e617890 fix allowAdminPrivilege not align with other boolean members 2020-05-14 05:02:11 -05:00
RadWolfie
b281861e49 forgot to update history for loader project 2020-05-14 05:02:11 -05:00
RadWolfie
bd93e2288d enforce verify shared memory structures are align properly 2020-05-14 05:02:11 -05:00
PatrickvL
34f8d30219
Merge pull request #1905 from RadWolfie/separate-admin-priv-vs-invalid-sig
Separate Invalid Xbe Signature popup from Admin Privilege Config Bypass
2020-05-14 09:58:31 +02:00
RadWolfie
fcdab48d00 separate invalid xbe sig popup from admin priv config 2020-05-13 16:29:02 -05:00
PatrickvL
ba980d249d
Merge pull request #1904 from RadWolfie/mute-config-reword
Invert GUI's audio mute config
2020-05-13 22:51:13 +02:00
RadWolfie
d756012ea3 invert GUI's mute config 2020-05-13 15:05:28 -05:00
RadWolfie
0f853f3665
Merge pull request #1892 from LukeUsher/multisampling-experiment
Implement support for Xbox MSAA, reducing 'jaggies'
2020-05-08 06:14:49 -05:00
patrickvl
6d9dfb2dde Change zero input into a comment instead of LOG_TEST_CASE everyone into madness 2020-05-08 12:13:55 +02:00
patrickvl
ba2d18d17f Prevent invalid g_Xbox_MultiSampleType values using a setter
This avoids zero-dectection later on
Some tooling functions to top it off.
2020-05-08 12:05:29 +02:00
Luke Usher
fec845f6f8 Cleaner fix to the above 2020-05-08 10:00:46 +01:00
Luke Usher
85c0f608e2 Another minor fix 2020-05-08 09:52:54 +01:00
Luke Usher
23104c8280 Fix an issue where rendering broke when MultiSampleType = 0 2020-05-08 09:40:20 +01:00
Luke Usher
e499d3ad07 fix an issue where offset was not used 2020-05-08 09:28:20 +01:00
Luke Usher
b0bcc2fd9b Add LOG_TEST_CASE as per request 2020-05-08 09:04:58 +01:00
Luke Usher
543756d712 Amendments 2020-05-08 08:49:13 +01:00
Luke Usher
97012d649f
Merge pull request #1891 from Serentty/patch-2
One more Wine-related edit
2020-05-07 22:56:27 +01:00
Luke Usher
86bb8cad97 Implement support for Xbox MSAA, reducing 'jaggies'
Also fixes offset models in GTA3 and potentially others
2020-05-07 22:51:30 +01:00
Serentty
82c61be866
One more Wine-related edit
Somehow I missed the very first line of the readme, which also makes it sound Windows-exclusive, in my last PR. Sorry for the spam.
2020-05-07 16:52:51 -04:00
PatrickvL
8667d22196
Merge pull request #1890 from Serentty/patch-1
Mention Wine support more prominently in the readme
2020-05-07 22:44:43 +02:00
PatrickvL
555f240319
Merge pull request #1888 from LukeUsher/cleanup-createdevice
Cleanup EmuCreateDeviceProxy & Clarify 'Automatic' option
2020-05-07 22:42:57 +02:00
Serentty
2ab2965f3a
Mention Wine support more prominently in the readme
Right now the first mention of Wine is down next to the download link, and no mention is made of it under the system requirements. Given that compatibility with Wine has been a goal for this project in the past (in terms of bugfixes that fixed issues that only emerged when using it), I thought it would be a good idea to show that this use case is indeed considered by the developers. As a Linux user myself, this kind of thing would be more likely to consider using Cxbx after glancing at the repository.
2020-05-07 16:40:21 -04:00
PatrickvL
f3d7ae61c2
Merge pull request #1889 from LukeUsher/fix-rendertarget-test-case
Fix an issue where with CreateDevice LOG_TEST_CASE
2020-05-07 22:32:16 +02:00
Luke Usher
e17d872356 Fix an issue where the 'Xbox CreateDevice did not call SetRenderTarget' test case would be incorrectly flagged if no depth stencil was provided 2020-05-07 20:51:45 +01:00
Luke Usher
db640d5b6f
Merge pull request #1881 from NZJenkins/improve_slots
Improve shader slot emulation
2020-05-07 14:03:35 +01:00
Luke Usher
a32b10aa79 oops: fix typo 2020-05-07 13:54:47 +01:00
Luke Usher
f98023bbb8 Cleanup EmuCreateDeviceProxy & Clarify 'Automatic' option 2020-05-07 13:45:39 +01:00
PatrickvL
5a1b8b55e5
Merge pull request #1887 from LukeUsher/fix-compilation-newer-vs
fix compilation on new installs of vs2019
2020-05-07 14:06:13 +02:00
Luke Usher
0aa92e826a fix compilation on new installs of vs2019 2020-05-07 12:40:01 +01:00
Anthony Miles
ada56843ad Check for shader handles without shader functions 2020-05-04 22:22:13 +12:00
Anthony Miles
7370a29367 Tidy shader creation and handle property assignment 2020-05-04 21:42:59 +12:00
Anthony Miles
176dc9a38c Ensure shader has been created before setting it in SetVertexShader 2020-05-04 20:49:03 +12:00
patrickvl
79102c6ef8 Don't free what hasn't been allocated.
Don't activate declaration when a shader is merely created
Use X_VSH_MAX_ATTRIBUTES instead of 16
Rename SetCxbxVertexShader into RegisterCxbxVertexShader
2020-05-04 10:18:00 +02:00
patrickvl
9ab91550ae Rename SetCxbxVertexShaderHandleDeclaration into SetCxbxVertexDeclaration and give it just the Declaration.
Also fixed a compiler warning
2020-05-04 10:05:41 +02:00
Anthony Miles
1087b3e645 - Reset shader when shader slots are overwritten
- Keep track of the shader slot address
2020-05-04 18:55:51 +12:00
patrickvl
e60d11959c Add a reminder to g_VertexShaderSource 2020-05-01 10:12:40 +02:00
patrickvl
7d53eaae73 Disabled patches on D3DDevice_GetVertexShaderDeclaration and D3DDevice_GetVertexShaderFunction (all they do is read data from their input arguments, which we don't alter anymore, so these two getters can just as well be left unpatched) 2020-04-30 15:44:24 +02:00
patrickvl
6a8534a22e Move D3DDevice_LoadVertexShaderProgram implementation to XbVertexShader.cpp 2020-04-30 15:34:22 +02:00
patrickvl
00e85b8af8 Move D3DDevice_CreateVertexShader implementation to XbVertexShader.cpp 2020-04-30 15:27:30 +02:00