Commit Graph

6037 Commits

Author SHA1 Message Date
Anthony Miles 9c4277ae9b Avoid tight loop in DirectSound thread worker 2019-07-19 18:41:14 +12:00
Luke Usher fdaa102dc8 Fix shader constants: It's per-function not per-XDK 2019-07-18 22:20:55 +01:00
RadWolfie 1edbc208e5
Merge pull request #1671 from RadWolfie/hotfix-GenerateMixBinDefault-func
HOTFIX: GenerateMixBinDefault check for lpwfxFormat is null pointer
2019-07-17 17:02:22 -05:00
RadWolfie 64f1948dd9 hotfix GenerateMixBinDefault check for lpwfxFormat is nullptr 2019-07-17 16:21:29 -05:00
Luke Usher 87aa125af4 Fix another LTCG variant of CreateDevice 2019-07-17 22:20:59 +01:00
Luke Usher 511fd017f5 Add two more LTCG specific patches 2019-07-17 19:44:16 +01:00
Luke Usher abe82f0336 Update to be informational only 2019-07-17 14:58:51 +01:00
Luke Usher 4190b81431 Add an early-out for non-zero internal reference count 2019-07-17 10:12:01 +01:00
Luke Usher bd3569ff95 Workaround & LOG_TEST_CASE for missing DestroyResource patch 2019-07-16 21:17:35 +01:00
PatrickvL f9a3fde976
Merge pull request #1666 from LukeUsher/fix-reset-bug
Fix a bug with D3DDevice_Reset that could trigger a black screen
2019-07-16 22:01:17 +02:00
Luke Usher 53ea7f102d Fix a bug with D3DDevice_Reset that could trigger a black screen on resolution change 2019-07-16 20:50:13 +01:00
RadWolfie e2cceb695a
Merge pull request #1667 from LukeUsher/remove-host-backbuffer-hack
Remove 'Render to Host Backbuffer' hack
2019-07-16 13:05:10 -05:00
Luke Usher 059c587523 Remove 'Render to Host Backbuffer' hack 2019-07-16 16:53:04 +01:00
PatrickvL 337a9f6914
Merge pull request #1655 from LukeUsher/seperate-render-and-display-resolution
Higher Resolution Rendering Support
2019-07-15 07:05:55 +02:00
RadWolfie 82b2c3559d
Merge pull request #1662 from NZJenkins/input_hack
Device connection delay hack
2019-07-14 22:39:26 -05:00
PatrickvL 3a0c0bb6a0 Pixel shader upgrading (#1631)
* Remove support for shader models older than 2.0 while keep existing functionality intact.
* Fixed combiner output flags parsing (it didn't use a bitmask before)
* Separate decoding of register combiner registers from generation of pixel shaders.
* Added LOG_TEST_CASE's for the three cases that weren't hit before, so that we can gather titles that hit those cases.
* Remove remnants of code that supported pixel shader versions below 2.0.
Also addressed a few TODO's, by applying the IsArithetic() check instead of checking for opcodes > PO_TEX
2019-07-14 21:16:51 -05:00
RadWolfie 32568f68fd fix latest development build link 2019-07-13 19:13:03 -05:00
RadWolfie 64f7822c1c
Merge pull request #1657 from gellis713/fixing-issue-1656
Show Disabled Selection in Network Configuration
2019-07-13 18:03:06 -05:00
gellis713 56e08b03cb Ensure "Disabled" is an option before and after first apply of adapter to prevent crashes. 2019-07-13 17:27:43 -05:00
Luke Usher 2356910042
Merge pull request #1664 from RadWolfie/appveyor-release-artifact-only
Keep appveyor release artifact only
2019-07-13 23:24:59 +01:00
Luke Usher aeba69c71d Fix FMV scaling in Star Wars: KOTOR 2019-07-13 22:37:10 +01:00
Anthony Miles d0d8b864bd fixup g_ prefix 2019-07-13 19:21:50 +12:00
Anthony Miles 15bccb3e06 Defer gamepad connection hack
- Don't immediately connect gamepads on the first connection query
- Remove per-title input hacks
- Move device connection logic to function
2019-07-13 19:19:57 +12:00
RadWolfie 1adb7ef988 keep appveyor release artifact only 2019-07-12 16:49:59 -05:00
Luke Usher 26f7bb130a Small, but significant performance tweaks 2019-07-12 20:48:38 +01:00
Luke Usher 16cb3faf23 Revert "Tweaking cache values"
This reverts commit 1a0d55b473.
2019-07-11 20:37:14 +01:00
Luke Usher 1a0d55b473 Tweaking cache values 2019-07-11 18:16:03 +01:00
Luke Usher 3ccc02b7f4 Fix crash in DOA2 and GTA 2019-07-10 18:55:08 +01:00
Luke Usher d6e6e4ab9c
Merge pull request #1654 from RadWolfie/fix-multithread-issue
Fix DSound's Multi-thread Issue
2019-07-10 17:09:42 +01:00
Luke Usher fe1285dc50 Minor performance tweak 2019-07-10 11:30:52 +01:00
Luke Usher 1e7b6891a3 Higher Resolution Rendering Support 2019-07-10 11:03:38 +01:00
RadWolfie b4b9f18769 fix warning and use current i variable than misuse same variable
Oops...
2019-07-09 15:54:54 -05:00
RadWolfie a06341e0d2 relocate enter/leave critical section into dsound's patch functions 2019-07-09 15:54:54 -05:00
RadWolfie c5b374e110 connect APIs to the mixbin functions 2019-07-09 22:30:06 +02:00
RadWolfie c0c21253ec Add GetVoiceProperties and SetMixBins hybrid functions 2019-07-09 22:30:06 +02:00
RadWolfie 20a237cbe9 fix parameters for SetMixBins patch functions 2019-07-09 22:30:06 +02:00
RadWolfie 5ebcd73d9c Interface default creation to InitVoiceProperties function. 2019-07-09 22:30:06 +02:00
RadWolfie 73d40777f6 add GenerateMixBinDefault and InitVoiceProperties functions 2019-07-09 22:30:06 +02:00
RadWolfie ced70f2334 Prepare to use DSVOICEPROPS for buffer/stream classes. 2019-07-09 22:30:06 +02:00
RadWolfie 7039332abd fix X_DSMIXBINVOLUMEPAIR typo 2019-07-09 22:30:06 +02:00
RadWolfie 63663301f2 separate D3D8 build version away from general build version
Plus prepare DSOUND build version to be use.
2019-07-07 16:59:52 +02:00
RadWolfie 6bc8294c79
Merge pull request #1652 from gellis713/fixing-issue-1616
Removes _XBOXKRNL_XXXX defines and dependency in xboxkrnl/xboxkrnl.h
2019-07-05 21:56:56 -05:00
gellis713 d23ffe2954 Get rid of additonal unnecessary defines/undefines 2019-07-05 21:26:39 -05:00
gellis713 0be1370d0b Removes _XBOXKRNL_XXXX defines and dependency in xboxkrnl/xboxkrnl.h 2019-07-05 18:45:36 -05:00
RadWolfie 4574b4bbdb
Merge pull request #1648 from LukeUsher/fix-viewport-resolution-change
Fix black screen in some titles when switching resolutions during gameplay
2019-07-04 21:01:43 -05:00
Luke Usher 62a0e48f9c Update comment with more info 2019-07-03 08:37:03 +01:00
Luke Usher bd3dccf3f6 Fix dashboard black screen with backbuffer hack by always scaling viewport for backbuffer hack on the default render target 2019-07-03 08:31:34 +01:00
Luke Usher 196f1a74fd Disable new behavior when backbuffer hack is enabled: The two are incompatible 2019-07-03 08:19:26 +01:00
Luke Usher eec144e2e2 Fix black screen in some titles when switching resolutions during gameplay
This contains a bug fix that can be seen on the MS dashboard (Clipped viewport values were never copied back to HostViewPort)

And one that was a previously unknown behavior (changing backbuffer width/height without a call to SetRenderTarget)
a LOG_TEST_CASE has been added for the new behavior, and a fix has been applied by destroying the existing host render target, and creating a new one.

Known PR Test Cases:
 - MS Dashboard 'Video Mode' settings menu (When switching between 'widescreen', 'letterbox', 'normal')
 - Chihiro Factory Test Program (requires chihiro-work branch)
2019-07-02 12:33:15 +01:00
Luke Usher 952e7870cd Stub some 3D sound functions.
Fixes a crash in Conker & Kingdom Under Fire (+ probably lots more)
2019-07-01 22:42:28 +02:00