Commit Graph

3616 Commits

Author SHA1 Message Date
Fisherman166 4a3965d644 Move Xbe dumping into its own class. Add game ratings string printout for issue #686. Cleanup GUI code so that the Xbe Printer is responsible for outputting Xbe info 2018-01-21 17:12:44 -08:00
x1nixmzeng c2052e0c13 Fixed poorly merged filters file 2018-01-22 00:44:16 +00:00
PatrickvL b015cc715b
Merge pull request #883 from PatrickvL/LED_simplifications
Simplified LED encoding and drawing code
2018-01-22 00:42:37 +01:00
PatrickvL 78cf44077d
Merge pull request #872 from blueshogun96/master
Azurik updates
2018-01-22 00:41:50 +01:00
blueshogun96 7eb82e0b53 Removed duplocate code 2018-01-21 15:38:34 -08:00
PatrickvL e27918b95d
Merge branch 'master' into LED_simplifications 2018-01-22 00:34:45 +01:00
patrickvl 7697dc9333 All hardware devices are moved outside CxbxKrnl, towards devices (some into devices\video) 2018-01-22 00:32:44 +01:00
Luke Usher 32d52d4097 Merge pull request #882 from PatrickvL/device-ify_nv2a
The NV2A is now registered as a hardware device, just like all other devices
2018-01-22 00:32:42 +01:00
patrickvl 33d3dc418e All hardware devices are moved outside CxbxKrnl, towards devices (some into devices\video) 2018-01-22 00:30:32 +01:00
patrickvl 1e5d7ffede Simplified LED encoding and drawing code - Ergo720's LED_MultiColor.xbe actually flashes the LED correctly now! 2018-01-21 23:50:30 +01:00
Luke Usher 0f764c4483
Merge pull request #882 from PatrickvL/device-ify_nv2a
The NV2A is now registered as a hardware device, just like all other devices
2018-01-21 21:38:15 +00:00
patrickvl afa4e4034d The NV2A is now registered as a hardware device, just like all other devices.
Like the NVNet device, it's implementation is currently just a forward to the existing code.
Still, this removes a dependency from EmuX86 on the NV2A device - from now on it's reached via the generic device framework.
2018-01-21 22:20:38 +01:00
Luke Usher 386eaf292f
Merge pull request #881 from ergo720/HalInitiateShutDown
HalInitiateShutDown implementation
2018-01-21 20:08:55 +00:00
x1nixmzeng 02f4df2a32 Support dumping memory to file 2018-01-21 19:33:39 +00:00
x1nixmzeng cf9a64c31a Updated disassembly output and reference module 2018-01-21 19:18:38 +00:00
ergo720 c16f94f273 HalInitiateShutDown implementation 2018-01-21 20:08:12 +01:00
x1nixmzeng ed02200d6c Added call stack disassembly 2018-01-21 16:12:25 +00:00
x1nixmzeng aaed9a18e3 Remove broken capstone library 2018-01-21 15:15:58 +00:00
Luke Usher 792a222e5c
Merge pull request #876 from LukeUsher/disable-new-color-conversion
Disable new color conversion
2018-01-21 14:42:15 +00:00
Luke Usher cd6813131d Disable new color conversion
As much as I hate to do this, it is currently causing crashes in titles that use P8 format textures.
It will be restored once this (and other related issues) are resolved.
2018-01-21 14:41:43 +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
blueshogun96 1a650f280e Increase stack reserve and commit size (stops Azurik from crashing during FMVs in release mode) 2018-01-20 16:10:07 -08:00
blueshogun96 4ee53eaa0d Remove double slashes from file paths 2018-01-20 15:53:23 -08:00
blueshogun96 46259aeb02 Azurik 3D rendering fix (D3DDevice_LoadVertexShaderProgram) 2018-01-20 15:44:07 -08:00
blueshogun96 8bdc6ae6f9 Merge remote-tracking branch 'upstream/master' 2018-01-20 15:11:56 -08: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