Commit graph

1883 commits

Author SHA1 Message Date
Richard Goedeken
b1dc082429
Merge pull request #1094 from orbea/SDL2
Require SDL2
2024-11-02 21:07:45 -07:00
orbea
dea7dfd603 api: require SDL2 2024-10-27 10:23:33 -07:00
orbea
542a3723b2 main: require SDL2 2024-10-27 10:23:33 -07:00
Richard Goedeken
91c4211f54 fix logical errors in code identified in github issue #1091 2024-10-23 19:08:52 -07:00
Clownacy
52ee24943c
Fix operator precedence in some big-endian code.
This matches the original version of the code (9644b14f96). In C, the '&' operator occurs after the '^' operator, meaning that the result of `i & 1 ^ 1` is always 0.
2024-09-03 14:19:47 +01:00
Richard Goedeken
b0d68c20f4 update version and release info for v2.6.0 release 2024-07-14 17:10:26 -07:00
Richard Goedeken
6f3a0fe305
Merge pull request #1086 from alice-mkh/wip/alice/ootmm
Backport mupen64plus-libretro-nx dynarec fix for OoTMM randomizer
2024-07-12 19:37:05 -07:00
Richard Goedeken
7690472e31
Merge pull request #1085 from alice-mkh/wip/alice/save-fix
savestates: Only notify SAVECOMPLETE once save is actually done
2024-07-12 19:31:30 -07:00
M4xw
ea7baa45fc Fix new_dynarec uncached code execution 2024-07-05 18:20:59 +04:00
Alice Mikhaylenko
8b75435b6d savestates: Only notify SAVECOMPLETE once save is actually done
Fixes https://github.com/mupen64plus/mupen64plus-core/issues/1031
2024-07-02 19:12:06 +04:00
Rosalie Wanders
808de5fd61 Add support for new PIF ROM and reset PIF 2024-06-24 12:16:20 +02:00
Richard Goedeken
5340dafcc0 fix potential RSP DMA buffer overflows, based on change from parallel-n64 2024-05-20 22:31:07 -07:00
Rosalie Wanders
d5f1267a67 Correct ROM file size checks 2024-05-04 15:08:25 +02:00
GhostlyDark
d8cb2faa9e Fixed rsp_core.c related porting mistakes 2024-05-03 16:52:54 +02:00
GhostlyDark
b272296ba6 Fixed contents of DMA related registers after a DMA completes
Co-Authored-By: Matt Pharoah <mtpharoah@gmail.com>
2024-05-03 16:52:54 +02:00
GhostlyDark
d6a2668b6e Fixed behaviour when both setting and clearing STATUS bits at the same time
Co-Authored-By: Matt Pharoah <mtpharoah@gmail.com>
2024-05-03 16:52:54 +02:00
GhostlyDark
c65c330381 Fixed read/write to RSP PC register from CPU
Co-Authored-By: Matt Pharoah <mtpharoah@gmail.com>
2024-05-03 16:52:54 +02:00
GhostlyDark
07d85c1b21 Fixed incorrect handling of BREAK bit in the RSP status register
Co-Authored-By: Matt Pharoah <mtpharoah@gmail.com>
2024-05-03 16:52:54 +02:00
Richard Goedeken
860fac3fba
Merge pull request #1060 from orbea/new_dynarec
src: fix the new_dynarec with musl
2024-01-24 22:09:35 -08:00
orbea
1639bb0df1 src: fix the new_dynarec with musl
This is needed on other platforms too, but may be implicit in some where
including it again is harmless.
2024-01-23 18:30:52 -08:00
269261
5304acf2a6 Add missing ROM file size checks 2024-01-22 09:02:05 +01:00
Richard Goedeken
20615a1264
Merge pull request #1057 from Clownacy/master
Fix Big-Endian Incompatibilities
2024-01-12 20:22:58 -08:00
Clownacy
469d4eb255
Oh right, apply the previous bugfix to this too.
This doesn't appear to break anything, and it seems like the correct thing to do.
2024-01-10 17:48:56 +00:00
Clownacy
0d2c3096e6
Fix "IS Viewer" big-endian incompatibility.
When printing a game's debug messages, this code was causing the text to be byteswapped.
2024-01-10 17:42:22 +00:00
Clownacy
c4591b7f20
Fix big-endian incompatibility in float-related CPU code
This would cause all 3D to break in games like Ocarina of Time and Mario Kart 64, being reduced to a few unmoving triangles in the middle of the screen.
2024-01-10 17:39:55 +00:00
Hugo Locurcio
68ddbecc1e
Increase maximum allowed overclocking factor to 20
This can be used for particularly demanding game sections when
coupled with 60 FPS cheats to ensure greater framerate stability,
at the cost of increased CPU utilization.

