no message

This commit is contained in:
BADIM-PC\Vadim 2018-02-12 19:22:15 +03:00
parent e4ef780f28
commit 0b693b3365
3 changed files with 9 additions and 3 deletions

View File

@ -2992,9 +2992,9 @@ void initConsole(Console* console, tic_mem* tic, FileSystem* fs, Config* config,
{
if(~argp & 1 << i)
{
// char buf[256];
// sprintf(buf, "parameter or file not processed: %s\n", argv[i]);
// SDL_ShowSimpleMessageBox(SDL_MESSAGEBOX_WARNING, "Warning", buf, NULL);
char buf[256];
sprintf(buf, "parameter or file not processed: %s\n", argv[i]);
showMessageBox("Warning", buf);
}
}
}

View File

@ -3291,4 +3291,9 @@ void netDirRequest(Net* net, const char* path, ListCallback callback, void* data
NetDirData netDirData = {callback, data};
onDirResponse(buffer, size, &netDirData);
}
void showMessageBox(const char* title, const char* message)
{
// SDL_ShowSimpleMessageBox(SDL_MESSAGEBOX_WARNING, "Warning", buf, NULL);
}

View File

@ -267,3 +267,4 @@ typedef struct
NetVersion netVersionRequest(Net* net);
void netDirRequest(Net* net, const char* path, ListCallback callback, void* data);
void showMessageBox(const char* title, const char* message);