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
Léo Lam
31d7be521c
Merge pull request #7714 from cristian64/avoid_leaking_gamelistmodel
...
DolphinQt: Avoid leaking the GameListModel instance to gracefully shutdown the GameTracker and prevent a crash on exit
2020-11-18 02:14:51 +01:00
JosJuice
a348efe947
Fix dereferencing nullptr BootParameters
2020-11-06 09:34:53 +01:00
Jordan Woyak
e8bb88c2a1
DolphinQt: Don't call UICommon::InhibitScreenSaver if already in desired state.
2020-10-22 13:19:01 -05:00
Jordan Woyak
50ec747840
Clean up screen saver inhibition and apply setting change immediately.
2020-10-18 16:31:48 -05:00
Christian Aguilera
5b757024c4
GameListModel instance ownership transferred back to the GameList instance. The GameListModel instance will be passed as a constructor parameter where needed.
2020-10-01 22:09:45 +02:00
JMC47
4f1f849c9d
Merge pull request #8985 from jordan-woyak/btemu-cleanup
...
BTEmu/Wiimote: Fixes and Cleanups.
2020-09-14 02:09:27 -04:00
JMC47
e7e5175606
Merge pull request #8861 from JosJuice/netplay-hash
...
Make netplay's "same game" check more robust
2020-09-06 17:14:08 -04:00
R2DLiu
78ef189315
add info and fullscreen buttons. Make a lot more robust
2020-08-22 20:11:52 -04:00
Shawn Hoffman
cff4806d8d
windows: fix build if pch were to be disabled
2020-08-22 16:18:24 -07:00
Jordan Woyak
13ee6bd7bb
BTEmu/Wiimote: Cleanups/Fixes.
2020-08-16 11:38:13 -05:00
OatmealDome
fae8f8d68b
MainWindow: Attach quit emulation sheet to RenderWidget on macOS
2020-08-03 05:48:57 -04:00
JosJuice
5cad82137d
Allow translations and custom names in GameFile::GetNetPlayName
...
There is no longer any major reason for why this function would
need to return the same result for all players.
2020-08-02 22:46:53 +02:00
JosJuice
a41166bb37
Make netplay's "same game" check more robust
...
Instead of comparing the game ID, revision, disc number and name,
we can compare a hash of important parts of the disc including
all the aforementioned data but also additional data such as the
FST. The primary reason why I'm making this change is to let us
catch more desyncs before they happen, but this should also fix
https://bugs.dolphin-emu.org/issues/12115 . As a bonus, the UI can
now distinguish the case where a client doesn't have the game at
all from the case where a client has the wrong version of the game.
2020-08-02 22:46:53 +02:00
JosJuice
2e8c5b4521
DolphinQt: Show a warning when launching an NKit disc image
...
It is my opinion that nobody should use NKit disc images without
being aware of the drawbacks of them. Since it seems like almost
nobody who is using NKit disc images knows what NKit is (hmm, now
how could that have happened...?), I am adding a warning to Dolphin
so that you can't run NKit disc images without finding out about the
drawbacks. In case someone really does want to use NKit disc images,
the warning has a "Don't show this again" option. Unfortunately, I
can't retroactively add the warning where it's most needed:
in Dolphin 5.0, which does not support Wii NKit disc images.
2020-07-29 21:05:57 +02:00
JosJuice
e2ae2b3b0b
Add new file format RVZ based on WIA
2020-06-17 13:47:34 +02:00
JosJuice
8da5d0c4fe
Add an early version of WIABlobReader
...
It can currently only read the first 0x80 bytes of a disc image,
which is enough for identifying it but not for doing anything else.
2020-06-17 13:43:51 +02:00
Stenzek
ff92357b63
Core: Use window instead of surface for ControllerInterface updates
...
Fixes crashes with Vulkan on macOS.
2020-05-24 17:39:56 +10:00
Léo Lam
7c0ef725ab
Merge pull request #8744 from cristian64/save_restore_netplay_browser_settings
...
DolphinQt: Saving and restoring NetPlay Session Browser dialog's settings.
2020-05-04 00:50:26 +02:00
Sepalani
39d34e133f
Debugger: Add a Thread widget
...
DebugInterface: Add GetThreads
WatchWidget: Update widget on AddWatch
2020-05-03 20:48:30 +04:00
Christian Aguilera
16f0864a4f
DolphinQt: Saving and restoring NetPlay Session Browser dialog's settings.
2020-05-03 17:45:52 +02:00
Sepalani
5e33cd48da
Debugger: Add a Network widget
...
Display socket table, SSL context and options
2020-04-27 21:47:00 +04:00
JosJuice
55f787b898
Remove unused function Host_UpdateProgressDialog
2020-04-03 12:53:38 +02:00
JosJuice
c6ee767851
DolphinQt: Run tasks that use progress dialogs on separate threads
2020-04-03 12:53:38 +02:00
Pokechu22
c59120f089
Fix Load Wii System Menu not updating after performing a disc update
...
For a fresh install, the button was completely disabled even after the disc update; otherwise, the text on it was just out of date.
2020-03-17 19:59:48 -07:00
Léo Lam
466c079bf4
Merge pull request #8604 from Techjar/netplay-index-direct
...
Core/NetPlayServer: Fix session not being added to index on direct connection type
2020-03-15 22:22:00 +01:00
Stenzek
86db015c23
Common: Add a render_window field to WindowSystemInfo
...
We need this because we need to pass the layer to MoltenVK, not
the view handle. But the input subsystem still needs the window.
2020-03-11 23:09:30 +10:00
Techjar
06a9f6ef82
Core/NetPlayServer: Fix session not being added to index on direct connection type
2020-02-17 21:05:32 -05:00
Tilka
5dfc9196ab
Merge pull request #8548 from jordan-woyak/wiimote-source-cleanup
...
Core/WiimoteReal: Wii remote connection pool and source change cleanup.
2020-01-25 23:04:50 +00:00
Jordan Woyak
956339df4e
Core/WiimoteReal: Make wiimote source type an enum class and add Get/SetWiimoteSource functions. Add connected real Wii Remotes to a pool when a slot is not available.
2020-01-05 10:15:22 -06:00
Pokechu22
11bd132650
Implement RTC flag, which is counter-intuitively disc drive related
2020-01-04 11:43:26 -08:00
Silent
85c2841643
Make "Do you want to stop emulation?" application modal and disallow multiple instances at once
...
Fixes numerous issues with this dialog spawning multiple times
and putting Dolphin in a weird state.
2019-11-16 19:51:55 +01:00
Sepalani
beeb68d541
RegisterWidget: Fix view in code/memory
2019-10-06 12:25:46 +04:00
Silent
b6df0bff93
Make --batch run Dolphin in headless mode, provided --exec is also passed
2019-08-11 20:58:04 +02:00
Connor McLaughlin
1bd8f03362
Merge pull request #8271 from lioncash/qstring
...
DolphinQt: Replace unnecessary QStringLiterals with alternatives where applicable
2019-08-08 12:25:30 +10:00
spycrab
04764f8b7f
Fix saving states freezing up emulation
...
Only for about half a second but noticeable nonetheless
2019-08-01 21:33:12 +02:00
Lioncash
fef1b84f0a
DolphinQt: Replace QStringLiteral with alternatives where applicable
...
QStringLiterals generate a buffer so that during runtime there's very
little cost to constructing a QString. However, this also means that
duplicated strings cannot be optimized out into a single entry that gets
referenced everywhere, taking up space in the binary.
Rather than use QStringLiteral(""), we can just use QString{} (the
default constructor) to signify the empty string. This gets rid of an
unnecessary string buffer from being created, saving a tiny bit of
space.
While we're at it, we can just use the character overloads of particular
functions when they're available instead of using a QString overload.
The characters in this case are Latin-1 to begin with, so we can just
specify the characters as QLatin1Char instances to use those overloads.
These will automatically convert to QChar if needed, so this is safe.
2019-07-30 09:06:03 -04:00
Vincent Duvert
2f63b71bde
QtGui: Handle file open events
...
Handle file open events received by Dolphin. This allows Wii/GC files to be
opened when double-clicked or dropped on the Dolphin application on macOS.
2019-06-15 11:27:29 +02:00
Connor McLaughlin
0177c6c2c7
Merge pull request #8146 from Techjar/netplay-network-opts
...
Qt/NetPlayDialog: Change network mode options to radio buttons
2019-06-08 20:05:35 +10:00
Lioncash
c0c0e412e0
Core/ConfigManager: Use forward declarations where applicable
...
Avoids dragging in IniFile, EXI device and SI device headers in this header which is
quite widely used throughout the codebase.
This also uncovered a few cases where indirect inclusions were being
relied upon, which this also fixes.
2019-06-07 19:54:39 -04:00
Techjar
b0b4b69d6e
Qt/NetPlayDialog: Change network mode options to radio buttons
...
This changes the Host Input Authority and Golf Mode checkboxes into a
set of radio buttons, consisting of Fair Input Delay, Host Input
Authority, and Golf Mode. This represents the 3 network modes we have.
Although Golf Mode is just an extension of Host Input Authority, it's
more logical to the user to present it as a separate option, rather
than enabling the Golf Mode checkbox only when Host Input Authority is
enabled. This also eliminates the need to first enable Host Input
Authority before Golf Mode can be enabled.
This also adds tooltips to provide brief descriptions of the options,
as well as reintroducing tooltips that were previously removed.
2019-05-31 02:33:41 -04:00
JMC47
6ea43235d5
Merge pull request #7841 from iwubcode/config-mgr-onion
...
Config: Move the 'Display' settings from ConfigManager to the layered config system
2019-04-21 00:01:47 -04:00
spycrab
23986d48f7
Merge pull request #7945 from spycrab/np_browser
...
Qt/NetPlay: Implement session/server browser
2019-04-06 12:36:29 +02:00
spycrab
094bf0d2ff
Qt/NetPlay: Integrate NetPlayIndex
2019-04-06 12:27:30 +02:00
JMC47
a7ee00ae25
Merge pull request #7960 from Techjar/netplay-fix-segfault-on-exit
...
Qt/MainWindow: Fix segfault on exit while NetPlay is open
2019-04-05 11:48:07 -04:00
Techjar
1a12876330
NetPlay: Implement golf mode
...
This is an extension of host input authority that allows switching the
host (who has zero latency) on the fly, at the further expense of
everyone else's latency. This is useful for turn-based games where the
latency of players not on their turn doesn't matter.
To become the so-called golfer, the player simply presses a hotkey.
When the host is the golfer, latency is identical to normal host input
authority.
2019-04-05 07:01:03 -04:00
Techjar
ab6583b430
Qt/MainWindow: Fix segfault on exit while NetPlay is open
2019-04-05 03:12:25 -04:00
Techjar
e2f1da5210
NetPlay: Move host input authority logic to client
...
This is a prerequisite for golf mode, as the client needs to be in
control of sending pad states.
2019-04-02 08:17:13 -04:00
iwubcode
840afc2ad4
Config: Move the 'Display' settings from ConfigManager to the layered config system
2019-03-30 18:43:02 -05:00
JosJuice
6a18bf4d2e
Merge pull request #7935 from JosJuice/cli-arg-movie
...
DolphinQt: Add support for the --movie parameter
2019-03-27 18:34:24 +01:00