Commit Graph

5856 Commits

Author SHA1 Message Date
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
patrickvl e150690646 Limit log sanitation of string buffers to a maximum length to avoid printing invalid characters 2019-06-15 16:30:23 +02:00
Luke Usher 59d0f36f2f
Merge pull request #1632 from ergo720/remove_dbgprintfex
Remove DBG_PRINTF_EX
2019-06-10 18:45:44 +01:00
Luke Usher dab84b32b8
Merge pull request #1633 from Cxbx-Reloaded/revert-1594-prevent-nvnet-hogging-cpu
Revert "Prevent NVNet hogging cpu"
2019-06-10 18:44:37 +01:00
Luke Usher a934d7619c
Revert "Prevent NVNet hogging cpu" 2019-06-10 18:42:02 +01:00
ergo720 0eb57e2578 Remove DBG_PRINTF_EX 2019-06-10 18:51:45 +02:00
Luke Usher 2357b4cebf
Merge pull request #1629 from NZJenkins/remove_printf
Remove DBG_PRINTF
2019-06-10 11:07:24 +01:00
Anthony Miles 8cf2f0e467 Remove unused logging macros
- LOG_ONCE
- LOG_XBOX_CALL
- LOG_FIRST_XBOX_CALL
2019-06-10 21:47:04 +12:00
Anthony Miles f74cd91404 Remove dev logging 2019-06-10 21:47:04 +12:00
Anthony Miles 1611559087 Remove DBG_PRINTF and remaining usages 2019-06-10 21:46:49 +12:00
Anthony Miles 9a7ded6a53 Replace DBG_PRINTF with EmuLog 2019-06-07 23:26:26 +12:00
Anthony Miles e97aecf278 Remove duplicate FLAG2STR 2019-06-07 23:24:10 +12:00