Commit Graph

3616 Commits

Author SHA1 Message Date
x1nixmzeng 69677ef772 Cleanup null-terminated widestring reading 2018-02-01 22:24:58 +00:00
x1nixmzeng f95402012b Support for displaying debug thread names 2018-02-01 21:55:48 +00:00
x1nixmzeng e28a02a4b5 Fixed corrupted resource files after merge 2018-02-01 21:07:47 +00:00
x1nixmzeng f57a74334f Merge https://github.com/Cxbx-Reloaded/Cxbx-Reloaded into cxbx-debugger 2018-02-01 20:58:01 +00:00
PatrickvL 3b8e3967cb Fix build after rebase 2018-02-01 17:07:08 +01:00
PatrickvL 4080cc42ac Prevent potential memory leak 2018-02-01 17:07:08 +01:00
patrickvl 0249620f04 Restored commented-out default case when reading SMC_COMMAND_VERSION byte. 2018-02-01 17:07:08 +01:00
patrickvl a5f303a353 DebugKit contain Conexant TV encoder 2018-02-01 17:07:08 +01:00
PatrickvL 4d7895eb98 Centralized hardware devices around Xbox sytem, (revisions of) components chosen based on hardware revision.
Most is not yet implemented, but more will surely follow.
Moved SMBUS-address defines and global device variables towards Xbox.h
2018-02-01 17:07:07 +01:00
PatrickvL c08c4d9224
Merge pull request #903 from x1nixmzeng/thread-names
Thread names
2018-02-01 10:17:30 +01:00
x1nixmzeng 59ad517149 Lookup current threadid
And early-out when not debugging
2018-02-01 08:49:34 +00:00
x1nixmzeng 58ca1159f1 Named all threaded methods 2018-01-31 23:31:28 +00:00
x1nixmzeng 416a3a9a68 Support for naming threads under Windows 2018-01-31 23:17:33 +00:00
PatrickvL 1d32fac997
Merge pull request #900 from ergo720/HalRegisterShutdownNotification
HalRegisterShutdownNotification implementation
2018-01-30 14:20:28 +01:00
ergo720 9bfae8be5d HalRegisterShutdownNotification implementation 2018-01-30 13:44:47 +01:00
PatrickvL bc1df4c073
Merge pull request #898 from LukeUsher/various-tweaks
Various Fixes from patch-removal-experiment
2018-01-28 15:02:05 +01:00
Luke Usher 9e8725518d Unpatch more of XFileMediaObject
Fixes missing intro audio in Crash Twinsanity
2018-01-28 13:21:15 +00:00
Luke Usher 9760609c75 Unpatch XFileMediaObject API functions
This fixes a hang in Atari Anthology and likely other titles.
These functions do not actually need to be patched.
2018-01-28 13:21:06 +00:00
Luke Usher ff857021e1 Unpatch D3D_CMiniport_GetDisplayCapabilities as it's just a wrapper around AvSendTvEncoderOption 2018-01-28 13:20:58 +00:00
Luke Usher ccf287033b Unpatch XWaveFileCreateMediaObject
This fixes a hang in Crash Bandicoot: The Wrath of Cortex.
2018-01-28 13:20:47 +00:00
Luke Usher 12349e345d Don't attempt to compile empty pixel shaders (those with no instructions)
This gets past the vs1.1 crash in Sonic Heroes E3 Demo.
2018-01-28 13:20:41 +00:00
PatrickvL c8c0353374
Merge pull request #895 from ergo720/FatalMessage
Xbox fatal error implementation
2018-01-28 12:44:27 +01:00
ergo720 753d9d89c2 Dashboard fatal error + fix issue #878 2018-01-28 10:06:11 +01:00
x1nixmzeng 1a28198841 Cleanup of UI 2018-01-28 04:41:17 +00:00
x1nixmzeng 3a27fe2dcc Extract addresses from disassembly view 2018-01-28 04:07:16 +00:00
PatrickvL 5b4c5e59a7
Merge pull request #897 from donwayo/xbeinfo
Xbeinfo
2018-01-28 00:55:50 +01:00
Eduardo C 774f300b33 Tweaks to GenExtraInfo() 2018-01-28 00:44:12 +01:00
Eduardo C b95f65be30 Fix tabs... 2018-01-27 22:11:37 +01:00
Eduardo C 576ce83e94 Improved dumping of extended Xbe certificate information: Original Certificate Size, Online Service ID, Extra Security Flags, and Code Encryption Key 2018-01-27 22:04:55 +01:00
x1nixmzeng a50978bf29 Cleanup of UI 2018-01-27 16:28:49 +00:00
ergo720 81b1d75b4a Xbox fatal error implementation 2018-01-26 09:56:26 +01:00
Luke Usher 4cf2dbf5a6
Merge pull request #893 from LukeUsher/fix-debug-log-crash
Fix a crash when setting a debug filename for the first time
2018-01-25 14:07:14 +00:00
Luke Usher d3989024ea Fix a crash when setting a debug filename for the first time
This was caused by doing = on a string that was not a std::string,
unintentially causing the pointer address to be changed.

