Commit graph

5287 commits

Author SHA1 Message Date
RadWolfie
4d9151ca26 rtl: remove unnecessary double setter in RtlInitUnicodeString 2023-12-20 09:31:35 -06:00
RadWolfie
1f1d1ac631 rtl: fix RtlCompareString and RtlCompareUnicodeString to match with kernel test suite 2023-12-17 20:50:46 -06:00
RadWolfie
e5043dbc05 fix UNICODE_STRING's Buffer variable type issue 2023-12-17 20:49:10 -06:00
RadWolfie
a2fb41856d kernel: fix RtlWalkFrameChain according to xbox kernel test suite failed test 2023-12-17 19:02:20 -06:00
RadWolfie
b09d3ca69a kernel: update RtlAnsiStringToUnicodeString to include error log returns 2023-12-17 11:41:12 -06:00
NZJenkins
4808be65c4
Slightly reduce build time (#2437) 2023-10-16 08:51:56 +02:00
Jack Chen
67f21d5c30 reset subr_active flag to indicate we've returned from any COMMAND_TYPE_CALL command.
NV2A used COMMAND_TYPE_JUMP_LONG to return from COMMAND_TYPE_CALL.
Otogi uses lot's of COMMAND_TYPE_CALL, this should inprove the pushbuffer handling.
2023-09-03 20:42:07 +08:00
RadWolfie
a8f6d0496e kernel: fix non-ansii file path conversion for reboot process 2023-03-08 18:17:07 -06:00
RadWolfie
ef3439e46f d3d8: fix GTA: SA bug and add LTCG patch for D3DDevice_DrawVertices variant
Plus other variant LTCG patches that only does logging. And symbol renames.
2023-03-06 05:47:39 -06:00
ergo720
ed8a6124e4
Merge pull request #2416 from ergo720/dpc_recursion_fix
Dpc recursion fix
2023-03-02 23:32:30 +01:00
ergo720
062752e1a7 Review remarks 2023-03-02 22:53:18 +01:00
ergo720
99ab34ac82 Fixed dpc recursion bug 2023-03-02 14:59:10 +01:00
RadWolfie
8e0df988a8 kernel: fix hacked windows handle check to bypass special handle of current process 2023-03-01 17:04:42 -06:00
ergo720
58041c95b4 Clean up unused dpc event member variable 2023-03-01 22:43:42 +01:00
ergo720
d0890d588d Fixed a bug in KeSetDisableBoostThread 2023-03-01 17:10:24 +01:00
ergo720
4821a72b6f Set/query the priority of the requested thread, instead of the current one in KeQueryBasePriorityThread and KeSetBasePriorityThread 2023-03-01 16:48:30 +01:00
RadWolfie
b2f05b8b0b lib: sync XbSymbolDatabase 2023-02-27 04:37:02 -06:00
ergo720
111728f170
Merge pull request #2408 from LukeUsher/avoid-region-patching
cxbxkrnl: avoid region patching loaded titles
2023-02-10 18:35:28 +01:00
RadWolfie
f4488c0270 fix false positive emulation is either still running or stopped 2023-02-10 07:16:12 -06:00
Luke Usher
65a5ad6591 cxbxkrnl: avoid region patching loaded titles
While it sounds ideal from a UX standpoint, region patching does break a number of
titles that would otherwise work.

Instead, show a warning that it may not be compatible with instructions on how to
configure region settings in eeprom.

Allow the user to attempt to run the title anyway, if the game does not do it's own
region checking, it will most likely just work regardless.
2023-02-07 22:08:31 +00:00
Luke Usher
fe9a706a8e xbe: fix version number formatting 2022-11-19 16:06:12 +00:00
Luke Usher
8ac5d14cd2
Merge pull request #2401 from medievil1/new-master
correct hemisphere formula
2022-10-13 14:39:59 +01:00
Silent
f7c09ddc4f
Remove Int32x32To64 as it's potentially harmful 2022-10-06 23:07:37 +02:00
RadWolfie
5f58ae918c input: have libusb_claim_interface's return actually give err number than comparsion check for non-zero 2022-10-05 16:46:17 -05:00
RadWolfie
f17b7f7fa6 input: check for error from libusb_open and report as device invalid 2022-10-05 16:40:39 -05:00
RadWolfie
4dccf6d5b9 input: don't override device's vendor id, expected to do comparsion instead 2022-10-05 06:42:56 -05:00
medievil1
6bbe6cefe8 added notes
changed a couple things around and added notes

correct hemisphere formula

correct one entry

make twointoone shorter

Per PatrickvL's suggestion and code
2022-09-25 19:32:25 -04:00
PatrickvL
547c3ae663
Merge pull request #2398 from LukeUsher/xxh3-hash 2022-09-24 07:26:34 +02:00
jarupxx
caae99952c Fixed a Folder select dialog 2022-09-24 04:51:55 +09:00
Luke Usher
aeeb67dc6a hasher: use xxh3 exclusively 2022-09-14 13:51:05 +01:00
medievil1
3c78dd29a7 correct mod instruction 2022-09-11 13:22:29 -04:00
PatrickvL
42ff76ce0f
Merge pull request #2389 from medievil1/upsteam-master 2022-08-26 22:26:56 +02:00
medievil1
a2a4fb35a4 xdm, xdd, xmd component count fix
all 3 use 3 components but on cxbx they were using 4
discovered by NzJenkins
test case Morrowind water

cosmetic fix

:P

changed per Patrick's request

reinsert line accidentally deleted

final change, move xdot

needed one more cosmetic space change

more fornatting
2022-08-26 15:37:14 -04:00
medievil1
f570c05e95 fix up
REMOVE HACK comment
REMOVE extra white space
2022-07-17 23:58:16 -04:00
medievil1
0b76da7c00 per review remarls
moved the case to the else statement and added a log entry
2022-07-17 23:38:41 -04:00
medievil1
9ee5b45b88 typo fix 2022-07-17 10:16:27 -04:00
medievil1
ee7be21bbb fix dot_str_cube not kicking in
when a cube texture is used and dot_str_3d is the texture mode, it is suppose to be flagged by combiner for change to dot_str_cube.
2022-07-17 10:10:12 -04:00
Luke Usher
56610cd899 Fix heap corruption in NVNetDevice::GetMacAddress
This could cause startup of CxbxR to fail for some users.
2022-07-12 09:40:27 +01:00
Luke Usher
9fab1d5bed
Merge pull request #2386 from LukeUsher/fix-multi-xbe-vfs
emufile: fix multi-xbe titles when running through xbox-iso-vfs
2022-07-11 14:22:49 +01:00
PatrickvL
0043e45531
Merge pull request #2374 from NZJenkins/vsh-op-independence
Fix vertex shader op independence
2022-07-08 22:18:50 +02:00
Luke Usher
bc9cbec518
Merge pull request #2385 from ergo720/gui_xbe_crash
Fixed a crash in the gui when opening an xbe fails
2022-07-08 20:40:53 +01:00
Luke Usher
4edd3feb3e emufile: fix multi-xbe titles when running through xbox-iso-vfs
Prior to this commit, the relaunch path would become corrupted when running a game mounted with xbox-iso-vfs.
2022-07-08 20:37:32 +01:00
ergo720
0717c0166b Fixed a crash in the gui when opening an xbe fails 2022-07-08 13:38:52 +02:00
PatrickvL
16ffe3a80f
Merge pull request #2384 from LukeUsher/allow-skipping-faulty-instructions
EmuException: allow skipping of instructions that trigger unhandled exceptions
2022-07-08 13:21:15 +02:00
Luke Usher
5f3cfdeb77 address feedback 2022-07-08 11:37:48 +01:00
Luke Usher
4076a5b758 EmuException: allow skipping of instructions that trigger unhandled exceptions.
In many cases, this will result in more instability, however, it is useful as a debugging tool:
some games that would otherwise be working are let down by a *single* invalid read or write, and skipping
over that instruction allows the game to be played.

This can enable further research/debugging within the title.
2022-07-06 09:21:23 +01:00
ergo720
ce55fe8627 Fixed slowness in Steel Battalion caused by WaitApc 2022-07-05 22:24:12 +02:00
Luke Usher
b2f63918de
Merge pull request #2382 from jackchentwkh/vsh_cpu_2
Implement HLE D3DDevice_RunVertexStateShader()
2022-07-05 15:57:43 +01:00
Luke Usher
f6274cc59f Revert "fix order of thread initialization"
This reverts commit 3a50d7e136.
2022-07-05 15:29:55 +01:00
PatrickvL
8546d7c10d EMUPATCH(D3DDevice_RunVertexStateShader):
added LOG_TEST_CASE precondition checks, replacing an assert
simplified implementation (no need for an intermediate variable)
commented some notes and future suggestions
2022-06-30 11:33:29 +02:00