no message
This commit is contained in:
parent
e4ef780f28
commit
0b693b3365
|
@ -2992,9 +2992,9 @@ void initConsole(Console* console, tic_mem* tic, FileSystem* fs, Config* config,
|
||||||
{
|
{
|
||||||
if(~argp & 1 << i)
|
if(~argp & 1 << i)
|
||||||
{
|
{
|
||||||
// char buf[256];
|
char buf[256];
|
||||||
// sprintf(buf, "parameter or file not processed: %s\n", argv[i]);
|
sprintf(buf, "parameter or file not processed: %s\n", argv[i]);
|
||||||
// SDL_ShowSimpleMessageBox(SDL_MESSAGEBOX_WARNING, "Warning", buf, NULL);
|
showMessageBox("Warning", buf);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -3292,3 +3292,8 @@ void netDirRequest(Net* net, const char* path, ListCallback callback, void* data
|
||||||
NetDirData netDirData = {callback, data};
|
NetDirData netDirData = {callback, data};
|
||||||
onDirResponse(buffer, size, &netDirData);
|
onDirResponse(buffer, size, &netDirData);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void showMessageBox(const char* title, const char* message)
|
||||||
|
{
|
||||||
|
// SDL_ShowSimpleMessageBox(SDL_MESSAGEBOX_WARNING, "Warning", buf, NULL);
|
||||||
|
}
|
|
@ -267,3 +267,4 @@ typedef struct
|
||||||
|
|
||||||
NetVersion netVersionRequest(Net* net);
|
NetVersion netVersionRequest(Net* net);
|
||||||
void netDirRequest(Net* net, const char* path, ListCallback callback, void* data);
|
void netDirRequest(Net* net, const char* path, ListCallback callback, void* data);
|
||||||
|
void showMessageBox(const char* title, const char* message);
|
Loading…
Reference in New Issue