mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-01 02:03:47 +01:00
Decentralize the assert for AllocateAlignedMemory failures
This commit is contained in:
1 parent
85410305e6
commit
f54d701a2e
10 files changed
+25
-23
No files matched your search
@@ -258,9 +258,6 @@ void *AllocateAlignedMemory(size_t size, size_t alignment) {
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
char temp[32];
|
||||
NiceSizeFormat(size, temp, sizeof(temp));
|
||||
_assert_msg_(ptr != nullptr, "Failed to allocate aligned memory of size %s (%llu)", temp, (unsigned long long)size);
|
||||
return ptr;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user