distribution/packages/emulators/libretro/parallel-n64-lr/patches/001-gcc-13.patch
fewtarius 8f0bfde778
* Python 3.11.7, GCC 13.2.0, LLVM 17.0.6, GLIB 2.78.3, GZdoom (Latest).
* Update misc packages for GCC 13.
* Thanks to @CoreELEC (Python 3), @ArchLinux (lrps2), and @AmberELEC (EmulationStation).
2023-12-27 01:31:28 +00:00

51 lines
1.4 KiB
Diff

diff --git a/mupen64plus-core/src/r4300/r4300.c b/mupen64plus-core/src/r4300/r4300.c
index 744198d6..73cb1f27 100644
--- a/mupen64plus-core/src/r4300/r4300.c
+++ b/mupen64plus-core/src/r4300/r4300.c
@@ -50,8 +50,8 @@
unsigned int r4300emu = 0;
unsigned int count_per_op = COUNT_PER_OP_DEFAULT;
unsigned int llbit;
-int stop;
#if NEW_DYNAREC < NEW_DYNAREC_ARM
+int stop;
int64_t reg[32], hi, lo;
uint32_t next_interrupt;
struct precomp_instr *PC;
diff --git a/mupen64plus-rsp-paraLLEl/rsp_disasm.cpp b/mupen64plus-rsp-paraLLEl/rsp_disasm.cpp
index 9b1f6eda..bbb84e74 100644
--- a/mupen64plus-rsp-paraLLEl/rsp_disasm.cpp
+++ b/mupen64plus-rsp-paraLLEl/rsp_disasm.cpp
@@ -1,5 +1,6 @@
#include "rsp_disasm.hpp"
#include <assert.h>
+#include <cstdint>
namespace RSP
{
@@ -582,4 +583,4 @@ std::string disassemble(uint32_t pc, uint32_t instr)
return "???";
}
-}
\ No newline at end of file
+}
diff --git a/mupen64plus-rsp-paraLLEl/rsp_disasm.hpp b/mupen64plus-rsp-paraLLEl/rsp_disasm.hpp
index 22c464b2..a5133e2e 100644
--- a/mupen64plus-rsp-paraLLEl/rsp_disasm.hpp
+++ b/mupen64plus-rsp-paraLLEl/rsp_disasm.hpp
@@ -2,6 +2,7 @@
#define RSP_DISASM_HPP_
#include <string>
+#include <cstdint>
namespace RSP
{
@@ -9,4 +10,4 @@ std::string disassemble(uint32_t pc, uint32_t instr);
const char *register_name(unsigned reg_index);
}
-#endif
\ No newline at end of file
+#endif