Commit Graph

6544 Commits

Author SHA1 Message Date
pcca-matrix f25e86792d Fix: NRage plugin gets stuck in initialization in certain cases
The function wscanf was incorrectly used to parse VID_ and PID_ values from a string, causing failures in device detection.
wscanf expects input from stdin, whereas in this case, the device ID string is stored in memory.

Using swscanf ensures correct parsing from memory instead of waiting for stdin

This fixes the issue where XInput devices not being detected properly at plugin init.
2025-02-14 14:54:23 +01:00
zilmar 5e029ecf6a Core: CX86RecompilerOps::CompileLoadMemoryValue some work on it generating an exception from invalid load address 2025-02-13 22:20:00 +10:30
zilmar bd38e7f2d6 Core: In CX86RecompilerOps::SPECIAL_JR store PC as 64bit 2025-02-13 22:15:20 +10:30
zilmar 9d28d9cf28 core: More work in making sure the Compiler sets 64bit PC 2025-02-13 16:29:25 +10:30
zilmar 1debcd1ca5 Core: In CX86RecompilerOps::CompileExit, make sure writing 64bit PC 2025-02-13 16:08:11 +10:30
zilmar a82c11b8bb Core: When syncing CPU make sure PC matches on 64bit address 2025-02-13 15:57:53 +10:30
zilmar 20f3e5e123 Core: In CX86RecompilerOps::COP1_S_CVT, CX86RecompilerOps::CompileCheckFPUResult32 set softfloat_exceptionFlags to the FPU exception value 2025-02-13 15:55:16 +10:30
zilmar a07f6eaf90 Core: In CX86RecompilerOps::COP0_MT update the count register when writing to Count 2025-02-13 12:24:20 +10:30
zilmar a5a2c8cf6d Core: in CRecompiler::RecompilerMain_Lookup when TriggerAddressException has occured, update the PC before checking if valid 2025-02-13 12:22:52 +10:30
zilmar 8ae9d7b9ff Core: In R4300iOp::ExecuteOps only update UpdateInstructionMemory at the start of the loop 2025-02-13 12:19:22 +10:30
zilmar b8a514a483 core: Create instruction region to update after a block 2025-02-06 16:09:31 +10:30
zilmar 4a68941c08 Core: Speed up some debugger usage in interepter if not being used 2025-02-06 12:24:39 +10:30
zilmar d918225639 RSP: Make sure HLE audio is on for x64 2025-02-06 08:35:14 +10:30
zilmar 3a0c4f5da6 core: Fix CPU % numbers 2025-02-06 07:55:12 +10:30
zilmar fd062a288a Core: Convert interpter FPU ops to use softfloat 2025-02-04 07:15:24 +10:30
zilmar 00a978ca1b Core: add edge condition test to DDIV in interpter 2025-01-31 06:18:36 +10:30
Daniel Nylander 4521389404
Update Swedish.pj.Lang (#2456) 2025-01-26 23:57:08 +10:30
Fanatic-64 ec6d9336a6
Fix wrong initial texture and log directories (#2454) 2025-01-16 22:31:27 +10:30
Fanatic-64 5cd2f0253b
Fix wrong setting names in Project64.cfg for LogRomHeader and LogUnknown (#2452) 2025-01-08 23:03:29 +10:30
zilmar c7d8a70a4d Core: fix jump in CX86RecompilerOps::CompileSystemCheck 2024-12-27 09:02:37 +10:30
zilmar f014691592 Common: Fix CPath::SelectFile 2024-12-26 15:05:19 +10:30
zilmar bfa3788562 Core: CX86RecompilerOps::COP1_D_Opcode fix return type of floating point register 2024-12-26 14:29:52 +10:30
zilmar 3c7e71adca Core: Fix up CX86RecompilerOps::COP1_D_Opcode for the registers it is using 2024-12-26 14:16:26 +10:30
zilmar fc79cb0344 Core: Add DwordLower for cvt.w 2024-12-26 09:35:07 +10:30
zilmar 7e74b98d5b Core: Fix up labels in CX86RecompilerOps::COP1_S_CVT 2024-12-19 21:59:42 +10:30
zilmar 57f278416e core: better handling of fpu registers with COP1_S_Opcode 2024-12-19 19:09:31 +10:30
zilmar 13a974e687 Core: in CX86RecompilerOps::COP1_CT ignore write to other registers 2024-12-19 09:58:30 +10:30
zilmar fba1c4bc3b Core: Fix up bug in CX86RecompilerOps::SPECIAL_AND 2024-12-19 09:57:25 +10:30
zilmar 473aeba2cf Core: Fix order of value in call to CMipsMemoryVM::SD_VAddr32 in recompiler 2024-12-12 21:22:32 +10:30
zilmar 5d64b3d920 Core: Better handling of Storing non 32bit values to non memory 2024-12-12 16:50:36 +10:30
zilmar b8ee9f8728 RSP: Add #include <intrin.h> to RSPInfo.cpp for 64bit 2024-12-12 14:17:07 +10:30
zilmar 3164caf2d0 Core: allow Store/load ops be forced to 32bit version 2024-12-08 11:15:39 +10:30
zilmar 5a5ea92f3f fix resource issues 2024-12-07 08:52:01 +10:30
zilmar b9fe8e3657 Fix compile issues 2024-12-07 07:04:22 +10:30
zilmar 8392ea5c0f Core fix up load states 2024-12-06 21:50:31 +10:30
zilmar a045a4fcd4 Core: fix accidental changes to UIResources.rc 2024-12-06 11:37:42 +10:30
zilmar c6b41da926 Add Overclock modifier to Defaults panel 2024-12-05 17:30:59 +10:30
zilmar 77cd679756 Core: Fix a bug in CX86RecompilerOps::SPECIAL_DIV 2024-12-05 17:05:52 +10:30
zilmar fc1210aac5 Core: Do not allow CX86RecompilerOps::SPECIAL_DSRL32 and CX86RecompilerOps::SPECIAL_DSRA32 to write to R0 2024-12-05 11:25:20 +10:30
zilmar 1e4ab04121 Core: Fix up CX86RecompilerOps::SPECIAL_DSUB when rd == rt 2024-12-05 11:06:42 +10:30
zilmar 04c1c3d024 Core: Fix up CX86RecompilerOps::SPECIAL_DADD 2024-12-05 10:03:45 +10:30
zilmar 4366703f28 Try to fix appveyor.yml 2024-11-28 16:56:04 +10:30
zilmar 1f3ef6d505 Core: CX86RecompilerOps::SPECIAL_NOR Ignore write to r0 2024-11-28 15:54:36 +10:30
zilmar 95015302d6 Core: Have CX86RecompilerOps::SPECIAL_XOR treat R0 as 64bit constant 2024-11-28 15:38:54 +10:30
zilmar a3c777ed84 Core: Have CX86RecompilerOps::SPECIAL_AND unmap the register on const write 2024-11-28 15:14:26 +10:30
zilmar 0de0bea07a Core: Ignore write in CX86RecompilerOps::SPECIAL_OR 2024-11-28 12:37:42 +10:30
zilmar 8d69671e93 Core: CX86RecompilerOps::ADDIU should not ignore when not 32bit mapped 2024-11-28 12:29:35 +10:30
zilmar 52d904702f Core: With CONST64 CX86RegInfo::WriteBackRegisters might not write the high 32bit correct 2024-11-28 11:39:41 +10:30
zilmar d5367d9291 Core: Better handling of SW with address not sign extended 2024-11-28 11:02:38 +10:30
zilmar fd05d9f42f core: if lwl or lwr, in CX86RecompilerOps::CompileLoadMemoryValue, make sure that we are loading rt 2024-11-21 21:33:42 +10:30