R2DLiu
084e805a0a
even with ishii 148fc7f36727c5a6947386368acf6066d61c11a4
2020-12-07 00:58:00 -05:00
David Liu
0f94aa9ef2
Merge pull request #62 from JosJuice/merge-upstream
...
Merge remote-tracking branch 'upstream/master'
2020-12-02 00:26:56 -05:00
R2DLiu
8ae8a60cd1
add new command line argument for hiding seekbar
2020-12-02 00:26:06 -05:00
JosJuice
24a62eec41
Merge remote-tracking branch 'upstream/master' into merge-upstream
...
# Conflicts:
# CMakeLists.txt
# CMakeSettings.json
# Data/Sys/GameSettings/GLR.ini
# Data/Sys/GameSettings/HA9.ini
# Data/Sys/GameSettings/MB3.ini
# Data/Sys/GameSettings/MBA.ini
# Data/Sys/GameSettings/MCV.ini
# Data/Sys/GameSettings/MCY.ini
# Data/Sys/GameSettings/NAK.ini
# Data/Sys/GameSettings/NAL.ini
# Data/Sys/GameSettings/NAT.ini
# Data/Sys/GameSettings/R8P.ini
# Data/Sys/GameSettings/R9I.ini
# Data/Sys/GameSettings/REF.ini
# Data/Sys/GameSettings/RES.ini
# Data/Sys/GameSettings/RMHE08.ini
# Data/Sys/GameSettings/RMHP08.ini
# Data/Sys/GameSettings/SE2.ini
# Data/Sys/GameSettings/WW2.ini
# Data/Sys/GameSettings/WW3.ini
# Data/Sys/GameSettings/WWI.ini
# Externals/Bochs_disasm/Bochs_disasm.vcxproj
# Externals/FreeSurround/FreeSurround.vcxproj
# Externals/LZO/LZO.vcxproj
# Externals/SFML/build/vc2010/SFML_Network.vcxproj
# Externals/bzip2/bzip2.vcxproj
# Externals/cpp-optparse/cpp-optparse.vcxproj
# Externals/cubeb/msvc/cubeb.vcxproj
# Externals/curl/curl.vcxproj
# Externals/curl/lib/CMakeLists.txt
# Externals/discord-rpc/src/discord-rpc.vcxproj
# Externals/ed25519/ed25519.vcxproj
# Externals/enet/enet.vcxproj
# Externals/glslang/glslang.vcxproj
# Externals/imgui/imgui.vcxproj
# Externals/liblzma/liblzma.vcxproj
# Externals/libpng/png/png.vcxproj
# Externals/libusb/libusb_static_2013.vcxproj
# Externals/mbedtls/mbedTLS.vcxproj
# Externals/miniupnpc/miniupnpc.vcxproj
# Externals/minizip/minizip.vcxproj
# Externals/picojson/picojson.vcxproj
# Externals/pugixml/pugixml.vcxproj
# Externals/soundtouch/SoundTouch.vcxproj
# Externals/xxhash/xxhash.vcxproj
# Externals/zlib/zlib.vcxproj
# Externals/zstd/zstd.vcxproj
# Languages/Languages.vcxproj
# Source/Android/jni/MainAndroid.cpp
# Source/Core/AudioCommon/AudioCommon.vcxproj
# Source/Core/Common/Common.vcxproj
# Source/Core/Common/Common.vcxproj.filters
# Source/Core/Common/Logging/Log.h
# Source/Core/Common/StringUtil.cpp
# Source/Core/Core/CMakeLists.txt
# Source/Core/Core/ConfigManager.cpp
# Source/Core/Core/ConfigManager.h
# Source/Core/Core/Core.vcxproj
# Source/Core/Core/Core.vcxproj.filters
# Source/Core/Core/HotkeyManager.cpp
# Source/Core/Core/State.cpp
# Source/Core/DiscIO/DiscIO.vcxproj
# Source/Core/DolphinNoGUI/DolphinNoGUI.vcxproj
# Source/Core/DolphinQt/Config/Graphics/GeneralWidget.cpp
# Source/Core/DolphinQt/DolphinQt.vcxproj
# Source/Core/InputCommon/InputCommon.vcxproj
# Source/Core/InputCommon/InputCommon.vcxproj.filters
# Source/Core/UICommon/UICommon.vcxproj
# Source/Core/UpdaterCommon/UpdaterCommon.vcxproj
# Source/Core/VideoBackends/D3D/D3D.vcxproj
# Source/Core/VideoBackends/D3D12/D3D12.vcxproj
# Source/Core/VideoBackends/D3DCommon/D3DCommon.vcxproj
# Source/Core/VideoBackends/Null/Null.vcxproj
# Source/Core/VideoBackends/OGL/OGL.vcxproj
# Source/Core/VideoBackends/Software/Software.vcxproj
# Source/Core/VideoBackends/Vulkan/Vulkan.vcxproj
# Source/Core/VideoCommon/OnScreenDisplay.cpp
# Source/Core/VideoCommon/OnScreenDisplay.h
# Source/Core/VideoCommon/VideoCommon.vcxproj
# Source/Core/WinUpdater/WinUpdater.vcxproj
# Source/DSPTool/DSPTool.vcxproj
# Source/PCH/pch.vcxproj
# Source/UnitTests/UnitTests.vcxproj
2020-12-01 23:44:32 +01:00
Shawn Hoffman
3bc8a26083
don't use std::move on const variables
2020-08-23 13:55:14 -07:00
R2DLiu
746ab9586b
rest of the fucking owl
2020-07-16 18:35:28 -04:00
iwubcode
cdf5490d56
Core: Add support for specifying a command line option to boot the game into a save-state
2020-05-06 22:10:30 -05:00
Léo Lam
19da101164
Remove redundant Config prefix from ConfigInfo/ConfigLocation
...
Both structs are already in the Config namespace.
2020-05-02 14:40:14 +02:00
JosJuice
379f264aa8
Disable render to main when using batch mode
...
https://bugs.dolphin-emu.org/issues/11888
This also includes another change: DolphinQt will now exit with an
error if you use --batch without specifying a game using any method
(unlike in the past where --batch would be ignored if you didn't
specify a game using --exec, even if you had used --nand-title).
The main reason why I did this was because coding the alternative
(ignoring --batch) would be annoying with render to main involved.
2019-10-29 18:32:43 +01:00
JosJuice
0dbb58112a
CommandLineParse: Don't ignore video_backend/audio_emulation when not using -C
2019-10-28 10:36:56 +01:00
Silent
b6df0bff93
Make --batch run Dolphin in headless mode, provided --exec is also passed
2019-08-11 20:58:04 +02:00
Silent
80e8037e0b
Truly use emplace_back in CommandLineConfigLayerLoader constructor
2019-08-11 20:43:18 +02:00
Techjar
ff972e3673
Reformat repo to clang-format 7.0 rules
2019-05-06 18:48:04 +00:00
Filip Gawin
49fe9f5db1
Use empty instead of size
2019-02-13 00:03:49 +01:00
JosJuice
bd665aad5d
Automatic disc change for 2-disc games
2019-01-04 09:24:38 +01:00
Léo Lam
fc0193c4b1
Move Config ValueToString to StringUtil
...
An identical implementation is used by IniFile, so move those functions
to StringUtil. A future commit will modify IniFile to use them.
2018-06-03 14:10:52 +02:00
Ryan Meredith
1f226ec14f
Update Readme.md and various fixes
2017-12-20 10:54:51 +01:00
Léo Lam
05c8d229af
Config: Handle unknown system strings better
...
Currently, a simple typo in the system name will trigger an assert
message that complains about a "programming error". This is not
user friendly and misleading.
So this changes GetSystemFromName to return an std::optional, which
allows for callers to check whether the system exists and handle
failures better.
2017-11-26 18:24:01 +01:00
Léo Lam
653977cec7
UICommon: Fix unsafe usage of optparse::Values::all
...
The const-qualified all() member method triggers undefined behaviour
if the option passed to it is not set.
2017-11-26 18:18:49 +01:00
Léo Lam
60afb1d1b4
WX: Fix argument parsing
...
Manually convert each argument to a UTF-8 std::string, because the
implicit conversion for wxCmdLineArgsArray to char** calls ToAscii
(which is obviously undesired).
Fixes https://bugs.dolphin-emu.org/issues/10274
2017-11-26 18:18:48 +01:00
MerryMage
4c24629b95
Config: Flatten structures
...
Originally, Layer contained a std::map of Sections, which containted a std::map
containing the (key, value) pairs. Here we flattern this structure so that only
one std::map is required, reducing the number of indirections required and
vastly simplifying the code.
2017-11-15 18:04:40 +00:00
MerryMage
f3b52c07d7
CommandLineParser: Use ConfigLocation
2017-11-15 18:04:40 +00:00
Léo Lam
4b4a9a6486
UI: Implement a command line option to boot NAND title
2017-10-24 11:41:55 +02:00
Ryan Meredith
f8b89b7b1a
Update -d argument help message
2017-09-10 12:28:53 +02:00
Lioncash
696e1b40b5
Common: Move version strings to their own header
...
Ideally Common.h wouldn't be a header in the Common library, and instead be renamed to something else, like PlatformCompatibility.h or something, but even then, there's still some things in the header that don't really fall under that label
This moves the version strings out to their own version header that doesn't dump a bunch of other unrelated things into scope, like what Common.h was doing.
This also places them into the Common namespace, as opposed to letting them sit in the global namespace.
2017-09-09 19:28:10 -04:00
Léo Lam
3028158873
UICommon: Don't print --version option twice
...
cpp-optparse already has the --version option built-in, so having our
own version option results in --version being shown twice.
2017-03-21 22:29:01 +01:00
Ryan Houdek
94d35ab7cb
Implement command line option setting
2017-03-05 15:47:23 +01:00
Ryan Houdek
f61363a791
Add command line parsing to UICommon.
2017-02-16 17:24:58 +01:00