Commit Graph

5611 Commits

Author SHA1 Message Date
patrickvl 2a9271cc12 Corrected DBG_PRINTF terminating newlines where appropriate (thanks to the sharp eye of gandalfthewhite) 2018-10-24 10:59:08 +02:00
Luke Usher 1a58413361
Merge pull request #1485 from LukeUsher/no-hacks-by-default
Disable all hacks by default
2018-10-18 16:37:25 +01:00
Luke Usher f55dd3f2df Disable all hacks by default 2018-10-17 18:06:26 +01:00
PatrickvL a41b2c09be
Merge pull request #1482 from LukeUsher/cleanup-and-warning-fixes
Cleanup/bug fixes
2018-10-14 16:41:03 +02:00
Luke Usher 3b338803be Minor cleanup 2018-10-13 22:49:49 +01:00
Luke Usher d47b4a69d4 Cleanup/Simplify deferred render state handling 2018-10-13 22:38:18 +01:00
Luke Usher f9047d540e Fix potential deadlock: CriticalSection was not release under certain conditions 2018-10-13 20:12:36 +01:00
Luke Usher 76638797ad Remove VshRemoveUndeclaredRegisters: It never worked, and is no longer needed anyway 2018-10-13 19:44:57 +01:00
Luke Usher ce36527a78
Merge pull request #1481 from PatrickvL/deduplicate_list_code
Deduplicate list code
2018-10-13 09:13:42 +01:00
PatrickvL fe9e3a8a30 MM : Further reduce the use of LIST_ENTRY_* macro's 2018-10-11 14:17:25 +02:00
PatrickvL e452d56991 MM : Moved all remaining LIST_ENTRY_* macro's to where they're used (as preparation for further simplification) 2018-10-11 12:45:42 +02:00
PatrickvL 0b535dc862 MM : To avoid duplicate code, replace most LIST_ macro's with List* functions 2018-10-11 12:07:40 +02:00
Luke Usher 81d52e50b6
Merge pull request #1457 from PatrickvL/xqemu_port
Ported xqemu nv2a changes
2018-10-07 21:34:39 +01:00
PatrickvL 16e094b785
Merge pull request #1466 from LukeUsher/performance-and-bug-fixes
Performance and bug fixes
2018-10-07 07:38:04 +02:00
Luke Usher 3040c5c02a Don't show dialog for Xbox breakpoints, just log them and continue 2018-10-06 09:16:49 +01:00
Luke Usher 28e1d8e381 D3DRS_SWAPFILTER exists in 4039 too: Test Case THPS3 2018-10-05 22:29:50 +01:00
Luke Usher 428d0cec90 Set process proiority to above_normal: Significant performance boost! 2018-10-05 22:28:47 +01:00
patrickvl c281b99ba2 Fix after rebase 2018-10-05 22:00:04 +02:00
PatrickvL 28c672ac0c Rearranged header files (introducing nv2a_regs.h) 2018-10-05 21:52:57 +02:00
PatrickvL 8584f09513 Updated acknowledgements and copyright statements 2018-10-05 21:47:15 +02:00
PatrickvL fbf33904b7 Renamed QINCREF to qobject_ref, and QDECREF to qobject_unref (to reduce the number of differences between our code and xqemu's) 2018-10-05 21:47:15 +02:00
PatrickvL acc808a1e2 Ported (previously overlooked) shader conversion from xqemu too 2018-10-05 21:47:15 +02:00
PatrickvL 1a6f12bef0 Destroy pfifo_lock too 2018-10-05 21:47:15 +02:00
PatrickvL d896e7dc79 Rename two lock's to pgraph_lock vs. pfifo_lock to better discern them. 2018-10-05 21:47:15 +02:00
PatrickvL 6f6f75b7e9 Remove useless forward declarations 2018-10-05 21:47:15 +02:00
PatrickvL 63e97b929b Fix how assert is avoided 2018-10-05 21:47:15 +02:00
PatrickvL a702e657ee PGRAPH debugging code also compiles with this. 2018-10-05 21:47:15 +02:00
PatrickvL 96c3c13209 Removed useless duplicate ;; 2018-10-05 21:47:15 +02:00
PatrickvL 4b8a02c155 Ported xqemu nv2a changes up to 3d33d8101b (diff-2042b2fa4b02c8eabddedcc278da5099)
WARNING : Although this compiles and runs, LLE-GPU doesn't show anything on-screen yet. More investigation & fixing will be needed before we can merge this.

PS : Once finished, this fixes https://github.com/Cxbx-Reloaded/Cxbx-Reloaded/issues/1456
2018-10-05 21:47:14 +02:00
PatrickvL 7bc2897833
Merge pull request #1462 from PatrickvL/nv2a_lights
NV2A : Fixed PGRAPH light handlers
2018-10-05 21:45:16 +02:00
PatrickvL ab20444a12 NV2A : Fixed PGRAPH light handlers - the case statement wasn't covering the final few light slots, potentially causing black spots here and there. 2018-10-05 21:44:42 +02:00
PatrickvL d1b5be72dd
Merge pull request #1461 from PatrickvL/nv2a_plugin_clear
Nv2a plugin clear
2018-10-05 21:44:01 +02:00
PatrickvL ba8857d31e Cleanup 2018-10-05 21:43:12 +02:00
Luke Usher 141069766f
Merge pull request #1464 from LukeUsher/fix-jsrf-regression
Fix a regression in JSRF caused by incorrect entry for D3DRS_SWAPFILTER
2018-10-05 15:13:53 +01:00
Luke Usher aa7c1812ed Fix a regression in JSRF caused by incorrect entry for D3DRS_SWAPFILTER 2018-10-05 15:06:11 +01:00
Luke Usher d5c83bd12b
Merge pull request #1463 from LukeUsher/tweaks-fixes
Implement STOS, Inline OutputDebugStringA & Fix Vertex Declaration oversight
2018-10-05 13:15:12 +01:00
Luke Usher 04bc37589f Oops: badly named variables caused confusion: OriginalDeclarationSize was a count, HostDeclarationSize was actual size 2018-10-05 08:56:56 +01:00
Luke Usher f8b1c890be Oops, it was also falling-through to sub 2018-10-04 23:06:34 +01:00
Luke Usher 5797cdd6c1 Oops: STOS was very slightly broken 2018-10-04 23:06:30 +01:00
Luke Usher e1210de04e Implement int2dh, int3 combination for in-lined OutputDebugStringA 2018-10-04 23:06:18 +01:00
Luke Usher d6a44b6c72 Oops: STOS was not returning true on success.. 2018-10-04 23:06:09 +01:00
Luke Usher bd14740bbe Implement (REP)STOS: This is used extensively by USB code 2018-10-04 23:05:32 +01:00
PatrickvL c4511563da NV2A : clear is now pluggable too 2018-10-04 18:19:02 +02:00
PatrickvL becac6d4c8 Remove duplicate call to CxbxUpdateNativeD3DResources 2018-10-04 10:13:58 +02:00
PatrickvL 97878f4396 Added a few test-case comments to PGRAPH 2018-10-04 10:13:58 +02:00
PatrickvL 40a543b9b5
Merge pull request #1460 from LukeUsher/d3d-tweaks
Detect and fix the situation when EmuD3DDeferrdRenderState is derived incorrectly
2018-10-03 22:03:56 +02:00
Luke Usher cbb2bce17f Update XbSymbolDatabase again + fix a crash when SetViewPort is called with a null value 2018-10-03 19:57:21 +01:00
Luke Usher de87ffd1e4 Update XbSymbolDatabase submodule 2018-10-02 16:18:04 +01:00
Luke Usher b91ebafd97 Detect and fix incorrect EmuD3DDeferredRenderState. Requires XbSymbolDatabase PR #44 to be merged first 2018-10-02 16:09:36 +01:00
PatrickvL 78a49202f9
Merge pull request #1458 from LukeUsher/d3d-tweaks
Various fixes/improvements to D3D HLE
2018-10-02 13:23:39 +02:00