mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-28 00:33:34 +01:00
Fixed various potential bugs and compiler warnings
This commit is contained in:
1 parent
03eacd1af3
commit
b780e39397
10 files changed
+62
-40
No files matched your search
@@ -143,7 +143,8 @@ void* AllocateAlignedMemory(size_t size,size_t alignment)
|
||||
// On Symbian, we will want to create an RChunk.
|
||||
ptr = malloc(size);
|
||||
#else
|
||||
posix_memalign(&ptr, alignment, size);
|
||||
if(posix_memalign(&ptr, alignment, size) != 0)
|
||||
ptr = NULL;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
Reference in new issue
Block a user