diff --git a/desmume/src/MMU.h b/desmume/src/MMU.h index 142fa9c27..959d3d8a3 100644 --- a/desmume/src/MMU.h +++ b/desmume/src/MMU.h @@ -147,6 +147,7 @@ void MMU_clearMem( void); void MMU_setRom(u8 * rom, u32 mask); void MMU_unsetRom( void); +void print_memory_profiling( void); /** * Memory reading diff --git a/desmume/src/gtk/main.cpp b/desmume/src/gtk/main.cpp index 90d7cd295..d79770c5d 100644 --- a/desmume/src/gtk/main.cpp +++ b/desmume/src/gtk/main.cpp @@ -43,14 +43,10 @@ #define EMULOOP_PRIO (G_PRIORITY_HIGH_IDLE + 20) - #define ENABLE_MEMORY_PROFILING 1 #ifdef ENABLE_MEMORY_PROFILING #include - -void -print_memory_profiling( void); #endif static const char *bad_glob_cflash_disk_image_file;