mirror of
https://github.com/ACreTeam/ac-decomp
synced 2026-07-05 19:43:42 -04:00
Implement & link famicom.cpp
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
#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
|
||||
Reference in New Issue
Block a user