Commit Graph

577 Commits

Author SHA1 Message Date
irisz64
8549d5a21c get rid of fmt dependency since we are on C++23 2025-07-22 11:33:42 +02:00
irisz64
559e3eaa6e whatever 2025-07-08 16:15:39 +02:00
irisz64
c51725e42f we can emit the instruction inside the delay slot before actually emitting the branch 2025-07-08 09:06:49 +02:00
irisz64
d072d37733 Actually mark scratch registers + comment out branches for now + rework compilation loop a bit 2025-07-07 15:54:04 +02:00
irisz64
f91b0d0242 [JIT] implement setPC like regs 2025-07-07 11:19:36 +02:00
irisz64
6e69a37a62 register constant check optimization + disable branch likely's for now 2025-07-07 10:36:16 +02:00
irisz64
dd6c28c9d9 should do like interpreter here 2025-07-06 21:51:50 +02:00
irisz64
46c2aa2994 i'll have to rethink the branches and jumps 2025-07-06 20:31:42 +02:00
SimoneN64
451ff7c4aa forgot to disable this line on arm 2025-07-06 08:14:51 +02:00
SimoZ64
d6b78232a6 of course if the reg is marked constant, actually read its value at compile time, not emit code to read it at run time, idiot 2025-07-04 21:57:50 +02:00
irisz64
444e2f56a3 Some JIT fixes 2025-07-04 17:07:54 +02:00
irisz64
92eff7f198 Make CPU respect chosen option (JIT, etc) 2025-07-03 10:52:35 +02:00
irisz64
d72cad61b1 small QoL 2025-07-01 21:21:14 +02:00
SimoZ64
4f618d35e0 remove stupid abstraction 2025-06-28 13:48:18 +02:00
SimoZ64
1be357e607 gamepad works now finally. Ready for merge in dev 2025-06-27 12:18:44 +02:00
irisz64
7ca337ca48 switch to INI for settings (easier), make settings a singleton thingy, slightly simplify core pause/stop/reset. Drop support for remappable inputs for now 2025-06-27 00:50:47 +02:00
irisz64
4e7afcd49e remove json lib 2025-06-26 23:33:03 +02:00
SimoZ64
891c722b33 Next step is actually using the user config for input 2025-06-02 20:07:06 +02:00
irisz64
4f596f5856 Fix crash with event watchers + handle SDL loop better + shut down more appropriately 2025-05-27 15:30:36 +02:00
irisz64
ab44f6d980 Make these event watchers 2025-05-27 08:42:41 +02:00
irisz64
67c761d34b make it single threaded for now...
Hmm don't quite get it

idfk
2025-05-26 17:21:53 +02:00
irisz64
2152a73cce More GUI work 2025-05-23 15:57:49 +02:00
irisz64
3b28de6afc What a dumb bug... 2025-05-23 15:53:32 +02:00
irisz64
9fd6c585d6 Settings widget mostly works 2025-05-23 10:15:25 +02:00
SimoZ64
1de29dd76d Next try to make the settings modal work 2025-05-22 23:39:05 +02:00
SimoZ64
ca21e57835 Easier solution: only run the actual emulation logic in the child thread; call Parallel-RDP in main thread. Still needs sync with RDRAM buffer (the GPU crashes now LMAO) 2025-05-22 23:18:39 +02:00
irisz64
326b4b43cd It renders something, crashes because ImGui exhausts the display list. Need to find a better way for thread sync. Message queue? 2025-05-22 09:16:58 +02:00
SimoZ64
722a0e98c0 Some progress 2025-05-22 00:30:33 +02:00
SimoZ64
8fa341bf72 Upgrade to C++23 2025-05-20 17:47:52 +02:00
SimoZ64
be711bf5b3 doesnt quite work yet 2025-05-19 07:01:26 +02:00
SimoZ64
6cf2e7ab70 can't use shared_ptr on SDL_Window 2025-05-07 17:22:01 +02:00
SimoZ64
c175d58f03 start infrastructure for SDL window 2025-05-07 16:11:46 +02:00
SimoZ64
4d10495c88 input settings should be complete now 2025-05-07 16:11:36 +02:00
SimoZ64
3759be86a1 smaller imgui impl improvements 2025-05-06 14:12:35 +02:00
SimoZ64
dcdf961988 start working towards imgui + sdl + vulkan init 2025-05-06 14:12:13 +02:00
SimoZ64
b4c5c7a3e4 Compiles! 2025-05-05 22:15:45 +02:00
SimoZ64
730f5bed24 more wrappers and helpers! 2025-04-29 22:40:07 +02:00
SimoZ64
b319255178 more work towards a clean code 2025-04-28 23:51:34 +02:00
SimoZ64
f57e15f4de lay down basic imgui wrappers/helpers 2025-04-28 21:22:27 +02:00
SimoZ64
3f14a99ea0 skjadfahasdf 2025-04-28 15:53:47 +02:00
SimoZ64
0cb479dda8 comment out bunch of qt things 2025-04-16 15:20:12 +02:00
SimoZ64
a27ccf87d8 Basic initial work to replace Qt 2025-04-15 22:11:52 +02:00
SimoZ64
3ab403b8bd add cflags 2025-04-15 14:09:43 +02:00
SimoZ64
152cdb0197 start 2025-04-15 09:33:30 +02:00
SimoZ64
541eb8b772 Fix SIMD defines not being defined... 2025-04-14 20:30:31 +02:00
SimoZ64
95bf6d292b [JIT]: Fix compilation 2025-02-26 10:40:27 +01:00
SimoneN64
7d27351609 [Apple Arm] Disable JIT stuff under ARM64 for now 2025-02-09 20:53:17 +01:00
SimoneN64
921956268e [Apple Arm] fix remaining issues. Now to figure out how to handle the JIT situation... 2025-02-09 20:38:25 +01:00
SimoneN64
e57edb6a9a [Apple Arm] introduce sse2neon 2025-02-07 19:32:13 +01:00
SimoneN64
38057b77d5 start support for MacOS 2025-02-06 23:42:57 +01:00