Commit Graph

5337 Commits

Author SHA1 Message Date
Luke Usher 0ac8b589a5 Add LTCG specific D3DDevice_SetVertexData4f_16 2018-10-28 22:48:21 +00:00
Luke Usher 2e056347e9 Fix a crash when creating a texture with more mip-map levels than D3D9 allows 2018-10-28 22:29:41 +00:00
PatrickvL 97c0975bb4
Merge pull request #1495 from LukeUsher/performance-and-fixes
Fix Virtua Cop 3 (Chihiro)
2018-10-28 20:05:33 +01:00
Luke Usher d1ce72841a Feedback 2018-10-28 19:03:39 +00:00
Luke Usher 82a8b63965 Fix an incorrect LOG_TEST_CASE 2018-10-28 17:31:23 +00:00
Luke Usher 66b77b64ea Catch unusual vertex buffer situations + fix an issue where Vertex buffer information was not initialized properly 2018-10-28 16:01:36 +00:00
Luke Usher d286f6156f Oops, fix a double-free 2018-10-28 14:46:32 +00:00
Luke Usher 176cad275f Don't trash original shader handles, use a map instead 2018-10-28 12:14:25 +00:00
Luke Usher cdc97176dc Workaround for vertex streem number overflow 2018-10-28 01:26:42 +01:00
Luke Usher 2ddf6a0e54 Finally fix Vertex Shader detection to use the same method as Xbox D3D 2018-10-28 01:26:21 +01:00
Luke Usher ee73845750 Oops: Host shaders should not be allocated in Xbox memory 2018-10-28 00:27:28 +01:00
Luke Usher 2d0141298f Improve performance of scanline count register: Titles spend less time spinning on scanline counter now 2018-10-27 23:26:00 +01:00
PatrickvL 995f135215
Merge pull request #1493 from LukeUsher/debugging
Fix alter echo hang + remove force high priority
2018-10-26 09:33:00 +02:00
Luke Usher d81de9a6a9 Split deriving display dimensions into functions 2018-10-26 08:19:26 +01:00
Luke Usher ca9a76c6d7 New register is called NV_PCRTC_RASTER. Sources: Haiku & Pedigree 2018-10-26 08:10:49 +01:00
Luke Usher 38e12a0473 Fix alter echo hang: Implements CRTC scanline register (hacky implementation, but enough for now 2018-10-25 23:21:41 +01:00
Luke Usher 566e3165e8 Don't force process priority: This caused too much instability 2018-10-25 19:32:26 +01:00
Luke Usher 65a1f10a3b
Merge pull request #1492 from LukeUsher/file-io-tweaks
Fix an issue where RootDirectory wasn't being set properly when converting file paths
2018-10-24 23:05:24 +01:00
Luke Usher 30a3a392ad Fix an issue where RootDirectory wasn't being set properly when converting file paths 2018-10-24 22:48:25 +01:00
Luke Usher d530648728
Merge pull request #1489 from PatrickvL/usb_locking
Replace atomic boolean m_bFrameTime with a mutex m_FrameTimeMutex
2018-10-24 20:35:43 +01:00
patrickvl c818c28538 Replace atomic boolean m_bFrameTime with a mutex m_FrameTimeMutex 2018-10-24 21:30:10 +02:00
Luke Usher 2a16c71f68
Merge pull request #1490 from PatrickvL/Acknowledgment_to_top
Move acknowledgments towards the top of each file
2018-10-24 15:28:09 +01:00
Luke Usher ce1bfb6810
Merge pull request #1491 from PatrickvL/Avoid_LOG_PREFIX
Avoid LOG_PREFIX by adding *Ex versions for all functions that receive other values
2018-10-24 15:27:36 +01:00
patrickvl b94daf7bbf Move acknowledgments towards the top of each file 2018-10-24 16:05:20 +02:00
patrickvl 42c00806d7 Avoid LOG_PREFIX by adding *Ex versions for all functions that receive other values 2018-10-24 16:03:35 +02:00
PatrickvL 8bb56cd04d
Merge pull request #1488 from PatrickvL/newlines
Corrected DBG_PRINTF terminating newlines where appropriate
2018-10-24 11:00:22 +02:00
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