notaz.gp2x.de
/
pcsx_rearmed.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
3addc00
)
Merge pull request #5 from tobiasjakobi/memalign
author
Twinaphex
<libretro@gmail.com>
Tue, 4 Mar 2014 20:13:56 +0000
(21:13 +0100)
committer
Twinaphex
<libretro@gmail.com>
Tue, 4 Mar 2014 20:13:56 +0000
(21:13 +0100)
libretro: align vout_buf to 128-bit
frontend/libretro.c
patch
|
blob
|
blame
|
history
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)
{