mirror of https://git.sr.ht/~rabbits/uxn
ppu aarch64: __aarch64__-guard the code
This commit is contained in:
parent
94985be51b
commit
2c98eff255
|
@ -1,3 +1,4 @@
|
||||||
|
#ifdef __aarch64__
|
||||||
#include <arm_neon.h>
|
#include <arm_neon.h>
|
||||||
#include "ppu.h"
|
#include "ppu.h"
|
||||||
|
|
||||||
|
@ -29,3 +30,4 @@ ppu_redraw(Ppu *p, Uint32 *screen)
|
||||||
for(; i < p->width * p->height; i++)
|
for(; i < p->width * p->height; i++)
|
||||||
screen[i] = p->palette[*fg ? *fg : *bg];
|
screen[i] = p->palette[*fg ? *fg : *bg];
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue