Commit graph

6417 commits

Author SHA1 Message Date
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
Luke Usher
d75d08fa57
Merge pull request #1646 from LukeUsher/fix-vblank-hang
Fix a deadlock when some LTCG titles attempt to wait for vertical blank
2019-07-01 18:04:41 +01:00
Luke Usher
87d6ae65f1 Fix a deadlock when some LTCG titles attempt to wait for vertical blank 2019-06-26 21:00:28 +01:00
RadWolfie
5f5e19a36d
Merge pull request #1618 from PatrickvL/IsSupportedFormat
Extracted IsSupportedFormat() method, now also called in bias-determination
2019-06-26 10:17:01 -05:00
patrickvl
071c072d59 Extracted IsSupportedFormat() method, now also called in bias-determination 2019-06-26 17:07:15 +02:00
Luke Usher
7851af5378 Prevent wasted call to WalkIndexBuffer when drawing indexed quadlists 2019-06-26 16:37:18 +02:00
Luke Usher
f36cd0540a Implement Vertex Buffer Caching 2019-06-26 16:37:18 +02:00
Luke Usher
a76bac4205
Merge pull request #1644 from LukeUsher/smashing-drive-again
Fix a bug where the smashing drive fix was actually ignored
2019-06-25 09:14:58 +01:00
Luke Usher
82307d7794 Fix a bug where the smashing drive fix was actually ignored 2019-06-25 09:14:19 +01:00
Luke Usher
3684281bf8
Merge pull request #1642 from NZJenkins/none_token
Ignore D3DVSDT_NONE
2019-06-21 13:45:36 +01:00
Anthony Miles
c3f977f864 Ignore D3DVSDT_NONE 2019-06-21 21:50:16 +12:00
Luke Usher
70ef251e4e
Merge pull request #1641 from NZJenkins/key_handling
Call DefWindowProc when WM_KEYDOWN, WM_SYSKEYDOWN are not handled
2019-06-20 11:14:43 +01:00
Anthony Miles
db01f729f7 Call DefWindowProc when WM_KEYDOWN, WM_SYSKEYDOWN are not handled 2019-06-20 21:49:55 +12:00
Luke Usher
654a4c0e4d
Merge pull request #1637 from LukeUsher/smashing-drive-non-nvidia
'Fix' Smashing drive non-nvidia hardware
2019-06-19 09:11:05 +01:00
Luke Usher
cf7fcc1603 Fix 'Smashing Drive' on AMD/Intel GPUs 2019-06-18 17:12:53 +01:00
RadWolfie
1a62f5e1b6
Merge pull request #1626 from Margen67/vs-2019
Upgrade everything except travis to VS 2019
2019-06-16 10:12:19 -05:00
wutno
3a39fc3c95 Fullclone the repo to fix VS2019 compilation on AppVeyor 2019-06-15 19:57:19 -07:00
Margen67
c27a42780e Remove generator from CMakeSettings.json 2019-06-15 19:57:13 -07:00
Margen67
3334e4d3f5 Switch to Visual Studio 2019 in appveyor.yml 2019-06-15 19:57:13 -07:00
Margen67
bddedeeb6b Switch to Visual Studio 2019 in README.md
Also minor grammar fixes, style changes, and made Dxbx into a link.
2019-06-15 19:57:13 -07:00
Luke Usher
9680df47c6
Merge pull request #1636 from PatrickvL/log_sane_lengths
Limit log sanitation of string buffers
2019-06-15 18:06:32 +01:00