From 2c98eff2557cdda5e9673321e01e2f6e6b5a0617 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sigrid=20Solveig=20Hafl=C3=ADnud=C3=B3ttir?= Date: Mon, 27 Dec 2021 16:55:58 +0100 Subject: [PATCH] ppu aarch64: __aarch64__-guard the code --- src/devices/ppu_aarch64.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/devices/ppu_aarch64.c b/src/devices/ppu_aarch64.c index d0deb35..934ea63 100644 --- a/src/devices/ppu_aarch64.c +++ b/src/devices/ppu_aarch64.c @@ -1,3 +1,4 @@ +#ifdef __aarch64__ #include #include "ppu.h" @@ -29,3 +30,4 @@ ppu_redraw(Ppu *p, Uint32 *screen) for(; i < p->width * p->height; i++) screen[i] = p->palette[*fg ? *fg : *bg]; } +#endif