Commit Graph

6474 Commits

Author SHA1 Message Date
x1nixmzeng e01b863fd2 Support for different debug sessions using MDI child forms 2020-10-11 12:16:22 +01:00
x1nixmzeng 96155736e5 Update debugger types and thread report handling 2020-10-11 12:14:42 +01:00
x1nixmzeng 3a740d7933 Report relaunching with another Xbe to the debugger 2020-10-11 12:13:03 +01:00
Luke Usher a380927fba
Merge pull request #1981 from CookiePLMonster/fix-ivb-zeroing
Actually zero g_InlineVertexBuffer_Table[0]
2020-10-09 21:22:41 +01:00
Silent fd490e9929
Actually zero g_InlineVertexBuffer_Table[0]
Operator= invoked default constructors where available,
and a default constructor for D3DXVECTOR4 does nothing.
memset/memcpy zeroes and copies the entire structure for real.
2020-10-09 22:15:15 +02:00
Luke Usher 2c72faad81
Merge pull request #1977 from CookiePLMonster/new-rdtsc-pattern
Add a new rdtsc pattern based on NASCAR Heat 2002 logs
2020-10-08 22:03:02 +01:00
Silent ad3c042df2
Add a new rdtsc pattern based on NASCAR Heat 2002 logs
New pattern detects the following:

