diff options
| author | Xavier Del Campo Romero <xavi92@disroot.org> | 2025-11-16 00:36:51 +0100 |
|---|---|---|
| committer | Xavier Del Campo Romero <xavi92@disroot.org> | 2025-11-16 00:36:51 +0100 |
| commit | 788fb20656c8450a3f2da8b3f8b1905242103193 (patch) | |
| tree | ae6e1a2c9e7da0fe72b070d2db580adf26e410af /plugins/dfnet/gui.c | |
| parent | 8349bf45e9b19d83506e1bb52f2053a7976922e5 (diff) | |
| download | pcsxr-sio.tar.gz | |
WIP TCP/SIOsio
Diffstat (limited to 'plugins/dfnet/gui.c')
| -rw-r--r-- | plugins/dfnet/gui.c | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/plugins/dfnet/gui.c b/plugins/dfnet/gui.c index 85d0871f..746f34a6 100644 --- a/plugins/dfnet/gui.c +++ b/plugins/dfnet/gui.c @@ -15,6 +15,8 @@ #include "cfg.c" +Config conf; + void cfgSysMessage(const char *fmt, ...) { GtkWidget *MsgDlg; va_list list; @@ -220,16 +222,16 @@ int main(int argc, char *argv[]) { return 0; } - if (strcmp(argv[1], "about") != 0 && - strcmp(argv[1], "configure") != 0 && - strcmp(argv[1], "open") != 0 && - strcmp(argv[1], "wait") != 0 && - strcmp(argv[1], "pause") != 0 && + if (strcmp(argv[1], "about") != 0 && + strcmp(argv[1], "configure") != 0 && + strcmp(argv[1], "open") != 0 && + strcmp(argv[1], "wait") != 0 && + strcmp(argv[1], "pause") != 0 && strcmp(argv[1], "message") != 0) { printf ("Usage: cfgDFNet {about | configure | open | wait | pause | message}\n"); return 0; } - + if(argc > 1) { if (!strcmp(argv[1], "configure")) { CFGconfigure(); |
