Commit Graph

5232 Commits

Author SHA1 Message Date
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
RadWolfie 9f6be941f4 Restore try/catch from previous pull request. 2018-07-19 13:12:22 -05:00
ergo720 06a5cbc5a9 Ported back from JayFoxRox's research improved xid requests implementation + other minor xid changes 2018-07-19 18:54:03 +02:00
ergo720 c18e2f6a38 Connected LLE USB implementation with the rest of the emulator (untested) 2018-07-18 23:32:18 +02:00
ergo720 4e7d4a7eda Run all xinput functions as unpatched with LLE USB 2018-07-17 22:51:53 +02:00
ergo720 e6de7b99d1 Removed player to usb port conversion (confirmed as being a bug of XQEMU) 2018-07-17 21:51:36 +02:00
ergo720 669b1e8cd1 Added LLE USB flag 2018-07-17 01:09:36 +02:00
ergo720 7ab72b4c90 Replaced Cxbx.h with CxbxCommon.h 2018-07-17 00:05:32 +02:00
ergo720 f47c481ee6 Introduced InputDeviceManager 2018-07-16 23:55:55 +02:00
ergo720 e1a76b643c Added SDL2 submodule 2018-07-14 23:32:18 +02:00
ergo720 45f4f32790 Amend previous rebasing 2018-07-14 17:19:34 +02:00
ergo720 a4d869f4e4 Also create serial for gamepad as well 2018-07-14 17:00:07 +02:00
ergo720 04d1817570 Use std::string instead of C-style strings 2018-07-14 17:00:06 +02:00
ergo720 6fea0c3da1 add linux support to timer functions (untested) 2018-07-14 17:00:06 +02:00
ergo720 002e10003d Forgotten to reset a couple of ohci registers 2018-07-14 17:00:05 +02:00
ergo720 b24e15a09c USB_DeviceDetach 2018-07-14 17:00:05 +02:00
ergo720 7bb0ebddd5 Updated logging 2018-07-14 17:00:05 +02:00
ergo720 2680f4b6e8 Added usb packet logging solution configuration 2018-07-14 17:00:05 +02:00
ergo720 f4c47fddc9 Implemented xid gamepad device + updates to hub 2018-07-14 16:58:30 +02:00
ergo720 9196c353d2 Practically finished Hub device implementation 2018-07-14 16:56:50 +02:00