rdtsc
mov address, eax
2020-10-06 21:30:58 +02:00
ergo720 13bd79f930
Use fixed width types for xbox types + restructured kernel header files (#1969)
* VOID -> void_xt

* CHAR, CCHAR -> char_xt, cchar_xt

* UCHAR -> uchar_xt

* BYTE, BOOLEAN -> byte_xt, boolean_xt

* Fix bogus intellisense errors in the kernel headers

* SHORT, CSHORT, USHORT -> short_xt, cshort_xt, ushort_xt

* LONG -> long_xt

* WORD, DWORD -> word_xt, dword_xt

* HRESULT -> hresult_xt

* ULONG -> ulong_xt

* SIZE_T, ACCESS_MASK, PHYSICAL_ADDRESS -> size_xt, access_mask_xt, physical_address_xt

* UINT, INT -> uint_xt, int_xt

* LONG_PTR, ULONG_PTR, INT_PTR -> long_ptr_xt, ulong_ptr_xt, int_ptr_xt

* LONGLONG, ULONGLONG -> longlong_xt, ulonglong_xt

* WCHAR, QUAD, BOOL, FLOAT -> wchar_xt, quad_xt, bool_xt, float_xt

* Updated types in xonline.h + reverted some type changes + moved kernel header files in cxbxr source tree

* Use char16_t instead of wchar_t for wchar_xt xbox type

* Fixed macro redefinition warnings from ntstatus macros in types.h
  Fixed macro redefinition warnings from NT_SUCCESS and FIELD_OFFSET
  Fixed macro redefinition warnings from the REG_ macros used by the eeprom

* NTSTATUS -> ntstatus_xt
2020-10-06 05:33:16 -05:00
Luke Usher 8a1e4b1beb
Merge pull request #1974 from RadWolfie/symbolscan-fix
Fix Symbol Scan's Kernel Thunk Bug
2020-10-06 10:11:50 +01:00
Luke Usher f8e0b73e23
Merge pull request #1975 from CookiePLMonster/CC-005-rdtsc-false-positive
Add an rdtsc false positive check for Group S Challenge [CC-005] [1.05]
2020-10-06 10:11:06 +01:00
Silent 0a46366c22
Add an rdtsc false positive check for Group S Challenge [CC-005] [1.05] 2020-10-05 21:45:59 +02:00
RadWolfie 746a7e6450 hle: move MapThunkTable after EmuHLEIntercept plus fix hidden xbeType bug to use directly xbe type than system type. 2020-10-05 11:24:22 -05:00
RadWolfie 200c614d21 hle: fix a crash if move before MapThunkTable call 2020-10-05 11:24:22 -05:00
RadWolfie 31fd0600b6 hle: let EmuLog handler handle debug messages 2020-10-05 11:08:59 -05:00
Luke Usher a852c3ef9d
Merge pull request #1972 from CookiePLMonster/fix-thread-id
PsCreateSystemThreadEx: Fill dwThreadId immediately after creating the thread
2020-10-05 07:22:13 +01:00
Silent bd759e5858
PsCreateSystemThreadEx: Fill dwThreadId immediately after creating the thread 2020-10-04 23:47:10 +02:00
RadWolfie ea7007090c
Merge pull request #1968 from x1nixmzeng/fix-debugger-launch
Fix for starting with debugger
2020-09-25 19:23:05 -05:00
x1nixmzeng 6c56bcfcf3 Fix for missing embedded resources in designer 2020-09-25 23:49:12 +01:00
x1nixmzeng 2c16a3f1b6 Fixed the launch argument processing done by the debugger 2020-09-25 20:41:28 +01:00
Luke Usher 44f1e0937c
Merge pull request #1967 from RadWolfie/cleanup-includes
Remove unnecessary includes since they are handled from CMake end
2020-09-25 12:30:36 +01:00
RadWolfie 5af26d23f5 cmake: fix includes for libtommath and libtomcrypt 2020-09-25 05:20:27 -05:00
RadWolfie c48484c135 cmake: remove unnecessary includes since they are handled 2020-09-25 04:34:25 -05:00
Luke Usher e34c990ff4
Merge pull request #1966 from RadWolfie/move-to-submodule
Move xxHash to Submodule
2020-09-25 10:14:57 +01:00
RadWolfie 5aad40ce9d move xxHash to submodule 2020-09-25 03:38:29 -05:00
Luke Usher abe0c827d3
Merge pull request #1965 from RadWolfie/update-submodule
Update XbSymbolDatabase Submodule
2020-09-25 07:15:55 +01:00
RadWolfie eaeb521bd9 update XbSymbolDatabase submodule 2020-09-24 14:10:24 -05:00
RadWolfie abb50d6f99
Merge pull request #1964 from ergo720/mouse_input
Re-enable Mouse Support
2020-09-24 05:16:11 -05:00
ergo720 cc032120bf Renamed subclass procedure + moved option synchronization code 2020-09-24 11:42:23 +02:00
ergo720 cb2bd277cd Hide the mouse cursor when hovering on the rendering window 2020-09-23 12:02:00 +02:00
ergo720 fc888cac2d Addressed review remarks 2020-09-21 15:12:12 +02:00
ergo720 dd24225477 Ignore K/M input when the cursor is outside of the rendering window 2020-09-20 22:58:04 +02:00
ergo720 4c47d5a6d9 Store ClipCursor flag in EmuShared 2020-09-20 17:57:16 +02:00
ergo720 01382d7e1d Lock the mouse cursor to the rendering window when the user presses F3 key 2020-09-20 14:58:11 +02:00
ergo720 cd11b34415 Restored optional fields in the resource file for clang 2020-09-20 11:14:16 +02:00
ergo720 6ecd89cd27 Fixed a crash happening when the settings file doesn't exist 2020-09-20 00:59:20 +02:00
ergo720 6afcd6a3f3 Removed IsDetectable(), it's no longer necessary 2020-09-19 20:33:59 +02:00
ergo720 92b6a9800d Fix an issue with sdl input binding 2020-09-19 20:27:01 +02:00
ergo720 d091a0ee8f Make binding the mouse in the input gui a bit easier 2020-09-19 14:20:09 +02:00
ergo720 6e265244cf Allow mouse options to be changed at runtime 2020-09-19 12:37:55 +02:00
ergo720 1ea6c5485e Added mouse support to input gui 2020-09-17 15:16:45 +02:00
ergo720 fa6387a545
Merge pull request #1955 from RadWolfie/fix-dsound-namespace
Fix Xbox DSound Namespace
2020-09-08 13:40:58 +02:00
RadWolfie e3b1cffd3a dsound: remove todo comment 2020-09-08 04:53:29 -05:00
RadWolfie 0b32d66e37 dsound: move HybridDirectSoundBuffer_SetMixBins to original location 2020-09-08 04:53:29 -05:00
RadWolfie 4cd89d77b8 dsound: remove extra parameter from HybridDirectSoundBuffer_SetMixBins 2020-09-08 04:53:29 -05:00
RadWolfie e6f875b7a7 dsound: updated to use without depend on windows' dsound header file for xbox usage 2020-09-08 04:53:29 -05:00
RadWolfie e7be2435c2 xbox: add missing xbox types for dsound 2020-09-08 04:53:25 -05:00
Luke Usher 6111fc9fdb
Merge pull request #1957 from NZJenkins/res_scaling
CopyRects accounts for host resource scaling
2020-09-02 13:44:26 +01:00
Anthony Miles 5272b1de12 Reduce aliasing in CopyRects 2020-09-02 23:29:47 +12:00
Anthony Miles fc655cdca5 CopyRects accounts for host resource scaling
Fixes Crash Tag Team Racing resolution scaling issue
2020-09-02 23:05:23 +12:00
Luke Usher ee6a61c364
d3d: apply aspect ratio correction to the backbuffer (#1956)
* d3d: apply aspect ratio correction to the backbuffer

* d3d: optimise aspect ratio correction + allow run-time aspect change (eg: dashboard)

* d3d: fix typo

* d3d: fix borders on aspect ratio change + apply aspect ratio correction to FMV

* d3d: fix indenting in SetAspectRatioScale

* d3d: add comment to explain clear
2020-09-02 04:45:04 -05:00