#469 removed compilation warning

This commit is contained in:
tic 2017-12-16 08:49:52 +03:00
parent c9ea8acb0b
commit 1fce190db2
1 changed files with 18 additions and 18 deletions

View File

@ -1762,7 +1762,7 @@ static void onConsoleExportHtmlCommand(Console* console, const char* name)
SDL_free(EmbedTicJs); SDL_free(EmbedTicJs);
} }
#ifdef CAN_EXPORT // #ifdef CAN_EXPORT
// static void* embedCart(Console* console, s32* size) // static void* embedCart(Console* console, s32* size)
// { // {
@ -1788,7 +1788,7 @@ static void onConsoleExportHtmlCommand(Console* console, const char* name)
// return NULL; // return NULL;
// } // }
#if defined(__WINDOWS__) // #if defined(__WINDOWS__)
// static const char* getFileFolder(const char* path) // static const char* getFileFolder(const char* path)
// { // {
@ -1866,27 +1866,27 @@ static void onConsoleExportHtmlCommand(Console* console, const char* name)
// commandDone(console); // commandDone(console);
// } // }
#else // #else
static void onConsoleExportNativeCommand(Console* console, const char* cartName) // static void onConsoleExportNativeCommand(Console* console, const char* cartName)
{ // {
s32 size = 0; // s32 size = 0;
void* data = embedCart(console, &size); // void* data = embedCart(console, &size);
if(data) // if(data)
{ // {
fsGetFileData(onFileDownloaded, cartName, data, size, DEFAULT_CHMOD, console); // fsGetFileData(onFileDownloaded, cartName, data, size, DEFAULT_CHMOD, console);
} // }
else // else
{ // {
onFileDownloaded(FS_FILE_NOT_DOWNLOADED, console); // onFileDownloaded(FS_FILE_NOT_DOWNLOADED, console);
} // }
} // }
#endif // #endif
#endif // #endif
static const char* getExportName(Console* console, bool html) static const char* getExportName(Console* console, bool html)
{ {