Commit Graph

1583 Commits

Author SHA1 Message Date
PatrickvL 1d6c8006fc Merge pull request #160 from PatrickvL/master
Preparations for storing XREF's above 255
2017-02-09 15:05:05 +01:00
PatrickvL 751f41b02e Merge remote-tracking branch 'refs/remotes/Cxbx-Reloaded/master' 2017-02-09 15:03:26 +01:00
PatrickvL 16d27cb24c XRef OOVPA entries are now stored using a macro
This macro swaps it's arguments and stores the Offset in the uint8 field
and XRef in the uint16 field. This way, XRef ID's can grow above the
current limit of 255.
2017-02-09 15:03:24 +01:00
PatrickvL 6923f0dfee Merge remote-tracking branch 'refs/remotes/origin/OOVPA_simplification' 2017-02-09 14:28:30 +01:00
PatrickvL 668a93e8e5 Merge pull request #159 from PatrickvL/OOVPA_simplification
Oovpa simplification
2017-02-09 14:23:36 +01:00
PatrickvL 198ba5891f Merge pull request #158 from PatrickvL/master
VertexBuffer refactorings, based on Dxbx
2017-02-09 14:22:24 +01:00
PatrickvL 8018f9ea00 Removed small-large distinction in OOVPA declarations 2017-02-09 14:06:03 +01:00
PatrickvL ab487cd788 Merge remote-tracking branch 'refs/remotes/Cxbx-Reloaded/master' 2017-02-09 13:26:22 +01: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
PatrickvL 6bce1102d3 Merge branch 'master' of https://github.com/PatrickvL/Cxbx-Reloaded 2017-02-07 00:06:29 +01:00
PatrickvL 7a31420e8f Merge remote-tracking branch 'refs/remotes/Cxbx-Reloaded/master' 2017-02-07 00:06:19 +01:00
PatrickvL 6801f4ae76 Don't know what funcExclude exists for, but at least with this, evaluating it's contents gives readable output 2017-02-06 18:12:14 +01:00
PatrickvL b722545463 Merge remote-tracking branch 'refs/remotes/Cxbx-Reloaded/master' 2017-02-06 16:53:43 +01:00
PatrickvL ef648d6b34 Merge pull request #150 from PatrickvL/master
Small fixes
2017-02-06 16:53:31 +01:00
PatrickvL 354b064d60 Fixed a bug introduced in 53a731009f 2017-02-06 16:51:48 +01:00
PatrickvL 230d9e8385 Added comment related to issue #101 2017-02-06 14:51:41 +01:00
PatrickvL aa19487ca1 Disabled VerifyHLEDataBase and logged LLE flags 2017-02-06 14:44:01 +01:00
PatrickvL 4b45dd7cba Fixed distorm related compiler warning 2017-02-06 14:39:28 +01:00
PatrickvL bc2a9e611e Merge pull request #149 from PatrickvL/master
Implemented the easy Ob* kernel API's
2017-02-06 14:33:34 +01:00
PatrickvL 7ed9893a77 Kernel : Corrected and implemented ObReferenceObjectByPointer 2017-02-06 14:12:25 +01:00
PatrickvL debc43a694 Merge remote-tracking branch 'refs/remotes/Cxbx-Reloaded/master' 2017-02-06 14:07:26 +01:00
PatrickvL 53003a2817 Kernel : Implemented ObfReferenceObject and ObfDereferenceObject
These seem to be quite easy (only one TODO for named objects in
ObfDereferenceObject)
2017-02-06 14:07:14 +01:00
PatrickvL eb3da6710c Merge pull request #148 from PatrickvL/master
Kernel stubs for all Ob* API's
2017-02-06 13:58:54 +01:00
PatrickvL 4daff59e1b Kernel : Added ObfReferenceObject stub (the last thunk for Ob*) 2017-02-06 13:58:13 +01:00
PatrickvL ee283ecaa5 Kernel : Added ObReferenceObjectByPointer stub 2017-02-06 13:54:50 +01:00