diff --git a/desmume/src/debug.c b/desmume/src/debug.c index a8fdca0b9..e38df918a 100644 --- a/desmume/src/debug.c +++ b/desmume/src/debug.c @@ -165,6 +165,7 @@ void LogStop(void) { ///////////////////////////////////////////////////////////////// Console #ifdef WIN32 +#ifdef BETA_VERSION void OpenConsole() { COORD csize; @@ -212,4 +213,5 @@ void printlog(char *fmt, ...) { ptr=msg; len=strlen(msg); WriteConsole(hConsole,ptr, (DWORD)len, &tmp, 0); } +#endif #endif \ No newline at end of file diff --git a/desmume/src/debug.h b/desmume/src/debug.h index 38224a270..ad99a205f 100644 --- a/desmume/src/debug.h +++ b/desmume/src/debug.h @@ -53,9 +53,9 @@ void LogStop(void); #ifdef WIN32 #ifdef BETA_VERSION -extern void OpenConsole(); -extern void CloseConsole(); -extern void printlog(LPCTSTR *fmt, ...); +void OpenConsole(); +void CloseConsole(); +void printlog(LPCTSTR *fmt, ...); #else #define OpenConsole() #define CloseConsole()