Commit Graph

6497 Commits

Author SHA1 Message Date
PatrickvL ca0b978cf9
Merge pull request #1916 from RadWolfie/dsound-misc-fixes
Couple DirectSound Fixes
2020-06-07 08:04:45 +02:00
RadWolfie e166b97cd7 check for 3D audio to use mono channel by default instead of stereo 2020-06-07 00:45:05 -05:00
Fisherman166 326f645b8f Initialize FscCacheEvent at emulation start to match the real kernel implementation. 2020-06-06 16:09:01 -07:00
Fisherman166 6d8d692b7c Implement FscSetCacheSize matching original kernel implementation. 2020-06-06 13:34:40 -07:00
Fisherman166 857b8f933e Rewrite HalReadSMCTrayState to match original kernel implementation. Keeps the TRAY_OPEN hack for the time being. 2020-06-06 13:27:54 -07:00
RadWolfie 503ce9b825 fix applications using IDirectSoundBuffer_Lock incorrectly 2020-06-05 20:23:52 -05:00
Fisherman166 db1429a4b9 Implement KeReleaseSemaphore based on kernel reverse engineering. Needs KiWaitTest to be implemented to be fully functional. 2020-06-04 21:26:01 -07:00
PatrickvL ab6b4786bd
Merge pull request #1914 from NZJenkins/reserved_constants_flag
Treat X_D3DSCM_NORESERVEDCONSTANTS as a flag
2020-06-02 14:27:02 +02:00
Anthony Miles 201ab08043 Treat X_D3DSCM_NORESERVEDCONSTANTS as a flag 2020-06-03 00:10:34 +12:00
Luke Usher e5af2b1754
Merge pull request #1911 from Fisherman166/ReadWriteLock
Implement ExReadWriteLock Kernel functions
2020-05-29 11:18:20 +01:00
Fisherman166 52f18bca28 Add size offsets for the KSEMAPHORE and ERWLOCK structs. 2020-05-28 09:13:19 -07:00
Fisherman166 49e68a1ecc Refactor ExReleaseReadWriteLock. 2020-05-28 09:10:51 -07:00
Fisherman166 b72be80b88 Refactor ExAcquireReadWriteLockShared to remove duplicate code. 2020-05-26 09:20:15 -07:00
Fisherman166 a679073ec6 Implement ExReleaseReadWriteLock. 2020-05-25 16:20:02 -07:00
Fisherman166 6f5a1f2c46 Implement ExAcquireReadWriteLockShared. 2020-05-25 16:20:01 -07:00
Fisherman166 f375bbf6ba Add offset comments to _ERWLOCK and _KSEMAPHORE structs. 2020-05-25 16:20:01 -07:00
Fisherman166 a2e623180a Implement ExAcquireReadWriteLockExclusive. 2020-05-25 16:20:01 -07:00
PatrickvL d1580cd19d
Merge pull request #1901 from RadWolfie/wwe-raw-2-fixup
Partial Implement of Xbox DSound's Class Structure
2020-05-18 11:10:22 +02:00
RadWolfie ba8adc04f4 add todo comment 2020-05-15 04:01:06 -05:00
RadWolfie 772e6ed18e add PatrickvL comments 2020-05-14 19:12:37 -05:00
RadWolfie 9871b25fa8 move audio converter helper 2020-05-14 19:09:19 -05:00
RadWolfie 95e8642970 fix placeholder reference counter 2020-05-14 18:46:16 -05:00
RadWolfie 97abbd0a7c replace virtual functions to VMT comments 2020-05-14 18:43:44 -05:00
RadWolfie ada86a42b5 create gc for EmuDirectSoundBuffer destructor 2020-05-14 18:38:05 -05:00
RadWolfie fad467196a add test case comment 2020-05-14 17:13:37 -05:00
RadWolfie 0c5117dc06 reword union data for better readability 2020-05-14 17:13:37 -05:00
RadWolfie 06af046c13 also another fixup for pitch type 2020-05-14 17:13:37 -05:00
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