mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2026-09-26 03:01:17 +00:00
@@ -94,7 +94,7 @@ LaunchParams ParseLaunchParams(Core::System& system, int argc, char *argv[], wch
|
|||||||
break;
|
break;
|
||||||
case 'u': {
|
case 'u': {
|
||||||
// Launch game with a specific user
|
// Launch game with a specific user
|
||||||
bool argument_ok = isdigit(optarg[0]);
|
bool argument_ok = bool(isdigit(optarg[0]));
|
||||||
p.selected_user = atoi(optarg);
|
p.selected_user = atoi(optarg);
|
||||||
if (!argument_ok) {
|
if (!argument_ok) {
|
||||||
// try to look it up by username, only finds the first username that matches.
|
// try to look it up by username, only finds the first username that matches.
|
||||||
|
|||||||
@@ -6,6 +6,8 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#include <cstddef>
|
||||||
|
#include <vector>
|
||||||
#include "common/bit_field.h"
|
#include "common/bit_field.h"
|
||||||
#include "common/common_funcs.h"
|
#include "common/common_funcs.h"
|
||||||
#include "common/common_types.h"
|
#include "common/common_types.h"
|
||||||
|
|||||||
Reference in New Issue
Block a user