ppu aarch64: __aarch64__-guard the code

This commit is contained in:
Sigrid Solveig Haflínudóttir 2021-12-27 16:55:58 +01:00
parent 94985be51b
commit 2c98eff255
1 changed files with 2 additions and 0 deletions

View File

@ -1,3 +1,4 @@
#ifdef __aarch64__
#include <arm_neon.h>
#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