Commit Graph

5136 Commits

Author SHA1 Message Date
patrickvl c065b8479e LLE : Fixed YUV to RGB shader bugs. Still doesn't show anything. 2018-06-22 17:29:55 +02:00
patrickvl c443653ee6 LLE : More work trying to get the overlay showing up... 2018-06-22 17:29:51 +02:00
PatrickvL 5dc7b51cd7 LLE : Refactored the YUYV to RGB fragment shader and draw instead of blit (alas, WMVCutScene doesn't show the video with this - needs more work) 2018-06-22 17:29:48 +02:00
PatrickvL 415ea4eab7 LLE : Removed obsolete EmuNV2A.cpp 2018-06-22 17:29:44 +02:00
PatrickvL 2734bcf212 LLE : Get overlay animating by calling UpdateHostDisplay from pvideo_vga_invalidate.
Also added experimental PVIDEO interrupts (didn't seem to help)
2018-06-22 17:29:41 +02:00
PatrickvL 5a6a37f5fb Kernel : Apply some constants in AvSetDisplayMode 2018-06-22 17:29:37 +02:00
PatrickvL f555970e8d HLE : Slightly rename pushbuffer command flags 2018-06-22 17:29:34 +02:00
patrickvl f55de95404 LLE : Rename overlay variables (still not rendering correctly) 2018-06-22 17:29:30 +02:00
PatrickvL a3720a55f4 LLE : Render YUV overlay vertically flipped (just like the framebuffer). Working on YUV>RGB shaders... 2018-06-22 17:27:42 +02:00
PatrickvL 891db9b827 LLE : Try to get some overlay showing under LLE too.... 2018-06-22 17:27:39 +02:00
Luke Usher e5201169c8
Merge pull request #1303 from LukeUsher/patch-removal
Removing more unnecessary patches
2018-06-22 16:00:48 +01:00
Luke Usher 988a4d28d7
Merge pull request #1304 from RadWolfie/prevent-runas-admin
Verify User to allow run as Admin or not
2018-06-22 14:15:46 +01:00
RadWolfie 86ab2b4b58 Since prevent elevated access didn't work. Workaround is to ask user if wish to continue or not.
Co-Authored-By: Luke Usher <luke.usher@outlook.com>
2018-06-22 08:01:19 -05:00
RadWolfie d7b37c6069 Don't run as admin, it is a security breach and will not improve anything. 2018-06-22 02:11:54 -05:00
RadWolfie e86d8ee7ec Change return values to EXIT_xxxx
Since return value is customize by developer. We'll use existing exit value to match with monitor threads.
2018-06-22 02:10:14 -05:00
Luke Usher c17f830df9
Merge pull request #1302 from gandalfthewhite19890404/patch-1
Change Unsupported D3DVERTEXBLENDFLAGS from Fatal to Test Case
2018-06-21 12:02:40 +01:00
gandalfthewhite19890404 72ab250cce
Update EmuD3D8.cpp
Fix brackets align
2018-06-21 13:44:57 +03:00
gandalfthewhite19890404 0923e1e490
Update EmuD3D8.cpp
Comments by Luke
1. Changes the error to a warning
2. makes sure to log a test case so we can find out WHY the game sends invalid data later
2018-06-21 13:29:57 +03:00
Luke Usher 80a60fbab8 More unpatching 2018-06-21 08:56:11 +01:00
Luke Usher 25285dd2c6 Remove Blocking/Wait related patches that were not needed 2018-06-21 08:47:43 +01:00
Luke Usher ba198202f2 Revert "Replace Uncap Framerate with Cap Framerate hack"
This reverts commit c1b99631fb.
2018-06-20 20:33:27 +01:00
Luke Usher 8cd9eff297
Merge pull request #1299 from LukeUsher/inline-buffer-fixes
Various Fixes
2018-06-20 19:55:32 +01:00
Luke Usher e16153a9bc
Merge pull request #1301 from jackchentwkh/lsw_input_fix
oope, those old IRQL code should be kept!
2018-06-20 16:09:02 +01:00
jackchentwkh 477db54385 oope, those old IRQL code should be kept! 2018-06-20 23:02:36 +08:00
Luke Usher 4276571bf7
Merge pull request #1300 from jackchentwkh/lsw_input_fix
fix no input issue of Lego Star War.
2018-06-20 15:41:16 +01:00
jackchentwkh 6a08052785 fix no input issue of Lego Star War.
it requires the XGetDeviceChanges to return changes all the time, but no removal, only insertions.
2018-06-20 22:19:17 +08:00
Luke Usher 0e594126b4 CLeanup 2018-06-20 13:54:12 +01:00
Luke Usher 840d822e28 Fix an issue where r1.a would be inserted even if t1 was not used 2018-06-20 13:51:45 +01:00
Luke Usher be33bf2466 Use a std::vector instead of a linked list: Easier to manage/maintain 2018-06-20 13:34:58 +01:00
Luke Usher e567d23a40 Avoid unnecessary division 2018-06-20 09:24:04 +01:00
Luke Usher d154d6c4c6 potential fix for reads from r1 before writes 2018-06-20 09:20:29 +01:00
Luke Usher c1b99631fb Replace Uncap Framerate with Cap Framerate hack
Why? The Xbox doesn't have a frame rate cap, as evidenced by XDK samples
like Dolphin and Benchmark, that run at high FPS on real hardware.

We only had a framerate cap by default to work-around a timing bug
relating to Rdtsc, which is mostly solved now!

The cap frame-rate hack will stay around as an OPTIONAL hack, for any
titles that are still problematic: however, it will never be default.
2018-06-20 08:27:41 +01:00
Luke Usher f560ca7275 Implement D3DDevice_SetRenderState_PSTextureModes 2018-06-20 08:10:59 +01:00
Luke Usher 65e63b3f25 Unpatch GetViewPort: This should always return the Xbox state anyway, which is set via a trampoline in SetViewPort 2018-06-20 07:09:34 +01:00
Luke Usher 6d4138ab5a Fix a ton of conversion issues in inline vertex buffers: Hoping it would improve Halo: It didn't 2018-06-19 22:39:45 +01:00
Luke Usher 14b1ddad79
Merge pull request #1297 from LukeUsher/pixel-shader-updates-via-renderstate
Allow PixelShaders to be updated in Real Time via SetRenderState calls
2018-06-19 19:18:55 +01:00
Luke Usher 4b489ed093 Oops, wrong define 2018-06-19 14:21:34 +01:00
Luke Usher 09d7a57fb1 Log reserved D3DRS_PSTEXTUREMODES slot. TODO: Find out how to implement this 2018-06-19 14:21:34 +01:00
Luke Usher f19c43af74 Attempt to print RenderState name when an unsupported RenderState is hit 2018-06-19 14:21:34 +01:00
Luke Usher 4b1eb4909d Allow PixelShaders to be updated in Real Time via SetRenderState calls 2018-06-19 14:21:34 +01:00
Luke Usher ad07eefd3e
Merge pull request #1298 from LukeUsher/fix-titleid-rendering
If the prefix of a title_id is non printable, render the entire serial as hex
2018-06-19 11:10:35 +01:00
Luke Usher c8975f628c If the prefix of a title_id is non printable, render the entire serial as hes 2018-06-19 10:44:23 +01:00
Luke Usher 099b33210c
Merge pull request #1296 from RadWolfie/resolve-compile-warnings
Resolve some compile warnings
2018-06-19 08:08:59 +01:00
RadWolfie 8afea9fe77 Fixed MSB8004: Intermediate Directory does not end with a trailing slash. 2018-06-19 00:46:43 -05:00
RadWolfie 64b537318c Workaround solution to remove warning from multimon header of GetVersion usage.
Once we do fully move to DX9, we can remove force undefine defined function.

Unless graphic team decide to preserve it forever as proof of concept.
2018-06-19 00:37:29 -05:00
RadWolfie 1623068193 Compile builds are using msvcrt, not libcmt.
See `C/C++ > Code Generation >Runtime Library` for all builds.
2018-06-19 00:11:50 -05:00
Luke Usher fc1252283a
Merge pull request #1295 from ggKismet/patch-1
Fix typo in Controller Dialog
2018-06-18 20:28:02 +01:00
ggKismet 48b65375f7
Update cxbx.rc , added a T removed an L. lol. 2018-06-18 12:21:38 -07:00
RadWolfie 7327793b28 Remove minimal rebuild option
Enabling minimal rebuild does not work with multi-processor compilation (/MP).
2018-06-18 14:21:04 -05:00
Luke Usher da06670aa7
Update README to better present AppVeyor links 2018-06-18 08:24:45 +01:00