From f5a56e4fd1441de9a5bd853dbff104645577ab7c Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Mon, 4 Mar 2013 19:55:11 +0000 Subject: Display a message if gus_patch_path hasn't been configured. Subversion-branch: /branches/v2-branch Subversion-revision: 2567 --- src/gusconf.c | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/gusconf.c') diff --git a/src/gusconf.c b/src/gusconf.c index 8efd9803..e4be25e2 100644 --- a/src/gusconf.c +++ b/src/gusconf.c @@ -255,6 +255,17 @@ boolean GUS_WriteConfig(char *path) char *dmxconf; gus_config_t config; + if (!strcmp(gus_patch_path, "")) + { + printf("You haven't configured gus_patch_path.\n"); + printf("gus_patch_path needs to point to the location of " + "your GUS patch set.\n" + "To get a copy of the \"standard\" GUS patches, " + "download a copy of dgguspat.zip.\n"); + + return false; + } + dmxconf = ReadDMXConfig(); ParseDMXConfig(dmxconf, &config); -- cgit v1.2.3