Package: mupen64plus-core / 2.5-4

Metadata

Package Version Patches format
mupen64plus-core 2.5-4 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
Use font from ttf bitstream vera.patch | (download)

projects/unix/Makefile | 1 1 + 0 - 0 !
src/osd/osd.cpp | 4 2 + 2 - 0 !
2 files changed, 3 insertions(+), 2 deletions(-)

 use font from ttf-bitstream-vera

Add printf format attribute.patch | (download)

src/api/callbacks.h | 2 1 + 1 - 0 !
src/debugger/dbg_decoder.c | 5 5 + 0 - 0 !
src/main/main.h | 2 1 + 1 - 0 !
src/osd/osd.h | 4 2 + 2 - 0 !
4 files changed, 9 insertions(+), 4 deletions(-)

 add printf-format attribute

The compiler needs to get more information for function declaration to
help to find printf specific format attacks.

Disable the disassembler of the recompiled code.patch | (download)

projects/unix/Makefile | 2 1 + 1 - 0 !
src/debugger/dbg_memory.c | 2 1 + 1 - 0 !
2 files changed, 2 insertions(+), 2 deletions(-)

 disable the disassembler of the recompiled code

The interface of libopcode.so and libbfd.so is not stable and therefore not
allowed to use in Debian. The libopcode.a and libbfd.a don't provide PIC
object files and therefore cannot be linked to the PIC shared object.

This part of the debugging interface can be disabled because their is no known
user interface that has support for it.

Use pkg config to find GLESv2 library.patch | (download)

projects/unix/Makefile | 13 12 + 1 - 0 !
1 file changed, 12 insertions(+), 1 deletion(-)

 use pkg-config to find glesv2 library


Remove unused GLESv2 library.patch | (download)

projects/unix/Makefile | 12 0 + 12 - 0 !
1 file changed, 12 deletions(-)

 remove unused glesv2 library


Avoid .text relocations in PIC shared library.patch | (download)

src/r4300/new_dynarec/arm/linkage_arm.S | 117 94 + 23 - 0 !
1 file changed, 94 insertions(+), 23 deletions(-)

 avoid .text relocations in pic shared library

The linkage_arm code of the new_dynarec on arm currently uses TEXTREL to
patch some addresses during dynamic linking. This is not to be expected
because the code is compiled as position independent code.

Instead the access of global variables must also be position independent in
this part of the code. But indirect access through the global offset table
would require extra memory loads and use additional registers. Furtunately,
GOT can be avoided here by using PC relative addresses. This is possible
because linkage_asm.S only accesses global variables inside the current
shared object. The linker can calculate the relative positions during
compile time and only a single extra "add" instruction is required to
calculate the final address from the PC relative offset.

Bug: https://github.com/mupen64plus/mupen64plus-core/issues/119

bugfix gameshark cheat codes which modified executab.patch | (download)

src/main/cheat.c | 4 4 + 0 - 0 !
1 file changed, 4 insertions(+)

 bugfix: gameshark cheat codes which modified executable program code
 were not marking cached code pages dirty, and thus usually didn't work

fix joystick mapped Core events under SDL2.patch | (download)

src/main/eventloop.c | 14 13 + 1 - 0 !
1 file changed, 13 insertions(+), 1 deletion(-)

 fix joystick-mapped core events under sdl2

Fix spelling errors.patch | (download)

src/debugger/dbg_breakpoints.c | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 fix spelling errors