Skip to content

Commit

Permalink
3rdParty: update mupen64plus-core
Browse files Browse the repository at this point in the history
  • Loading branch information
Rosalie241 committed Jan 25, 2024
1 parent 84681fd commit 7e239ae
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Source/3rdParty/mupen64plus-core/.gitrepo
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
[subrepo]
remote = [email protected]:mupen64plus/mupen64plus-core.git
branch = master
commit = 20615a1264382f981cbc022225966980fc456d49
parent = e68f2b91cd93c8fb4c86734a6f749e0318d5687b
commit = 860fac3fbae94194a392c1d9857e185eda6d083e
parent = 84681fdd0d326e400524c422f182f7fa60e6493f
method = merge
cmdver = 0.4.6
22 changes: 22 additions & 0 deletions Source/3rdParty/mupen64plus-core/data/mupen64plus.ini
Original file line number Diff line number Diff line change
Expand Up @@ -5128,6 +5128,11 @@ SaveType=SRAM
Players=4
Rumble=Yes

[20F5EEEE849DB44146AAFB1B97A857F6]
GoodName=F-ZERO X (U) [T+Por0.99_byftr]
CRC=485256FF CF6DF912
RefMD5=753437D0D8ADA1D12F3F9CF0F0A5171F

[3AE32658B839FFA3189E3CA84E0B884A]
GoodName=F-ZERO X (U) [f1] (Sex V1.0 Hack)
CRC=7E399849 03DAC1CD
Expand Down Expand Up @@ -5830,6 +5835,11 @@ Players=4
Mempak=Yes
Rumble=Yes
[0AC7A16F8AFCC03031835C89D095D7B9]
GoodName=Getter Love!! (J) [T+Eng1.01_ozidual]
CRC=CDDB4BDF 84E5EFAC
RefMD5=5270D98F9E67DC7EF354ECE109C2A18F
[3BE170E7E94A03BD4E36732EB137EE39]
GoodName=Getter Love!! (J) [b1]
CRC=489C84E6 4C6E49F9
Expand Down Expand Up @@ -6132,6 +6142,13 @@ GoodName=GoldenEye X
CRC=E8B3F63D E5A997B1
RefMD5=E03B088B6AC9E0080440EFED07C1E40F

[EA0E3E6AEFA58738A12906298373218B]
GoodName=GoldenEye 007 (UE) (Switch Online) [!]
CRC=DCBC50D1 9FD1AA3
Players=4
SaveType=Eeprom 4KB
Rumble=Yes

[9B8A7541D0234F4D97004ECBC216D9C2]
GoodName=HIPTHRUST by MooglyGuy (PD)
CRC=88A12FB3 8A583CBD
Expand Down Expand Up @@ -6243,6 +6260,11 @@ GoodName=Heiwa Pachinko World 64 (J) [!]
CRC=3E70E866 4438BAE8
Players=1

[78E2ED1DB5F90E2EA9C04771B27685BC]
GoodName=Heiwa Pachinko World 64 (J) [T+Eng1.0_Zoinkity]
CRC=3AE679E2 1A3C42DB
RefMD5=5E8539E037EEA88C5A2746F60E431C8D

[9D0D85E3A0C94B98D6404E8FC28E7B01]
GoodName=Heiwa Pachinko World 64 (J) [b1]
CRC=3E70E866 4438BAE8
Expand Down
3 changes: 2 additions & 1 deletion Source/3rdParty/mupen64plus-core/src/api/frontend.c
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,8 @@ EXPORT m64p_error CALL CoreDoCommand(m64p_command Command, int ParamInt, void *P
case M64CMD_ROM_OPEN:
if (g_EmulatorRunning || l_DiskOpen || l_ROMOpen)
return M64ERR_INVALID_STATE;
if (ParamPtr == NULL || ParamInt < 4096)
// ROM buffer size must be divisible by 4 to avoid out-of-bounds read in swap_copy_rom (v64/n64 formats)
if (ParamPtr == NULL || ParamInt < 4096 || ParamInt > CART_ROM_MAX_SIZE || ParamInt % 4 != 0)
return M64ERR_INPUT_ASSERT;
rval = open_rom((const unsigned char *) ParamPtr, ParamInt);
if (rval == M64ERR_SUCCESS)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h> // needed for u_int, u_char, etc
#include <assert.h>

#if defined(__APPLE__)
#include <sys/types.h> // needed for u_int, u_char, etc
#define MAP_ANONYMOUS MAP_ANON
#endif

Expand Down

0 comments on commit 7e239ae

Please sign in to comment.