Commit Graph

807 Commits

Author SHA1 Message Date
irisz64
4a98610f3c That function is incorrect other than useless. Just use our variable that we update periodically anyway 2025-09-01 16:57:35 +02:00
irisz64
123a089598 Simplify FireException a lot 2025-09-01 16:44:04 +02:00
irisz64
a636f4dc60 Apparently ERET will throw a COP unusable exception when non-kernel mode. 2025-09-01 12:06:01 +02:00
irisz64
bd4a692899 Small TLB cleanup 2025-09-01 12:05:25 +02:00
irisz64
5444df993c Instruction struct rewrite in RSP too now 2025-09-01 09:47:07 +02:00
irisz64
e795c256f2 Return and not break, ops 2025-09-01 09:24:20 +02:00
irisz64
b0e65ce0aa Make these part of RSP class. 2025-09-01 09:17:28 +02:00
irisz64
b8d691efb8 This rewrite is working (tested with Super Mario 64) 2025-08-29 10:57:01 +02:00
irisz64
dd98e19c95 Continue big Instruction struct rewrite 2025-08-28 09:25:22 +02:00
SimoZ64
68620ce893 start implementing instruction union for cleaner switches and stuff 2025-08-16 22:00:01 +02:00
SimoZ64
9385de1081 Small things 2025-08-13 13:59:16 +02:00
SimoZ64
78db98912a Merge branch 'dev' of git.sr.ht:~irisz64/kaizen into dev 2025-08-13 13:58:36 +02:00
irisz64
1057265aac Create StepRSP and StepCPU functions (cleans up the loop a little) 2025-08-05 08:57:16 +02:00
irisz64
cdb826ba8e Use first detected gamepad 2025-08-03 22:32:07 +02:00
irisz64
3da227613f Fix warnings 2025-08-03 22:30:55 +02:00
irisz64
3fb03c6aba Sorta works 2025-08-03 20:06:16 +02:00
SimoZ64
010bb5e0bb Mem and Regs not part of cpu anymore. 2025-08-01 21:05:11 +02:00
irisz64
812b905bdf This is just comfy I think 2025-08-01 17:44:34 +02:00
irisz64
c662c3ff20 Initial work on a ErrorData structure to use globally 2025-08-01 17:43:42 +02:00
irisz64
cc1078d9e8 These can be Utility functions 2025-08-01 16:21:18 +02:00
irisz64
79de6f20b6 Tooltip in comment now works! 2025-07-31 17:25:22 +02:00
irisz64
1d117bf96b Initial work for comment detail in debugger 2025-07-31 14:42:43 +02:00
irisz64
cad486e1b9 No need for const-referencing here 2025-07-31 09:29:10 +02:00
irisz64
0d9a2fc584 Tidy up Debugger + breakpoints initial work 2025-07-30 11:30:39 +02:00
SimoZ64
ff4cd66bdb Things to neat up that I noticed with Hazel <3 2025-07-29 22:46:34 +02:00
SimoZ64
01d05ca8fd Small tidy 2025-07-29 22:39:38 +02:00
irisz64
3061334004 Huge refactor: Make Core a singleton 2025-07-29 11:08:05 +02:00
irisz64
e0e887ce90 Have a default path for saves 2025-07-29 09:34:28 +02:00
SimoZ64
bf330959e8 Start work on a debug view 2025-07-28 22:46:04 +02:00
irisz64
86c30f36e2 Make PIF stuff a little less annoying to read 2025-07-28 17:44:57 +02:00
irisz64
ad9814bb3c Make Scheduler a singleton 2025-07-28 13:44:13 +02:00
irisz64
9dec9c03b4 Small RDP accuracy improvement 2025-07-26 00:26:40 +02:00
irisz64
ef05bcfac6 Fix compilation on Linux + minor nits 2025-07-26 00:26:29 +02:00
irisz64
8fbac50131 Small mistake: MIO lib not properly linked on OS != Windows 2025-07-25 23:13:48 +02:00
irisz64
8406239d85 Solve warnings (at least those under my control) 2025-07-25 15:43:57 +02:00
irisz64
741b9adfbf [Mem] New handlers using if-range checks instead of switch 2025-07-24 15:49:13 +02:00
SimoZ64
3b5ed1a160 Micro-optimization: RDP access wrappers are now force inlined 2025-07-23 22:31:56 +02:00
SimoZ64
ccc63c3dbf Fix: Logic for unlocking framerate and fast-forwarding wasn't really sound. 2025-07-23 22:15:43 +02:00
SimoZ64
0ad1311d7b Add Fast-Forward key + Unlock-Framerate checkbox 2025-07-23 22:08:28 +02:00
SimoZ64
27dc6cfddf Small optimizations: Enable LTO + don't make those two functions virtual in CPU. Around 3 fps improvement 2025-07-23 22:08:10 +02:00
irisz64
129267256e Merge branch 'dev' of git.sr.ht:~irisz64/kaizen into dev 2025-07-22 17:06:06 +02:00
irisz64
a3b4e2f374 minor perf improvements 2025-07-22 17:05:55 +02:00
irisz64
b206234fd0 make log macros more concise 2025-07-22 16:40:40 +02:00
irisz64
46aba5eb99 remove discord rpc 2025-07-22 16:24:07 +02:00
irisz64
f7ec6df924 use a little more c++20/23 features 2025-07-22 16:07:00 +02:00
irisz64
a5bb2c8b0a make build from root dir as to simplify where the binary ends up being 2025-07-22 15:35:37 +02:00
irisz64
5443776239 useless variables 2025-07-22 12:49:19 +02:00
irisz64
4bcfd18d0b get rid of NFD dependency since im using SDL3 and its builtin functionality 2025-07-22 12:47:31 +02:00
irisz64
3520a309ed ew global variable 2025-07-22 12:46:50 +02:00
irisz64
0d48f2c991 nesting shit 2025-07-22 11:34:08 +02:00