mirror of
https://github.com/Oibaf66/uae-wii.git
synced 2025-02-20 12:32:42 +01:00
28 lines
356 B
C
28 lines
356 B
C
![]() |
/*
|
||
|
* UAE - The Un*x Amiga Emulator
|
||
|
*
|
||
|
* OS-specific memory support functions
|
||
|
*
|
||
|
* Copyright 2004 Richard Drummond
|
||
|
*/
|
||
|
|
||
|
#include "sysconfig.h"
|
||
|
#include "sysdeps.h"
|
||
|
|
||
|
#ifdef JIT
|
||
|
|
||
|
/*
|
||
|
* Allocate executable memory for JIT cache
|
||
|
*/
|
||
|
void *cache_alloc (int size)
|
||
|
{
|
||
|
return malloc (size);
|
||
|
}
|
||
|
|
||
|
void cache_free (void *cache)
|
||
|
{
|
||
|
free (cache);
|
||
|
}
|
||
|
|
||
|
#endif
|