Commit Graph

1512 Commits

Author SHA1 Message Date
PatrickvL ee5798b10c Aliassed D3DTexture_LockRect better
D3DTexture_LockRect version 5849 already appeared in 5788, which is
identical to 5233 (the version in between, 5558, is different, by one
OV-pair, so I kept that).

PS: I found this purely by accident, when taking a quick look at jarupxx
past few commits, of which 2c6dfd5b stood out because of the "Removed"
description. I fear more of these little mistakes might have slipped in
with that batch...
2017-02-05 15:45:20 +01:00
PatrickvL 5b1b58b3b0 Merge remote-tracking branch 'refs/remotes/Cxbx-Reloaded/master' 2017-02-04 20:46:46 +01:00
PatrickvL 85e35b177b Merge pull request #140 from jarupxx/fnc-1
Add DSound OOVPAs

The tests on the current version seem alright. Let's merge this!
2017-02-04 20:40:40 +01:00
PatrickvL b64d6c994d Merge branch 'master' into fnc-1 2017-02-04 20:34:57 +01:00
PatrickvL 12657d13bd Merge pull request #143 from PatrickvL/master
Removed redundant comments from all .inl files
2017-02-04 20:27:00 +01:00
PatrickvL 8570dbb5a2 Removed redundant comments from all OOVPA registrations, keeping ordering, other comments and disabled registrations intact 2017-02-04 20:20:56 +01:00
PatrickvL 489917d57f Introduced new OOVPA registration macro's
these come from my OOVPA_Sorting branch, which will be simpler to merge
later on if master already has this
2017-02-04 19:04:56 +01:00
PatrickvL 8fa861c3e9 Merge remote-tracking branch 'refs/remotes/Cxbx-Reloaded/master' 2017-02-04 18:45:10 +01:00
PatrickvL a8e9ca4aa1 Merge pull request #142 from PatrickvL/fix_73747bf
This fixes crashes introduced in 73747bf by re-enabling XGIsSwizzledFormat
2017-02-04 18:37:06 +01:00
PatrickvL 9d4d353e9f Restored XGIsSwizzledFormat OOVPA registration and patch 2017-02-04 18:34:32 +01:00
PatrickvL b5e1b5dfff Merge remote-tracking branch 'refs/remotes/Cxbx-Reloaded/master' 2017-02-03 22:30:35 +01:00
jarupxx 8ffa9f7937 Added the CDirectSoundStream_SetPitch fnction (4627)
Moved from 5788 version.
2017-02-03 16:29:13 +09:00
Luke Usher 068386cd84 Merge pull request #139 from PatrickvL/master
Kernel improvements
2017-02-02 20:24:51 +00:00
PatrickvL 174c397233 Implemented KeIsExecutingDpc, KeCancelTimer and KeDisconnectInterrupt
Also commented a few functions, and replaced a few magic numbers by
constants.
2017-02-02 18:32:18 +01:00
PatrickvL d441c9ce0e Extended KOBJECTS enum 2017-02-02 17:48:35 +01:00
jarupxx 7d93ef3d94 Added the SetCurrentPosition fnctions (5233) 2017-02-02 20:30:47 +09:00
jarupxx 7ae306b345 Added the DirectSoundGetSampleTime fnction (4361-4627) 2017-02-02 20:23:44 +09:00
jarupxx 7b0e3ab9f0 Added the DirectSoundDoWork fnction (4361-4627) 2017-02-02 20:21:39 +09:00
jarupxx 62c226e40f Modified the SetPlayRegion fnctions (4361-4627) 2017-02-02 19:59:36 +09:00
jarupxx fefcb616bd Modified SetMixBins fnctions (4361-5233) 2017-02-02 19:43:43 +09:00
jarupxx 57ac8c8d7f Modified the SetLoopRegion fnctions (4361-5233) 2017-02-02 19:34:49 +09:00
jarupxx bbdeca5b81 Added the SetLFO fnctions (4627) 2017-02-02 19:28:18 +09:00
PatrickvL 57e4f3570a At last introduced KeInterruptTime, used it in KeQueryInterruptTime (which is now protected against overflow)
Also fixed EmuThreadDpcHandler by applying CONTAINING_RECORD to DpcQueue
(DPC's do seem to get called now)
2017-02-01 20:59:32 +01:00
PatrickvL 03fb26943d Ported Dpc handler thread over from Dxbx
Needs testing
2017-02-01 12:29:21 +01:00
PatrickvL c540b3580c Kernel : Added KeRemoveQueueDpc and KeResetEvent
Fixed and completed KeInitializeEvent, KeInsertQueueDpc and KeSetTimerEx
Also ported LIST_ENTRY methods over from Dxbx and applied where possible
2017-02-01 11:49:38 +01:00
PatrickvL 53d240758e Merge remote-tracking branch 'refs/remotes/Cxbx-Reloaded/master' 2017-02-01 09:56:56 +01:00
PatrickvL 979bcaaf76 Added incomplete version of KeInitializeEvent
Requires InitializeListHead
2017-01-31 17:14:09 +01:00
PatrickvL 149170dc38 Merge pull request #132 from jarupxx/OOVPA
Fixed the pattern XNetStartup, WSAStartup
2017-01-28 21:52:26 +01:00
PatrickvL 1599af3139 Merge remote-tracking branch 'refs/remotes/Cxbx-Reloaded/master' 2017-01-28 17:08:12 +01:00
jarupxx 2945ecdf65 Fixed the pattern XnInit 2017-01-28 22:54:27 +09:00
jarupxx a94a369ba7 Revert "Fixed the pattern XNetStartup, WSAStartup"
This reverts commit 502c51ed32.
2017-01-28 22:50:09 +09:00
jarupxx 502c51ed32 Fixed the pattern XNetStartup, WSAStartup 2017-01-27 21:12:37 +09:00
Luke Usher b624cd588a Merge pull request #130 from PatrickvL/master
JIT preparations
2017-01-26 15:58:28 +00:00
PatrickvL 0f03aecf3f JIT : Preparation, added pass-through memory-access handlers
Called only OUTSIDE EmuException, to prevent causing endlessly recursive
exceptions (and eventually, a stack overflow).
2017-01-26 16:54:37 +01:00
PatrickvL cb73b4265c Applied our xbaddr type everywhere it's applicable 2017-01-26 16:36:59 +01:00
PatrickvL ad36a98ec4 Merge remote-tracking branch 'refs/remotes/Cxbx-Reloaded/master' 2017-01-26 15:08:16 +01:00
Luke Usher fa30aa09d6 Merge pull request #128 from LukeUsher/minor-improvements
Minor improvements based on feedback from PVS Studio
2017-01-26 10:01:20 +00:00
Luke Usher 3a33fb19eb Fix a few minor issues raised by PVS Studio 2017-01-26 09:22:36 +00:00
Luke Usher f40a273e0c Add 5788 HLE Database to the filters file 2017-01-23 21:34:32 +00:00
PatrickvL 34f9022bd3 Merge branch 'master' of https://github.com/PatrickvL/Cxbx-Reloaded 2017-01-23 21:52:07 +01:00
Luke Usher acf446989c Merge branch 'master' of https://github.com/Cxbx-Reloaded/Cxbx-Reloaded 2017-01-23 19:27:57 +00:00
Luke Usher 719e83faf1 Merge pull request #126 from PatrickvL/master
Various D3D improvements
2017-01-23 19:26:19 +00:00
PatrickvL 96b96a0a73 Merge remote-tracking branch 'refs/remotes/Cxbx-Reloaded/master' into PatrickvL/master 2017-01-23 17:59:25 +01:00
PatrickvL 23f060fc47 D3DDevice_CreateTexture uses XGSetTextureHeader now (instead of the other way around)
Also better determination of Texture fields.
2017-01-23 17:56:27 +01:00
PatrickvL 6eec6e7671 Ordered if (PCFormat != D3DFMT_YUY2) to handle YUY2 first, other cases next.
(The code in the if/else blocks isn't changed.)
2017-01-23 17:07:52 +01:00
PatrickvL c8ec68efd7 D3DResource_Register improvements
Determine bSwizzled and dwBPP using the improved EmuXBFormatIsSwizzled
function.
Renamed Format to PCFormat (because all other places use that same
name).
Moved X_D3DFMT_A8L8 to it's correct place (it's 16 bit, not 8, although
it doesn't matter much, with the BPP fix above).
2017-01-23 17:02:57 +01:00
PatrickvL f1240796a7 In EmuXBFormatIsSwizzled, set BPP for non-swizzled formats too 2017-01-23 16:42:20 +01:00
PatrickvL 9f681d1ddf Merge branch 'master' of https://github.com/PatrickvL/Cxbx-Reloaded.git 2017-01-23 11:03:24 +01:00
PatrickvL d12b782e02 Fixed a compiler warning 2017-01-23 11:02:53 +01:00
PatrickvL 2de7bbc1e0 Merge remote-tracking branch 'refs/remotes/Cxbx-Reloaded/master' 2017-01-22 01:49:16 +01:00