notaz.gp2x.de
/
pcsx_rearmed.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
libretro: align vout_buf to 128-bit
[pcsx_rearmed.git]
/
frontend
/
libretro.c
diff --git
a/frontend/libretro.c
b/frontend/libretro.c
index
5a881f3
..
13a4af3
100644
(file)
--- a/
frontend/libretro.c
+++ b/
frontend/libretro.c
@@
-989,7
+989,7
@@
void retro_init(void)
exit(1);
}
-
vout_buf = malloc(
VOUT_MAX_WIDTH * VOUT_MAX_HEIGHT * 2);
+
posix_memalign(&vout_buf, 16,
VOUT_MAX_WIDTH * VOUT_MAX_HEIGHT * 2);
if (environ_cb(RETRO_ENVIRONMENT_GET_SYSTEM_DIRECTORY, &dir) && dir)
{