Commit Graph

5251 Commits

Author SHA1 Message Date
ergo720 169806b2ed Added some comments 2018-08-01 00:36:05 +02:00
ergo720 a42a114583 Disabled LLE USB 2018-07-31 21:44:10 +02:00
Luke Usher d43cd270db
Merge pull request #1357 from gandalfthewhite19890404/dev_vs2015_fix
VS 2015 Compile fix
2018-07-31 13:05:35 +01:00
gandalfthewhite19890404 88ee402cd3
Update VertexShader.cpp
Visual Studio 2015 compile fix 2
2018-07-31 14:33:00 +03:00
gandalfthewhite19890404 2db659b990
Update PushBuffer.cpp
Visual Studio 2015 compile fix 1
2018-07-31 14:32:08 +03:00
ergo720 d06c4d62ca Dropped support for USB1 device 2018-07-30 15:35:12 +02:00
ergo720 3d18703c86 Bug fixes, still no input (kernel problem?) 2018-07-29 14:43:51 +02:00
Luke Usher 524746b068 Merge branch 'develop' of https://github.com/cxbx-reloaded/cxbx-reloaded into develop 2018-07-28 19:43:10 +01:00
Luke Usher 96a91944b8 Quick Fix: RtlLeaveCriticalSectionAndRegion no longer fails kernel test suite 2018-07-28 19:42:57 +01:00
Luke Usher e313367b2b
Merge pull request #1355 from LukeUsher/better-locking-for-fs
Prevent side-effects of the lock/unlock action for FS
2018-07-27 22:15:34 +01:00
Luke Usher 0fc5270702 Prevent side-effects of the lock/unlock action for FS 2018-07-27 22:14:09 +01:00
Luke Usher a2fd9a75a5
Merge pull request #1351 from LukeUsher/vertex-shader-tweaks
Fix an issue with Vertex Shaders containing EXP instruction
2018-07-26 11:17:42 +01:00
patrickvl adfa2dfa52 LLE : For any texture with multiple levels (or faces), use the given TextureShape's.color_format. Otherwise, when a first step selects another resulting_format, all following steps would incorrectly interpret the input using that format. 2018-07-25 17:54:09 +02:00
PatrickvL 76b983bd17 LLE : Comment typo 2018-07-25 17:54:09 +02:00
PatrickvL cb2c65bbd2 LLE : Derive frame height via hardware (VGA control registers) 2018-07-25 17:54:09 +02:00
PatrickvL 1fe1e73705 LLE : Derive display mode (except frame_height) from PRAMDAC, remode dead code, indenting fixes, temporarily restored blitting code for debugging purposes (still works), slight code reordering. Alas, still no output from framebuffer drawing... 2018-07-25 17:54:09 +02:00
PatrickvL 3e5741cdf9 LLE : Thorough review of kelvin_color_format_map (correcting a few format declarations, and applied a define for all formats declarations that are converted) 2018-07-25 17:54:09 +02:00
PatrickvL 3a7a3eb875 LLE : No need to convert R5G5B5A1 and R4G4B4A4 formats - they're natively supported in OpenGL (thanks JayFoxRox, for noticing) 2018-07-25 17:54:09 +02:00
PatrickvL a3c1309315 LLE : Read all frame width bits from their respective VGA control registers. No more short-circuit in AvSetDisplayMode. 2018-07-25 17:54:09 +02:00
PatrickvL 133222ff30 LLE : Small cleanups 2018-07-25 17:54:09 +02:00
PatrickvL 7a9e0668af LLE : Fixed LLE convert_texture_data resulting converted_format and use the correct decoder for CR8YB8CB8YA8 format. This fixes wrong colors in WWE RAW2 intro's. 2018-07-25 17:54:09 +02:00
PatrickvL cd5069705b LLE : Simplified and improved swizzle masks. Introduced NV2ADevice::BlockRead/Write for faster hardcoded MMIO. Also, 16 bit framebuffers now read their width from VGa control registers. 2018-07-25 17:54:09 +02:00
PatrickvL 7dd02fdf70 LLE : Graceful shutdown, avoiding exceptions 2018-07-25 17:54:09 +02:00
PatrickvL c56e76d1ca LLE : Make GL_RESET() and GL_CHECK() macro's a no-up when compiled without DEBUG_NV2A_GL 2018-07-25 17:54:08 +02:00
PatrickvL 1e04317833 LLE : Framebuffer drawing works! (Ditched blitting) 2018-07-25 17:54:08 +02:00
PatrickvL e7ac16ef0a LLE : More cleanup 2018-07-25 17:54:08 +02:00
PatrickvL 7f8c0903ce LLE : Detect framebuffer format changes 2018-07-25 17:54:08 +02:00
PatrickvL 420b62221e LLE : Moved pvideo overlay state into a struct, cleaning up more code. 2018-07-25 17:54:08 +02:00
PatrickvL 2dc8dff4c4 LLE : Cleanup, disabled DRAW_FRAMEBUFFER for now so the framebuffer is visible again. Hopefully, DRAW_FRAMEBUFFER will work in the next commit! 2018-07-25 17:54:08 +02:00
PatrickvL 48f88e4998 LLE : Fixed rendering overlay. Also skip rendering framebuffer when overlay overlaps it fully anyway. 2018-07-25 17:54:08 +02:00
PatrickvL 0973cd18bc LLE : More work on Xbox framebuffer drawing (still doesn't work AND broke overlays) 2018-07-25 17:54:08 +02:00
PatrickvL e11c4f3d70 LLE : Draw Xbox framebuffer instead of blitting it (Unfinished) 2018-07-25 17:54:08 +02:00
Luke Usher 0c727b6c67
Merge pull request #1350 from LukeUsher/depth-fallback
Detect DepthFormat is supported and fallback if not
2018-07-25 16:00:52 +01:00
Luke Usher 1175190b15 Detect DepthFormat is supported and fallback if not 2018-07-25 15:49:34 +01:00
Luke Usher 75c258e422
Merge pull request #1349 from LukeUsher/fix-d3d9-compile
Fix compilation of D3D9 build
2018-07-25 14:26:41 +01:00
Luke Usher 2561b68823 Oops, forgot to include required libs 2018-07-25 11:45:36 +01:00
Luke Usher 4ac161da82 Fix compilation of D3D9 build
With this, the Debug_Direct3D9 build now compiles and successfully runs
basic XDK samples (Gamepad, Tutorials, etc)

Known Issues:
1. Vertex Shaders are completely broken, any titles using vertex shaders
WILL crash
2. Vertex conversion is completely broken, any titles using Xbox
specific data types WILL crash

This is NOT ready for use in any shape or form, just a step towards the
eventual D3D9 port.
2018-07-25 11:23:39 +01:00
Luke Usher f5f3375174
Merge pull request #1348 from LukeUsher/fix-createtexture-in-vc3
Unset DepthStencil flag on ARGB conversion
2018-07-25 09:18:53 +01:00
Luke Usher 5056f97b8f Unset DepthStencil flag on ARGB conversion: ARGB isn't a valid stencil format 2018-07-24 23:31:19 +01:00
Luke Usher 1e52685729
Merge pull request #1347 from CakeLancelot/update-discord-link
Update Discord link
2018-07-24 19:40:26 +01:00
CakeLancelot a8c488c485 Oops 2018-07-24 13:33:04 -05:00
CakeLancelot c581e0b128 Update Discord link to be more consistent with other badges 2018-07-24 13:31:14 -05:00
Luke Usher 20eb6ab3a4
Merge pull request #1345 from LukeUsher/lockfs
Thread safe FS processing using spinlock
2018-07-24 15:33:50 +01:00
Luke Usher c8811820ca Default fs_lock to 0 2018-07-24 08:33:31 +01:00
Luke Usher a54930aa3b Thread safe FS processing using spinlock 2018-07-24 08:31:07 +01:00
ergo720 01674b22e7 Amend previous commit 2018-07-23 12:00:06 +02:00
ergo720 a70aab8fa6 Added CLI and STI instruction support to EmuX86. Fixes a crash in ohci dpc routine 2018-07-23 11:52:20 +02:00
ergo720 f31b57830e Bug fixes (still not good enough) 2018-07-21 22:20:21 +02:00
ergo720 87e1833941 Allow cxbxr to build with LLE USB 2018-07-20 18:29:58 +02:00
RadWolfie fc908b615b
Merge pull request #1341 from PatrickvL/VectoredExceptionHandling
Vectored exception handling
2018-07-19 13:23:25 -05:00