Commit Graph

7445 Commits

Author SHA1 Message Date
medievil1 ee7be21bbb fix dot_str_cube not kicking in
when a cube texture is used and dot_str_3d is the texture mode, it is suppose to be flagged by combiner for change to dot_str_cube.
2022-07-17 10:10:12 -04:00
Luke Usher 8fcc2f5e0c
Merge pull request #2387 from LukeUsher/fix-heap-corruption-at-startup-with-nvnet
Fix heap corruption in NVNetDevice::GetMacAddress
2022-07-13 09:36:31 +01:00
Luke Usher 56610cd899 Fix heap corruption in NVNetDevice::GetMacAddress
This could cause startup of CxbxR to fail for some users.
2022-07-12 09:40:27 +01:00
Luke Usher 9fab1d5bed
Merge pull request #2386 from LukeUsher/fix-multi-xbe-vfs
emufile: fix multi-xbe titles when running through xbox-iso-vfs
2022-07-11 14:22:49 +01:00
PatrickvL 0043e45531
Merge pull request #2374 from NZJenkins/vsh-op-independence
Fix vertex shader op independence
2022-07-08 22:18:50 +02:00
Luke Usher bc9cbec518
Merge pull request #2385 from ergo720/gui_xbe_crash
Fixed a crash in the gui when opening an xbe fails
2022-07-08 20:40:53 +01:00
Luke Usher 4edd3feb3e emufile: fix multi-xbe titles when running through xbox-iso-vfs
Prior to this commit, the relaunch path would become corrupted when running a game mounted with xbox-iso-vfs.
2022-07-08 20:37:32 +01:00
ergo720 0717c0166b Fixed a crash in the gui when opening an xbe fails 2022-07-08 13:38:52 +02:00
PatrickvL 16ffe3a80f
Merge pull request #2384 from LukeUsher/allow-skipping-faulty-instructions
EmuException: allow skipping of instructions that trigger unhandled exceptions
2022-07-08 13:21:15 +02:00
Luke Usher 5f3cfdeb77 address feedback 2022-07-08 11:37:48 +01:00
Luke Usher a650fd2078
Merge pull request #2375 from ergo720/libusb_update
Updated libusb submodule to include deadlock fix
2022-07-08 09:59:19 +01:00
Luke Usher cfa7be71cf
Merge pull request #2378 from ergo720/sb_fix
Fixed slowness in Steel Battalion caused by WaitApc
2022-07-08 09:58:01 +01:00
Luke Usher 4076a5b758 EmuException: allow skipping of instructions that trigger unhandled exceptions.
In many cases, this will result in more instability, however, it is useful as a debugging tool:
some games that would otherwise be working are let down by a *single* invalid read or write, and skipping
over that instruction allows the game to be played.

