games/libretro-uae: fix build on powerpc*

ifdef powerpc needs to be added to prevent compiling code with bad assembly.

MFH:		2020Q3 (fix build blanket)
This commit is contained in:
Piotr Kubaj 2020-08-25 11:38:17 +00:00
parent 40f31a60ba
commit 88a0fd3178
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=546155
2 changed files with 22 additions and 0 deletions

View file

@ -0,0 +1,11 @@
--- sources/src/machdep/m68kops.h.orig 2020-08-25 11:26:10 UTC
+++ sources/src/machdep/m68kops.h
@@ -11,7 +11,7 @@
#ifndef ANDROID
-#if defined(__CELLOS_LV2__) || defined(_WIN32) || defined(__x86_64__) || defined(ARM) || defined(WIIU)
+#if defined(__CELLOS_LV2__) || defined(_WIN32) || defined(__x86_64__) || defined(ARM) || defined(WIIU) || defined(__powerpc__)
#ifdef WIIU
#define FLAGBIT_N 31

View file

@ -0,0 +1,11 @@
--- sources/src/machdep/maccess.h.orig 2020-08-25 11:25:48 UTC
+++ sources/src/machdep/maccess.h
@@ -6,7 +6,7 @@
* Copyright 1996 Bernd Schmidt
*/
-#if defined(__CELLOS_LV2__) || defined(WIIU)
+#if defined(__CELLOS_LV2__) || defined(WIIU) || defined(__powerpc__)
STATIC_INLINE uae_u32 do_get_mem_long (uae_u32 *a)
{