mirror of
https://github.com/ACreTeam/ac-decomp
synced 2026-05-23 14:41:38 -04:00
16 lines
527 B
C++
16 lines
527 B
C++
#ifndef FAMICOMINTERNAL_H
|
|
#define FAMICOMINTERNAL_H
|
|
|
|
#include "types.h"
|
|
#include "Famicom/famicom.h"
|
|
#include "Famicom/ks_nes.h"
|
|
|
|
#define MURA_GAME_NAME_SIZE 16
|
|
|
|
static void* my_malloc(size_t size, u32 align) { return (*my_malloc_current->malloc_align)(size, align); }
|
|
static void my_free(void* ptr) { (*my_malloc_current->free)(ptr); }
|
|
static int my_getmemblocksize(void* ptr) { return (*my_malloc_current->getmemblocksize)(ptr); }
|
|
static int my_gettotalfreesize() { return (*my_malloc_current->gettotalfreesize)(); }
|
|
|
|
#endif
|