Commit Graph

1649 Commits

Author SHA1 Message Date
jarupxx e3731e27a1 Added the SetVolume (4361-4627) 2017-02-09 20:00:29 +09:00
jarupxx 2fd45ca204 Added the CMcpxBuffer_Play xref (4361-4627)
Added correctly detect for IDirectSoundBuffer_PlayEx. A function with the same name has already been registered.
It's called by Dxbx ?Play@CMcpxBuffer@DirectSound@@QAEJK@Z. I added function is ?Play@CMcpxBuffer@DirectSound@@QAEJ_JK@Z
2017-02-09 19:59:45 +09:00
PatrickvL 224526b709 Removed trailing B's and C's from a few OOVPA's
Also updated registrations
2017-02-09 19:59:37 +09:00
PatrickvL 657ab555d6 Rrenamed X_D3DDevice_ prefix to D3DDevice_
For those, registration is now done via OOVPA_TABLE_ENTRY instead of
OOVPA_TABLE_PATCH
2017-02-09 19:59:37 +09:00
PatrickvL edc7da976d Renamed IDirect3D_ prefix to D3D_ 2017-02-09 19:59:37 +09:00
PatrickvL 5e079bb2ac Revert "Fixed compiler warning"
This reverts commit 904ae4f940.
2017-02-09 19:59:37 +09:00
PatrickvL b8c38ddeae Fixed compiler warning 2017-02-09 19:59:37 +09:00
PatrickvL 40fffb278e 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-09 19:59:37 +09:00
jarupxx ed6647a17c Added the D3D_SetFence (5849) 2017-02-09 19:58:22 +09:00
jarupxx 9cdf338243 Added the D3DDevice_SetVertexShaderInput (5849) 2017-02-09 19:58:16 +09:00
jarupxx fc4fbd706e Added the D3DDevice_SetScreenSpaceOffset (5849) 2017-02-09 19:58:07 +09:00
jarupxx 9ba21c854b Fixed up D3DDevice_EndVisibilityTest (4627-5233) 2017-02-09 19:57:57 +09:00
jarupxx 070ed24c2c Fixup the D3D_SetFence (5558)
Crash Nitro Kart (XDK 5558) This seems to be using Early version of function. Fixed up to mutually pairs.
2017-02-09 19:57:47 +09:00
jarupxx 32f89c6f78 Added the D3DDevice_SetTile (3925) 2017-02-09 19:57:34 +09:00
jarupxx 53935a1e8b Added the SetRenderState_LineWidth (5558) 2017-02-09 19:57:21 +09:00
jarupxx ad68c3ca17 Added the SetVertexShaderInput (4361) 2017-02-09 19:57:03 +09:00
jarupxx d617ab37b8 Added the SetVertexDataColor fnction (4361)
Test Drive shows the intro.
2017-02-09 17:57:36 +09:00
jarupxx ff5a8cd01c Added the GetVertexShader (4361) 2017-02-09 17:57:36 +09:00
jarupxx eee73cedb8 Added the SetPixelShaderProgram (4361) 2017-02-09 17:57:35 +09:00
jarupxx 366ed9ed74 Added the SetRenderState_PSTextureModes (4361) 2017-02-09 17:57:35 +09:00
jarupxx 4c6e9114c2 Fixed up 2 functions a bit
XIII (XDK 5558) This seems to be using Early version of function. Fixed up to mutually pairs.
2017-02-09 17:57:35 +09:00
jarupxx 56404ed2d5 Added the SetPushBufferSize (4134-4627) 2017-02-09 17:57:35 +09:00
jarupxx 190f5d5ed6 Added the D3DDevice_SetScissors (4361-4432) 2017-02-09 17:57:35 +09:00
Luke Usher 2fa6ef861b Added an entry for D3DDevice_SetPixelShaderProgram in 4361.
This symbol was being missed in Burnout. OOVPA verified by checking bytes in XBE Explorer
2017-02-09 06:48:56 +00:00
PatrickvL 843400b54f Redid it, works 2017-02-08 20:58:51 +01:00
PatrickvL 84be4bb04f Vertex conversion refactoring 2017-02-08 17:55:18 +01:00
PatrickvL 9a470a7c5d Applied X_D3DVSDT constants 2017-02-08 17:24:17 +01:00
Luke Usher 1dd154b648 Merge pull request #154 from LukeUsher/Fix_null_pointer_dereference_on_pExpandedTexture
Fix a potential null pointer reference...
2017-02-08 10:26:35 +00:00
Luke Usher bf516aaf46 Fix a potential null pointer reference when D3DResource_Register is called on a palleted texture before a pallete has been loaded.
This was hit by Puyo Pop Fever.
2017-02-08 10:24:47 +00:00
PatrickvL 504d4adf5c Add vertext shader constants 2017-02-08 01:35:44 +01:00
PatrickvL 3a306bfa76 Fix compiler warning 2017-02-08 01:35:12 +01:00
PatrickvL 8e4dd55d53 Removed unused EmuD3DInit arguments 2017-02-07 23:29:13 +01:00
PatrickvL 0aac001ec2 Small D3D fix 2017-02-07 17:43:54 +01:00
PatrickvL 809d9cdd7e Prevent placing EmuXRefFailure patches on DISABLED oovpa registrations 2017-02-07 17:28:06 +01:00
PatrickvL 656bed2660 Oops, disabled OOVPA registrations shouldn't reference the EmuPatch 2017-02-07 17:08:44 +01:00
PatrickvL f450ed5ebe Oops, calloc requires a num-argument 2017-02-07 17:08:19 +01:00
PatrickvL 4729a6f415 Merge remote-tracking branch 'refs/remotes/Cxbx-Reloaded/master' 2017-02-07 16:59:00 +01:00
PatrickvL 4b1282d021 Small cleanup 2017-02-07 16:58:58 +01:00
PatrickvL b40b9fbcbb Use calloc instead of malloc+clear 2017-02-07 16:58:31 +01:00
PatrickvL c78f5b4af6 Clear memory allocations to prevent side-effects on random contents 2017-02-07 16:57:03 +01:00
PatrickvL 7d683aa37e Disabled D3D_AllocContiguousMemory patch as it just calls MmAllocateContiguousMemory 2017-02-07 16:49:56 +01:00
PatrickvL 1960e1afee Renames and more usage of xbaddr 2017-02-07 13:39:55 +01:00
PatrickvL 8601a4e874 Sync 2017-02-07 09:54:37 +01:00
PatrickvL 528a1da83c Preliminary implementation of ObCreateObject
Tested in NtCreateEvent (see commented block there, which works)
2017-02-07 02:56:53 +01:00
PatrickvL fb1c0b41d0 Merge pull request #153 from PatrickvL/master
Corrections
2017-02-07 01:31:46 +01:00
PatrickvL b96bd7a99b Registration of LTCG OOVPA's the intended way 2017-02-07 01:29:13 +01:00
PatrickvL b61e2632a2 Changed funcExclude into void * (for readable debugging evaluations) 2017-02-07 01:22:27 +01:00
PatrickvL 9a10d30444 Wow, this slipped through (compiled and ran fine)
Luckily, it didn't cause any harm, as D3DDevice_Unknown1 was disabled,
and the extra arguments were ignored anyway.
2017-02-07 01:05:04 +01:00
PatrickvL a8318e6ee4 Merge pull request #152 from PatrickvL/master
Modernized OOVPA registration
2017-02-07 00:59:32 +01:00
PatrickvL 9bc7d91474 Modernized all old OOVPA registrations using global find-replace operations
Only the syntax changed, not the order or any other aspect of
registration.
2017-02-07 00:57:12 +01:00