no message
This commit is contained in:
		@@ -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);
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
 
 | 
			
		||||
@@ -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);
 | 
			
		||||
}
 | 
			
		||||
@@ -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);
 | 
			
		||||
		Reference in New Issue
	
	Block a user