X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=fceu.git;a=blobdiff_plain;f=memory.h;h=a0c104a279bb03f32bfaaccf1be0bcfcd94904f6;hp=122a8588578518a390957c36d2c5641d193aff0b;hb=c8c88d89f9bb0df71360b3b68327300f686a1c20;hpb=c62d28102c77e19c291c78bf6bf7f0a81abd54b9 diff --git a/memory.h b/memory.h index 122a858..a0c104a 100644 --- a/memory.h +++ b/memory.h @@ -1,7 +1,7 @@ /* FCE Ultra - NES/Famicom Emulator * * Copyright notice for this file: - * Copyright (C) 2002 Ben Parnell + * Copyright (C) 2002 Xodnizel * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -18,12 +18,14 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -/* Various macros for faster memory stuff +/* 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_gmalloc(uint32 size); +void FCEU_gfree(void *ptr); void FCEU_free(void *ptr); void FASTAPASS(3) FCEU_memmove(void *d, void *s, uint32 l);