This tweak instead causes the first character of the string to be set to
\0 (null) causing all string parsing functions to treat it as an empty
string, without trashing the poiner.
2018-01-25 14:06:20 +00:00
Luke Usher d393637a47
Merge pull request #892 from PatrickvL/NV2A_expansion
NV2A expansion
2018-01-24 08:18:25 +00:00
PatrickvL 3314fc18fb NV2A : Added defines and code from my WIP_LessVertexPatching branch that wasn't yet in master. Also some defines from the OpenXbox repository. 2018-01-23 16:26:01 +01:00
PatrickvL 60e092885e NV2A : Added Luke's comment at wrong RegisterBAR 2018-01-23 13:50:39 +01:00
PatrickvL 94d3d3fc2e
Merge pull request #891 from LukeUsher/d3dbegin_end_tweaks
D3DBegin/End Tweaks
2018-01-23 12:13:19 +01:00
Luke Usher 6b4e529bd6 Shrink IVB_TABLE_SIZE
It was way too big and the vertex buffer was failing to allocate in some titles.
2018-01-23 10:15:46 +00:00
Luke Usher ec1172f68f Make Unknown IVB Register a Warning rather than a hard crash 2018-01-23 10:15:30 +00:00
Luke Usher 8139bd833d Silent Hill 2 no longer overflows the g_IVBTable 2018-01-23 10:15:13 +00:00
PatrickvL 112c5332d9
Merge pull request #889 from ergo720/HalFunctions
HalIsResetOrShutdownPending implementation
2018-01-22 19:49:36 +01:00
ergo720 f0f152ace5 Simplified HalIsResetOrShutdownPending implementation 2018-01-22 19:08:08 +01:00
ergo720 1a4295c3da HalIsResetOrShutdownPending implementation 2018-01-22 16:06:17 +01:00
PatrickvL f738bf47d4 Isolated XbePrinter into it's own file, so the Xbe.h/.cpp files don't need to know about it. 2018-01-22 13:16:12 +01:00
PatrickvL 488663fae7
Merge pull request #887 from PatrickvL/LED_fix
Removed the LED sequence cycle reset feature.
2018-01-22 12:46:30 +01:00
PatrickvL 0b5bcd6dda Removed the LED sequence cycle reset feature.
After at most 1/6th of a second, a new sequence will be active anyway, so resetting it won't be very useful anyway. This removes the need to check if a new sequence is set, and the need for the bLedHasChanged status boolean, simplifying the code further.

This should fix https://github.com/Cxbx-Reloaded/Cxbx-Reloaded/issues/885
2018-01-22 12:45:39 +01:00
Luke Usher 043a380931
Merge pull request #886 from jarupxx/OOVPA_5558_Hotfix
Separate XDK 5558/5659 with Integrated Hotfixes OOVPA to 5788 database
2018-01-22 10:15:43 +00:00
jarupxx bf846b59be Separate XDK 5558/5659 with Integrated Hotfixes OOVPA to 5788 database
XDK 5558/5659 with Integrated Hotfixes use 5788 database.
Standard XDK 5659 still uses 5558 database.

Verified with
- [5558] NHL HITZ Pro 2004
- [5558 with Intergrated Hotfixes] XIII
- [5659] NFL Blitz Pro
- [5659 with Intergrated Hotfixes] Midway Arcade Treasures Paperboy
- [5788] Digimon Battle Chronicle
2018-01-22 18:45:42 +09:00
PatrickvL 9dd84564ec
Merge pull request #869 from Fisherman166/master
Create Xbe Printer class for more modular Xbe Dumping
2018-01-22 08:14:33 +01:00
Fisherman166 641ec8fdfa Return a string from dumpinformation and let the caller decide how to output the info 2018-01-21 17:12:45 -08:00