notaz.gp2x.de
/
pcsx_rearmed.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4daa183
)
libretro: align vout_buf to 128-bit
author
Tobias Jakobi
<tjakobi@math.uni-bielefeld.de>
Tue, 4 Mar 2014 19:15:13 +0000
(20:15 +0100)
committer
notaz
<notasas@gmail.com>
Sat, 20 Dec 2014 00:57:24 +0000
(
02:57
+0200)
frontend/libretro.c
patch
|
blob
|
blame
|
history
diff --git
a/frontend/libretro.c
b/frontend/libretro.c
index
4f6b48e
..
94d649e
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)
{