Commit Graph

2364 Commits

Author SHA1 Message Date
PatrickvL 94f9824ccc Small LockRect improvements 2017-04-13 16:34:30 +02:00
PatrickvL 88a8f632ce Merge pull request #11 from PatrickvL/LibYuv
Use libyuv for YUY2ToARGB conversion
2017-04-13 15:49:18 +02:00
jarupxx 09b0da2b0a DSound: Added IDirectSoundBuffer_SetMixBinVolumes for XDK 3911 only stub
XDK 4134 and later use changed function IDirectSoundBuffer_SetMixBinVolumes2.
also use DirectSound_CDirectSoundStream_SetMixBinVolume2.
2017-04-13 20:52:09 +09:00
jarupxx fe8589c230 Disabled D3D_CreateDeviceX (From D3D8X) (4627) 2017-04-13 20:41:13 +09:00
jarupxx 4b6b76fd27 Renamed IDirectSound_EnableHeadphones to IDirectSound8_EnableHeadphones (5558-5788) 2017-04-13 20:29:08 +09:00
jarupxx 0c312f2a39 Improved DirectSound_CDirectSound_CreateSoundStream ALIAS 2017-04-13 20:14:14 +09:00
jarupxx 0e8f6ac86e Renamed IDirectSoundStream_SetMixBins to DirectSound_CDirectSoundStream_SetMixBins 2017-04-13 20:09:10 +09:00
jarupxx b374c54934 Renamed DirectSound_CDirectSoundStream_SetMixBinVolumes to DirectSound_CDirectSoundStream_SetMixBinVolumes2 (5788-5849) 2017-04-13 20:04:54 +09:00
jarupxx bea7454774 Improved IDirectSoundBuffer_StopEx ALIAS
Note: This function will fail to detect?
2017-04-13 19:59:27 +09:00
jarupxx 73039222f0 Improved IDirectSoundStream_SetVolume ALIAS 2017-04-13 19:46:37 +09:00
jarupxx 9983730afb Renamed IDirectSoundStream_SetHeadroom to DirectSound_CDirectSoundStream_SetHeadroom 2017-04-13 19:41:17 +09:00
jarupxx 17eb1b2d82 Improved IDirectSoundBuffer_SetAllParameters
According to DXBX this function uses "DS_OK" as the return value.
2017-04-13 19:30:28 +09:00
jarupxx b61f9327d7 Renamed XLaunchNewImage to XLaunchNewImageA 2017-04-13 19:14:24 +09:00
jarupxx 8bc90d8453 Renamed XUnmountAlternateTitle to XUnmountAlternateTitleA 2017-04-13 19:14:23 +09:00
jarupxx d20d7daa72 Renamed XMountAlternateTitle to XMountAlternateTitleA 2017-04-13 19:14:22 +09:00
jarupxx 7ffdb8d201 D3DDevice_KickOff (4134) is not use ALIAS 2017-04-13 19:14:21 +09:00
jarupxx cc1cc0d84a Added D3DDevice_KickPushBuffer stub 2017-04-13 19:14:21 +09:00
jarupxx ae8a22352b Renamed D3DDevice_SetTileNoWait to D3DDevice_SetTile
Dxbx note : SetTile is applied to SetTileNoWait in Cxbx 4361 OOPVA's!
2017-04-13 19:14:04 +09:00
PatrickvL 53269b1372 Merge remote-tracking branch 'refs/remotes/origin/LibYuv' into StrectMovies 2017-04-13 11:37:00 +02:00
PatrickvL cb8d9d0934 Extracted libyuv code to separate files 2017-04-13 11:33:02 +02:00
PatrickvL b2e19bc449 Fixes to get it compiling and running
With this, Turok's first movie goes directly to the backbuffer, while
the second movie (before entering the game) streches via the
intermediate ExtraXRGBSurface.
2017-04-13 11:15:16 +02:00
PatrickvL c2fef8c474 Merge remote-tracking branch 'refs/remotes/origin/LibYuv' into StrectMovies 2017-04-13 10:39:44 +02:00
PatrickvL 887127267e Merge remote-tracking branch 'refs/remotes/Cxbx-Reloaded/master' into LibYuv 2017-04-13 10:39:21 +02:00
PatrickvL 8c4c5126bd Merge remote-tracking branch 'refs/remotes/Cxbx-Reloaded/master' 2017-04-13 10:38:43 +02:00
PatrickvL 2a0a1a35d1 Merge pull request #364 from LukeUsher/master
Prevent infinite KeBugCheck loops by adding an Ignored flag
2017-04-12 23:17:27 +02:00
Luke Usher c641293f0f Prevent infinite KeBugCheck loops by addng an Ignored flag 2017-04-12 22:10:25 +01:00
Luke Usher 91ce16c023 Merge pull request #363 from LukeUsher/memorymanager-tweaking
Fix gamepad sample (and potentially others)
2017-04-12 21:24:56 +01:00
Luke Usher 9df6f3e70c Fix gamepad sample (and potentially others) 2017-04-12 21:21:05 +01:00
PatrickvL e658d82de6 Back-ported Dxbx movie-stretching code 2017-04-11 17:37:36 +02:00
PatrickvL bb4976b41a Merge remote-tracking branch 'refs/remotes/origin/master' into LibYuv 2017-04-11 15:46:15 +02:00
PatrickvL 069693af59 Merge remote-tracking branch 'refs/remotes/Cxbx-Reloaded/master' 2017-04-11 15:45:44 +02:00
PatrickvL 4dc8409abd Amendment to PR #357 2017-04-11 15:45:13 +02:00
PatrickvL 78d21a12f7 Merge branch 'master' of https://github.com/PatrickvL/Cxbx-Reloaded.git 2017-04-11 15:42:31 +02:00
PatrickvL a314b546c7 Revert "Documented additional D3D formats for Direct3D 9"
This reverts commit a86effda6e.
2017-04-11 15:40:19 +02:00
PatrickvL 9dae8e2a0b YUY2 conversion using (part of) libyuv 2017-04-11 15:37:45 +02:00
PatrickvL 1a46418f72 Merge remote-tracking branch 'refs/remotes/Cxbx-Reloaded/master' into PatrickvL/master 2017-04-11 13:53:21 +02:00
PatrickvL 6e282a7a46 Merge remote-tracking branch 'refs/remotes/Cxbx-Reloaded/master' into PatrickvL/master 2017-04-11 13:24:50 +02:00
PatrickvL e2001ef471 Removed unused variable g_OrigBuildVersion 2017-04-11 13:24:46 +02:00
Luke Usher 6991c09a2e Merge pull request #357 from PatrickvL/master
Color component fixes and FormatInfo code cleanup
2017-04-11 12:06:20 +01:00
PatrickvL 93310eca90 Revert "Documented additional D3D formats for Direct3D 9"
This reverts commit a86effda6e.
2017-04-11 13:00:41 +02:00
Luke Usher 2d4a392896 Alloc zeroed (#356)
* Fix a crash when MemoryManager::AllocZeroed fails.

Thanks to blueshogun96 for finding this

* Fix accidentally removed memset

* Update MemoryManager.cpp

* Update MemoryManager.cpp

Only one small correction and a few comments for possible future improvements
2017-04-11 11:55:09 +02:00
PatrickvL ad80ef0b4d Typo fix 2017-04-11 11:25:41 +02:00
PatrickvL a86effda6e Documented additional D3D formats for Direct3D 9
Source :
https://msdn.microsoft.com/en-us/library/windows/desktop/bb172558(v=vs.85).aspx
2017-04-11 11:18:21 +02:00
PatrickvL 2a60c17c4e Compacted FormatInfos table 2017-04-11 11:16:47 +02:00
PatrickvL 695491c97f Fixed __R5G6B5 component encoding info
Also turned two X components into A=255 when converting to ARGB.
2017-04-11 11:04:54 +02:00
PatrickvL 3b4053feb9 Merge remote-tracking branch 'refs/remotes/Cxbx-Reloaded/master' into PatrickvL/master 2017-04-11 09:20:50 +02:00
Luke Usher 8dd3487232 Merge pull request #350 from LukeUsher/master
Re-enable patch for XgIsSwizzledFormat.
2017-04-10 20:51:06 +01:00
Luke Usher c558894876 Re-enable patch for XgIsSwizzledFormat.
This fixes texture corruption in X-Marbles, ZSNESBOX and potentially
others.
2017-04-10 20:46:22 +01:00
Luke Usher 9e42bc5517 Merge pull request #348 from PatrickvL/master
Conversion of unsupported native formats to ARGB
2017-04-10 16:53:09 +01:00
PatrickvL 69a18dba43 Register Data pointer only for first level 2017-04-10 17:32:34 +02:00