mirror of
https://github.com/moonlight-stream/moonlight-embedded.git
synced 2026-04-24 00:56:42 +00:00
Clearer message about missing mapping
This commit is contained in:
@@ -347,10 +347,8 @@ void config_parse(int argc, char* argv[], PCONFIGURATION config) {
|
|||||||
config->stream.bitrate = 5000;
|
config->stream.bitrate = 5000;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (inputAdded) {
|
if (config->mapping == NULL) {
|
||||||
if (config->mapping == NULL) {
|
fprintf(stderr, "Please specify mapping file as default mapping could not be found.\n");
|
||||||
fprintf(stderr, "Please specify mapping file as default mapping could not be found.\n");
|
exit(-1);
|
||||||
exit(-1);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user