MFH: r546155

games/libretro-uae: fix build on powerpc*

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

Approved by:	portmgr (fix build blanket)
This commit is contained in:
pkubaj
2020-08-25 11:39:50 +00:00
parent 4ca1a454e6
commit d734a16370
2 changed files with 22 additions and 0 deletions
@@ -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
@@ -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)
{