mirror of
https://github.com/LNH-team/pico-launcher.git
synced 2026-06-02 00:56:55 +02:00
Updated to latest blocksds (Fixes #14)
This commit is contained in:
@@ -60,6 +60,16 @@ extern "C" void* memalign(size_t alignment, size_t size)
|
||||
return result;
|
||||
}
|
||||
|
||||
extern "C" void* calloc(size_t num, size_t size)
|
||||
{
|
||||
void* result = malloc(num * size);
|
||||
if (result)
|
||||
{
|
||||
memset(result, 0, num * size);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
void* operator new(std::size_t blocksize)
|
||||
{
|
||||
return malloc(blocksize);
|
||||
|
||||
Reference in New Issue
Block a user