mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-26 03:38:39 +01:00
Buildfixes
This commit is contained in:
1 parent
cb18929f3a
commit
00a566514e
4 files changed
+58
-68
No files matched your search
+1
-3
@@ -34,9 +34,6 @@ struct CommandLineParam {
|
||||
CmdLineMode mode;
|
||||
};
|
||||
|
||||
#define POFF(member) \
|
||||
{offsetof(CommandLineOptions, member)}
|
||||
|
||||
enum class ParseParamResult {
|
||||
Success,
|
||||
NoMatch,
|
||||
@@ -135,6 +132,7 @@ static ParseParamResult ParseParameterStr(int argc, const char *argv[], size_t &
|
||||
return ParseParamResult::NoMatch;
|
||||
}
|
||||
|
||||
#define POFF(member) offsetof(CommandLineOptions, member)
|
||||
static const CommandLineParam g_autoParams[] = {
|
||||
{POFF(fullscreen), CmdParamType::Bool, "fullscreen", '\0', "Force full screen mode", CmdLineMode::Application},
|
||||
{POFF(fullscreen), CmdParamType::BoolInverse, "windowed", '\0', "Force windowed mode", CmdLineMode::Application},
|
||||
|
||||
Reference in new issue
Block a user