mirror of
https://github.com/moonlight-stream/moonlight-embedded.git
synced 2025-08-18 01:15:59 +00:00
Default fullscreen and add window option
This commit is contained in:
parent
4f03c65d9c
commit
972318a833
@ -59,7 +59,7 @@ static struct option long_options[] = {
|
||||
{"save", required_argument, NULL, 'q'},
|
||||
{"keydir", required_argument, NULL, 'r'},
|
||||
{"remote", no_argument, NULL, 's'},
|
||||
{"fullscreen", no_argument, NULL, 't'},
|
||||
{"windowed", no_argument, NULL, 't'},
|
||||
{"surround", no_argument, NULL, 'u'},
|
||||
{"fps", required_argument, NULL, 'v'},
|
||||
{0, 0, 0, 0},
|
||||
@ -188,7 +188,7 @@ static void parse_argument(int c, char* value, PCONFIGURATION config) {
|
||||
config->stream.streamingRemotely = 1;
|
||||
break;
|
||||
case 't':
|
||||
config->fullscreen = true;
|
||||
config->fullscreen = false;
|
||||
break;
|
||||
case 'u':
|
||||
config->stream.audioConfiguration = AUDIO_CONFIGURATION_51_SURROUND;
|
||||
@ -285,6 +285,7 @@ void config_parse(int argc, char* argv[], PCONFIGURATION config) {
|
||||
config->config_file = NULL;
|
||||
config->sops = true;
|
||||
config->localaudio = false;
|
||||
config->fullscreen = true;
|
||||
|
||||
config->inputsCount = 0;
|
||||
config->mapping = get_path("mappings/default.conf", getenv("XDG_DATA_DIRS"));
|
||||
|
@ -139,7 +139,7 @@ static void help() {
|
||||
printf("\t-keydir <directory>\tLoad encryption keys from directory\n");
|
||||
#ifdef HAVE_SDL
|
||||
printf("\n Video options (SDL Only)\n\n");
|
||||
printf("\t-fullscreen\t\tMake window fullscreen\n");
|
||||
printf("\t-windowed\t\tDisplay screen in a window\n");
|
||||
#endif
|
||||
#ifdef HAVE_EMBEDDED
|
||||
printf("\n I/O options\n\n");
|
||||
|
Loading…
x
Reference in New Issue
Block a user