This can enable further research/debugging within the title.
2022-07-06 09:21:23 +01:00
ergo720 6e3635d90a Updated libusb to include deadlock fix 2022-07-05 22:25:08 +02:00
ergo720 ce55fe8627 Fixed slowness in Steel Battalion caused by WaitApc 2022-07-05 22:24:12 +02:00
Luke Usher b2f63918de
Merge pull request #2382 from jackchentwkh/vsh_cpu_2
Implement HLE D3DDevice_RunVertexStateShader()
2022-07-05 15:57:43 +01:00
Luke Usher f6274cc59f Revert "fix order of thread initialization"
This reverts commit 3a50d7e136.
2022-07-05 15:29:55 +01:00
PatrickvL 8546d7c10d EMUPATCH(D3DDevice_RunVertexStateShader):
added LOG_TEST_CASE precondition checks, replacing an assert
simplified implementation (no need for an intermediate variable)
commented some notes and future suggestions
2022-06-30 11:33:29 +02:00
jackchentwkh 4c5995af0c using memset for vertex_state_shader_v0[] init. 2022-06-26 11:00:04 +08:00
jackchentwkh c981ff23b1 Correction of v0.xyzw assignment. 2022-06-26 11:00:04 +08:00
jackchentwkh 186b5fa8ee adopt api changes of nv2a_vsh_emu_execute_track_context_writes().
using pg->vsh_constants_dirty[] again.
2022-06-26 11:00:04 +08:00
jackchentwkh ce4f4a07f0 adopt api nv2a_vsh_emu_initialize_xss_execution_state change from 3 args to 2 args.
mark all vertex constants dirty after vertex state shader execution.
2022-06-26 11:00:04 +08:00
jackchentwkh 4d110bad6e Implement RunVertexStateShader() 2022-06-26 11:00:04 +08:00
RadWolfie 6f79b035bd cmake: include nv2a_vsh_cpu libraries 2022-06-26 11:00:03 +08:00
jackchentwkh 7bc95d7a67 Add nv2a_vsh_cpu submodule 2022-06-26 11:00:03 +08:00
NZJenkins 5a454aad5c
Merge pull request #2381 from NZJenkins/cubemap-mips
Fix mipmapped cubemaps
2022-06-25 17:49:31 +12:00
Anthony 6cbb385b89 Fix mipmapped cubemaps
which had broken faces (other than the first face)
because the slice pitch calculation did not account for mipmaps.
We are iterating the mipmaps already, so just calculate the slice pitch directly
rather than trying to generalize CxbxGetPixelContainerMeasures
2022-06-22 23:57:22 +12:00
RadWolfie 31a47cde37
Merge pull request #2377 from ergo720/suspend_disable
Fix shutdown instability
2022-06-20 16:10:37 -05:00
ergo720 aba8fc8341 Fix shutdown freeze 2022-06-20 22:24:11 +02:00
Anthony 46b1f24153 Fix vertex shader op independence
Ensure the MAC op does not interfere with the input of the ILU op.
- Use a temp register to hold the input of the ILU op when necessary
- Reorganize vertex shader decoding to better reflect the data.
Decode one vsh instruction to one intermediate instruction, rather than to multiple independent instructions.
Test case:
KOTOR II (menu)
GTA III (lighting)
2022-06-18 15:24:08 +12:00
PatrickvL b43f6bbcdf
Merge pull request #2369 from RadWolfie/fix-vs-popup-newline-dialog
Fix Visual Studio's popup dialog about newline correction
2022-05-28 20:58:10 +02:00
RadWolfie 33aad02f93 fix Visual Studio's popup dialog about newline correction 2022-05-28 10:36:55 -05:00
Luke Usher 1710f01c35
Merge pull request #2364 from RadWolfie/update-subhook
Update subhook to restore support for chihiro research
2022-05-22 11:17:04 +01:00
RadWolfie f8e4f59eae update subhook to restore support for chihiro research 2022-05-21 13:53:46 -05:00
RadWolfie 4b5edbdc94
Merge pull request #2358 from RadWolfie/update-overlay
Add build, title name, and file name to overlay
2022-05-21 13:48:56 -05:00
PatrickvL 3bf2effa4d
Merge pull request #2359 from RadWolfie/fix-faux-fs-toggle
Fix faux fullscreen overlay input
2022-05-21 19:45:06 +02:00
RadWolfie 6ab30793ed review remark 2022-05-21 12:43:24 -05:00
Luke Usher 3d244b78b3
Merge pull request #2363 from NZJenkins/setmodelview
Minimal SetModelView implementation
2022-05-21 13:31:07 +01:00
Anthony 2512840968 Minimal SetModelView implementation 2022-05-21 19:24:08 +12:00
RadWolfie ecef7aec39 review remark 2022-05-16 11:40:32 -05:00
Luke Usher 95b789eb27
Merge pull request #2360 from CookiePLMonster/fix-sleep
Do not leave KeDelayExecutionThread prematurely
2022-05-16 09:43:04 +01:00
Luke Usher 5e928e508a
Merge pull request #2362 from CookiePLMonster/resource-creation-lifetime
Keep D3D resources alive during resource creation
2022-05-16 09:10:10 +01:00
Silent 39ced81d58
Keep D3D resources alive during creation to prevent them being destroyed too early
Fixes an issue where a game could tear down a resource from another
thread while it's still initializing
2022-05-15 23:11:08 +02:00
Silent b7006e2b01
Do not leave KeDelayExecutionThread prematurely
Fixes games waking up from Sleep() calls immediately
2022-05-15 14:47:39 +02:00
RadWolfie fa85d3dad4 fix faux fullscreen toggle 2022-05-10 19:07:45 -05:00
RadWolfie 05a7acf13e overlay: Add build, title name, and file name to overlay 2022-05-09 10:39:14 -05:00
RadWolfie 8b35389c71
Merge pull request #2357 from ergo720/sb_auto_cursor
Make the SBC use the cursor mouse mode by default
2022-05-08 17:50:38 -05:00
RadWolfie e8f943ebbc
Merge pull request #2356 from ergo720/fix_irql_mask
Fixed wrong irql masks
2022-05-08 17:50:18 -05:00
ergo720 87042c6bcc Make the SBC use the cursor mouse mode by default 2022-05-08 14:17:11 +02:00
ergo720 88a37ac496
Merge pull request #2353 from RadWolfie/fix-tls-data-emu
Fix tls data initialization from cxbxr's emulation threads end
2022-05-08 01:34:07 +02:00