For reference, 1964GEPD supports values up to 18. Even with an overclock
factor of 18, there is still ample room to run above fullspeed on an i9-13900K
on Perfect Dark, so a value of 20 should run well on today's high-end CPUs.
2024-01-02 23:19:36 +01:00
Richard Goedeken
ae752c2b40 add missing header for int abs(int) function 2023-10-05 20:43:07 -07:00
Rosalie Wanders
945718c465 Fix incorrect OSAL_DIR_SEPARATORS when compiling using mingw 2023-10-01 13:38:46 +02:00
Logan McNaughton
080b2b8e34 use CS4 for netplay DSCP 2023-09-13 09:01:16 +02:00
Rosalie Wanders
6f926b6a90 use memchr instead of strchr in is_viewer.c 2023-08-26 23:08:26 +02:00
Alice Mikhaylenko
ad347c3c74 rom: Fix closing the ROM database
Otherwise we get a use after free when loading ROMs after a core shutdown + startup.
2023-08-21 03:34:16 +04:00
Richard Goedeken
5dc05dfba9
Merge pull request #1019 from flagrama/patch-1
Fix IS64 Truncating Lines
2023-08-18 19:00:52 -07:00
Richard Goedeken
030c3d27cb
Merge pull request #1021 from loganmc10/netplay-fixes
netplay fixes from simple64
2023-08-18 18:59:40 -07:00
Rosalie Wanders
29e7414f02 new_dynarec: fix FPU crashes 2023-08-14 21:35:52 +02:00
Rosalie Wanders
761b34443a Add Video Extension functions to support Vulkan 2023-08-03 12:34:28 +02:00
Logan McNaughton
fd1ff0012e netplay fixes from simple64 2023-08-01 21:09:11 -06:00
Vincent Cunningham
652fbf9d5a
Update is_viewer.c
process new lines in buffer to prevent empty debug messages without losing data.

current method wipes out everything after a new line if a new line is not placed at the end of the string.
2023-07-27 03:43:34 -04:00
Richard Goedeken
ea64cb660b
Merge pull request #1014 from Rosalie241/state-screenshot
Add M64CORE_SCREENSHOT_CAPTURED to m64p_core_param
2023-07-26 19:42:28 -07:00
Andrew Udvare
2b0db02b05 Fix building with libbfd >=2.39 2023-07-17 18:17:43 -04:00
Rosalie Wanders
b7da740dc8 Add M64CORE_SCREENSHOT_CAPTURED to m64p_core_param 2023-07-17 14:53:01 +02:00
Rosalie Wanders
c2a5d01018 Change IPL3 memory detection error to a warning 2023-07-11 13:56:57 +02:00
Richard Goedeken
eb59aa8bfa fix a bunch of memory leaks 2023-07-10 19:34:44 -07:00
Logan McNaughton
0484755f44 Ensure out of bounds RDRAM reads 0 2023-07-11 00:05:31 +02:00
Richard Goedeken
e839b06df8
Merge pull request #1001 from Rosalie241/n64-systemtest
Interpreter accuracy improvements
2023-07-07 18:43:08 -07:00
Rosalie Wanders
eff3231cc2 Implement unused RDRAM address range 0x00800000-0x03EFFFFF 2023-06-20 12:29:02 +02:00
Rosalie Wanders
1cfc935355 Add cp0 and cp2 latch to save states 2023-06-13 17:16:19 +02:00
Rosalie Wanders
9fec11b766 Remove store_load_exception from cp0.h 2023-06-12 23:22:00 +02:00
Rosalie Wanders
c239f3b4f2 Fix dynarec build 2023-06-12 23:03:16 +02:00
Rosalie Wanders
9d5d52a035 Port accuracy changes to cached interpreter 2023-06-12 22:55:13 +02:00
Rosalie Wanders
e1f4251569 Add ACCURATE_FPU=1 option to Makefile 2023-06-11 19:54:26 +02:00