diff --git a/.gitignore b/.gitignore index 9a3b586..1fd203c 100644 --- a/.gitignore +++ b/.gitignore @@ -13,3 +13,4 @@ /mednafen-1.27.0-UNSTABLE.tar.xz /mednafen-1.27.1.tar.xz /mednafen-1.28.0-UNSTABLE.tar.xz +/mednafen-1.29.0.tar.xz diff --git a/libco-ppc64v2-swap-global.patch b/libco-ppc64v2-swap-global.patch deleted file mode 100644 index 64343c1..0000000 --- a/libco-ppc64v2-swap-global.patch +++ /dev/null @@ -1,46 +0,0 @@ ---- mednafen/src/snes/src/lib/libco/ppc64v2.c.orig 2021-11-14 11:29:26.670259897 -0800 -+++ mednafen/src/snes/src/lib/libco/ppc64v2.c 2021-11-14 11:28:43.382259990 -0800 -@@ -35,12 +35,13 @@ static thread_local struct ppc64_context - #define MIN_STACK_FRAME 0x20lu - #define STACK_ALIGN 0x10lu - --void swap_context(struct ppc64_context* read, struct ppc64_context* write); -+void co_ppc64v2_swap(struct ppc64_context* read, struct ppc64_context* write); - __asm__( - ".text\n" - ".align 4\n" -- ".type swap_context @function\n" -- "swap_context:\n" -+ ".globl co_ppc64v2_swap\n" -+ ".type co_ppc64v2_swap @function\n" -+ "co_ppc64v2_swap:\n" - ".cfi_startproc\n" - - /* save GPRs */ -@@ -217,7 +218,7 @@ __asm__( - "blr\n" - - ".cfi_endproc\n" -- ".size swap_context, .-swap_context\n" -+ ".size co_ppc64v2_swap, .-co_ppc64v2_swap\n" - ); - - cothread_t co_active() { -@@ -232,7 +233,7 @@ cothread_t co_derive(void* memory, unsig - struct ppc64_context* context = (struct ppc64_context*)memory; - - /* save current context into new context to initialize it */ -- swap_context(context, context); -+ co_ppc64v2_swap(context, context); - - /* align stack */ - sp = (uint8_t*)memory + size - STACK_ALIGN; -@@ -266,7 +267,7 @@ void co_delete(cothread_t handle) { - void co_switch(cothread_t to) { - struct ppc64_context* from = co_active_handle; - co_active_handle = (struct ppc64_context*)to; -- swap_context((struct ppc64_context*)to, from); -+ co_ppc64v2_swap((struct ppc64_context*)to, from); - } - - int co_serializable() { diff --git a/mednafen.spec b/mednafen.spec index 40e4947..c16f515 100644 --- a/mednafen.spec +++ b/mednafen.spec @@ -3,10 +3,10 @@ # performance reasons %undefine _hardened_build -%global unstable 1 +%global unstable 0 Name: mednafen -Version: 1.28.0 +Version: 1.29.0 %if %{unstable} == 1 Release: %autorelease -p -e UNSTABLE %else @@ -21,7 +21,6 @@ Source0: https://mednafen.github.io/releases/files/%{name}-%{version}-UNS %else Source0: https://mednafen.github.io/releases/files/%{name}-%{version}.tar.xz %endif -Patch0: libco-ppc64v2-swap-global.patch BuildRequires: gcc-c++ BuildRequires: gettext diff --git a/sources b/sources index bdecaf7..54991c3 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (mednafen-1.28.0-UNSTABLE.tar.xz) = 658a58457cf0ed078eb0c5e7ba27cdb1ebb2d5dade13b51264fd83d86b061e4f8bea6b06c90afef63a1c641a736d7db031b68d5c3ec6f0c937fee5f3e1f13263 +SHA512 (mednafen-1.29.0.tar.xz) = 375f0fb4f12907faf56b4e9ecdc44c1655b0660a3773240fe3118f2b261e171479b8eb254299f899fc442b54041c941eab2a5f343aec559d9731c3e92cde0569