diff options
author | Simon Howard | 2013-03-04 19:55:11 +0000 |
---|---|---|
committer | Simon Howard | 2013-03-04 19:55:11 +0000 |
commit | f5a56e4fd1441de9a5bd853dbff104645577ab7c (patch) | |
tree | ba4563786cba214468d02989e4896573a4c86ee4 | |
parent | f3b53778ca850ca0b01ff445000f4f07545b62fc (diff) | |
download | chocolate-doom-f5a56e4fd1441de9a5bd853dbff104645577ab7c.tar.gz chocolate-doom-f5a56e4fd1441de9a5bd853dbff104645577ab7c.tar.bz2 chocolate-doom-f5a56e4fd1441de9a5bd853dbff104645577ab7c.zip |
Display a message if gus_patch_path hasn't been configured.
Subversion-branch: /branches/v2-branch
Subversion-revision: 2567
-rw-r--r-- | src/gusconf.c | 11 |
1 files changed, 11 insertions, 0 deletions
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); |