X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=fceu.git;a=blobdiff_plain;f=memory.h;h=32df99a2d52134adf6b36b3fc929f4d8eb15fcca;hp=122a8588578518a390957c36d2c5641d193aff0b;hb=d97315ac0bca825d2d50a44453bc5652946e2c67;hpb=890e37ba2b8ea1c7593dc05926d7431e3bd00bfb diff --git a/memory.h b/memory.h index 122a858..32df99a 100644 --- a/memory.h +++ b/memory.h @@ -18,12 +18,14 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -/* Various macros for faster memory stuff - (at least that's the idea) +/* Various macros for faster memory stuff + (at least that's the idea) */ #define FCEU_dwmemset(d,c,n) {int _x; for(_x=n-4;_x>=0;_x-=4) *(uint32 *)&(d)[_x]=c;} void *FCEU_malloc(uint32 size); void FCEU_free(void *ptr); +#define FCEU_gmalloc FCEU_malloc +#define FCEU_gfree FCEU_free void FASTAPASS(3) FCEU_memmove(void *d, void *s, uint32 l);