0
0
Fork 0
mirror of https://git.sr.ht/~rabbits/uxn synced 2024-11-16 03:05:06 +00:00

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

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