diff options
Diffstat (limited to 'tools/skintest/skintest.c')
-rw-r--r-- | tools/skintest/skintest.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/skintest/skintest.c b/tools/skintest/skintest.c index 747dd91..0cb9b23 100644 --- a/tools/skintest/skintest.c +++ b/tools/skintest/skintest.c @@ -121,6 +121,12 @@ int main(int argc, char ** argv) fprintf(stdout, "WARNING: No config file specified, using default (%s).\n", configName.c_str()); } + if (skinFileName.length() == 0) + { + fprintf(stderr, "ERROR: Skin file path has to be set using the '-s' parameter on command line!\n"); + return 1; + } + if (GLCD::Config.Load(configName) == false) { fprintf(stderr, "Error loading config file!\n"); |