Commit Graph

6556 Commits

Author SHA1 Message Date
zilmar 1edb5debdf Core: have CRecompiler::RecompilerMain_VirtualTable handle PC as 32bit and clean up recompiler memory reset 2025-02-27 20:47:37 +10:30
pcca-matrix 9034bc6fdc
Fix: NRage plugin gets stuck in initialization in certain cases (#2464)
* 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.

* N-Rage: Fix memory leak in GetN64ButtonArrayFromXAnalog and GetN64ButtonNameFromButtonCode

Replaced dynamic allocations (new[]) with static buffers to prevent memory leaks.
2025-02-21 12:17:15 +10:30
Fanatic-64 23ff3d9042
Upgrade zlib to version 1.3.1 (#2448) 2025-02-21 12:15:52 +10:30
Fanatic-64 70c44965b0
CIC improvements (#2455)
* Add CIC CRCs for iQue Player games

* Give proper name to 64DD IPL US CIC
2025-02-21 12:13:52 +10:30
Daniel Nylander 1342196edd
Updated Swedish translation (#2458)
* Update Swedish.pj.Lang

* Update Swedish.pj.Lang
2025-02-21 12:13:02 +10:30
Will Fowler 59cdea9db9
Various Widescreen Enhancement Codes (#2459)
* Add 21:9 Ultrawide Enhancement for Banjo-Kazooie.

* Add Diddy Kong Racing, Mario Kart 64 and Super Mario 64.
2025-02-21 12:12:46 +10:30
Fanatic-64 32910e2281
Improve alignment of UI elements (#2462) 2025-02-21 12:11:49 +10:30
Fanatic-64 c7f758bbd3
Remove unused cheat context menu entries (#2463) 2025-02-21 12:11:38 +10:30
RedBlackAka e2e1766c82
Clean up Windows Start Menu entry (#2465)
Cleans up the Windows Start Menu entry for the Windows installer.

Having an uninstall shortcut is obsolete and an unclean practice in Windows 10+. Same for support. This change makes Project64 directly appear on the Start Menu, not requiring further clicks to expand and making the appearance clean.
2025-02-21 12:09:56 +10:30
zilmar daa8dbc833 core: reset m_InstructionRegion on R4300iOp::ExecuteOps 2025-02-21 12:00:41 +10:30
zilmar 7eaf1c4ba3 Core: do not write back rt in CX86RecompilerOps::CompileLoadMemoryValue on exception 2025-02-21 11:13:54 +10:30
zilmar 5d21bf80b9 core: fix up missing exception check in CX86RecompilerOps::SPECIAL_DIV 2025-02-21 06:15:07 +10:30
zilmar fa57ce7fb8 core: make CX86RecompilerOps::SPECIAL_JALR handle 64bit PC 2025-02-20 13:25:44 +10:30
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