Commit Graph

3382 Commits

Author SHA1 Message Date
x1nixmzeng aaed9a18e3 Remove broken capstone library 2018-01-21 15:15:58 +00:00
x1nixmzeng 547d6b04b9 Merge https://github.com/Cxbx-Reloaded/Cxbx-Reloaded into cxbx-debugger 2018-01-21 13:57:55 +00:00
Luke Usher 649464e549
Merge pull request #875 from ergo720/LED
comment on the led
2018-01-21 11:01:13 +00:00
ergo720 1bde019977 comment on the led 2018-01-21 11:32:53 +01:00
Luke Usher 53a932c573
Merge pull request #874 from ergo720/LED
LED implementation
2018-01-21 10:26:36 +00:00
ergo720 9084661b0e LED 2018-01-21 11:02:25 +01:00
Luke Usher b460464d47
Merge pull request #868 from PatrickvL/VariousFixes
Various fixes
2018-01-21 09:02:20 +00:00
PatrickvL c09210d12b Log SetLEDSequence 2018-01-19 17:40:33 +01:00
PatrickvL ac88ecbe95 Switched over to new color-format conversion (required lowering an #endif)
My tests thus far show no regressions!
2018-01-19 17:18:12 +01:00
PatrickvL 06eb0f3a5c Unpatched D3DResource_AddRef, and avoid calling it wherever possible 2018-01-19 17:16:27 +01:00
PatrickvL 1f7e8c9877 SMBus::ConnectDevice requires the same address-translation as ExecuteTransaction (otherwise, devices can't be found). 2018-01-19 17:14:20 +01:00
PatrickvL 81e2764aaf HalWriteSMBusValue typo fix that allows it to succeed after the final IORead 2018-01-19 17:12:44 +01:00
PatrickvL 69c7d6b99f New EMUPATCH(D3DDevice_GetTexture), forwarded to D3DDevice_GetTexture2.
Corrected all texture-related types to X_D3DBaseTexture.

Added a few safeguards against accessing null pointers (this part is the only functional change of this commit).
2018-01-19 13:56:10 +01:00
Luke Usher 8a63e00996
Merge pull request #866 from PatrickvL/ARGB_preparations
Introduced ConvertD3DTextureToARGBBuffer
2018-01-18 21:12:14 +00:00
PatrickvL e141cdb78e Introduced ConvertD3DTextureToARGBBuffer (already used by ConvertD3DTextureToARGB for showing logo's) in preparation on removing the OLD_COLOR_CONVERSION define 2018-01-18 17:55:55 +01:00
PatrickvL 0398d19e5b
Merge pull request #865 from LukeUsher/fix-issue-xboxdash
Fix an issue where Xbox Dashboard could not successfully launch XOnlineDash
2018-01-15 14:47:05 +01:00
PatrickvL 34330a6265
Merge pull request #864 from LukeUsher/vertex-buffer-register-memory
Fix an issue where D3DResource_Register returned a host pointer to Xbox code
2018-01-15 14:42:26 +01:00
Luke Usher c59ce5ccee Fix an issue where Xboxdash could not properly launch Xonlinedash. 2018-01-15 13:30:05 +00:00
Luke Usher 8940e670d9 Fix an issue where CxbxKrnl_DebugFileName could become a pointer to invalid memory.
This happened if the original std::string DebugFileName went out of scope.
The solution is to store the actual data as CxbxKrnl_DebugFilename rather than a pointer.
2018-01-15 13:29:21 +00:00
Luke Usher a24579d0aa Fix an issue where D3DResource_Register returned a host pointer to Xbox code 2018-01-15 13:05:55 +00:00
patrickvl 8f22515b7d CxbxKrnlRegisterThread refactoring; All callers first called DuplicateHandle. Now this is part of CxbxKrnlRegisterThread itself. Also, a possible failure of DuplicateHandle is logged. 2018-01-15 09:31:43 +00:00
PatrickvL 2723bef3d9 CxbxRestoreLaunchDataPage : Fixed a pointer-arithmetic bug, spotted by hotzenplotz3000 2018-01-15 09:30:32 +00:00
Luke Usher b076e6caab Move CxbxRestorePersistentMemoryRegions to after CxbxRestoreContigousMemory 2018-01-15 09:30:32 +00:00
x1nixmzeng 63bc7749c0 Added Capstone binding library 2018-01-15 00:12:27 +00:00
x1nixmzeng 4b288d0f0d Minor UI tweaks 2018-01-15 00:05:33 +00:00
Luke Usher 6ab673a05c
Merge pull request #858 from LukeUsher/fix-create-thread-regression
Wait betweeen CreateThread and WaitForSingleObject
2018-01-14 11:54:49 +00:00
Luke Usher a46992394a Wait betweeen CreateThread and WaitForSingleObject 2018-01-14 10:52:08 +00:00
x1nixmzeng 77eacf429f Fixed crash when suspending execution
Prevent main thread handle being duplicated
2018-01-14 02:02:43 +00:00
PatrickvL 39c4b4eebe
Merge pull request #856 from LukeUsher/fix-createdevice-debug
Fix an issue where textures/surfaces sometimes used the wrong base address.
2018-01-14 00:18:58 +01:00
Luke Usher a81a881949 Fix an issue where some software was using the wrong memory address for surface/texture resources 2018-01-13 23:05:11 +00:00
Luke Usher a8b78eb2c8
Merge pull request #853 from PatrickvL/ThreadCreation
PsCreateSystemThreadEx : Waiting for thread-creation updated
2018-01-13 21:15:32 +00:00
Luke Usher d590472e23
Merge pull request #854 from PatrickvL/XbeFlagsDumping
Xbe flags are now dumped correctly
2018-01-13 21:04:18 +00:00
x1nixmzeng 7e58132dc1 Extended file event debugging
The UI will need a cleanup next
2018-01-13 18:09:45 +00:00
x1nixmzeng 114b7540be Minor refactor of string messages 2018-01-13 16:58:26 +00:00
patrickvl eae87ba5f7 Xbe flags are now dumped correctly (only the first bitfield was shown, now the entire value) 2018-01-13 17:07:33 +01:00
patrickvl 6eca7d5d0b PsCreateSystemThreadEx : Waiting for thread-creation updated, so it waits for the correct handle, avoids access-violations, releases resources correctly and logs additional details on waiting errors. 2018-01-13 16:34:17 +01:00
PatrickvL 4fd2c7c2e9
Merge pull request #852 from jarupxx/D3D_OOVPA2
Add XRefSaveIndex into #ifndef WIP_LessVertexPatching
2018-01-13 12:47:12 +01:00
jarupxx a433ee91c6 Add XRefSaveIndex into #ifndef WIP_LessVertexPatching 2018-01-13 16:38:38 +09:00
Luke Usher 51db1a2fbc
Merge pull request #851 from x1nixmzeng/catch-fs-exception
Catch exceptions with experimental filesystem library
2018-01-13 01:43:43 +00:00
x1nixmzeng a36f30907a Ignore child processes settings file 2018-01-13 01:09:47 +00:00
x1nixmzeng 4dfcec09b3 Fixed bad merge of menu ids 2018-01-13 01:09:02 +00:00
x1nixmzeng 321236c907 Merge https://github.com/Cxbx-Reloaded/Cxbx-Reloaded into cxbx-debugger 2018-01-13 01:00:32 +00:00
x1nixmzeng 8b908c4d68 Catch exceptions with experimental filesystem library 2018-01-13 00:40:34 +00:00
PatrickvL 5ce5da7036
Merge pull request #848 from LukeUsher/reference-counting-tweak
GetTexture and GetBackBuffer should increment the reference count
2018-01-12 18:22:15 +01:00
Luke Usher c08b3b3cfb GetTexture and GetBackBuffer should increment the reference count 2018-01-12 15:45:00 +00:00
PatrickvL 08c44bd403
Added link to AppVeyor builds history 2018-01-11 11:49:25 +01:00
x1nixmzeng 1c4e1fbdce Handle debugger detachment 2018-01-10 22:15:47 +00:00
x1nixmzeng fa4cae27bd Cleanup of exception states 2018-01-10 21:57:37 +00:00
x1nixmzeng 8f6a0ebd05 Exception handling for access violations
The host fallback logic is horrible and needs reworking
2018-01-10 21:42:54 +00:00
Luke Usher 340a2bddfc
Merge pull request #846 from LukeUsher/disable-pixel-shaders
Implement Disable pixel shaders hack
2018-01-10 21:25:27 +00:00