Lioncash
f209f5f2a4
NetPlayClient: Make the NetSettings instance part of the NetPlayClient class
...
This is only ever read from externally, so we can expose a getter that ensures that
immutability, while making the actual instance internal. Given the
filling out of these settings depends on packets received by the client
instance, it makes more sense to make it a part of the client itself.
This trims off one lingering global.
2018-07-12 13:55:41 -04:00
spycrab
55b5a24910
Merge pull request #7244 from lioncash/error
...
Qt/MenuBar: Make failures to load map and signature files more obvious
2018-07-12 19:41:36 +02:00
spycrab
b3b1845785
HW/WiimoteEmu: Add Forward Option
2018-07-12 19:35:30 +02:00
spycrab
92f397d0fa
Merge pull request #7255 from Techjar/qt-netplay-message-color
...
[RFC] Qt/NetPlayDialog: Change own chat message color to better suit dark themes
2018-07-12 17:42:55 +02:00
spycrab
9ab489aab8
Qt/NetPlayDialog: Show alerts when events happen
...
Displays an alert when you receive a message or a player joins / leaves
2018-07-12 17:33:12 +02:00
Techjar
d85dd287cf
Qt/NetPlayDialog: Change own chat message color to better suit dark themes
2018-07-12 06:34:14 -04:00
Shawn Hoffman
19ddd29afb
bump msvc version check
2018-07-11 14:53:38 -07:00
JosJuice
7f6be99ad9
Android: Make ControllerMappingHelper methods static
...
This class has no state.
2018-07-11 14:00:57 +02:00
JosJuice
78cb1c2914
Android: Remove controller-specific code that isn't needed anymore
2018-07-11 14:00:37 +02:00
JosJuice
d32c297c0d
Android controller mapping: Ignore axes with constant values
...
Some controllers have axes that are stuck to values like 0.5 or 1.
Starting with PR #6123 , when you press a control to map, Dolphin will
immediately think that such an axis is the axis that you want to map.
This commit fixes that issue (https://bugs.dolphin-emu.org/issues/10909 )
2018-07-11 13:59:22 +02:00
spycrab
fc967908ea
Merge pull request #7238 from Techjar/netplay-bundle-pad-states
...
NetPlay: Bundle multiple local pads into one packet
2018-07-11 11:27:10 +02:00
spycrab
df5d1cf13a
Merge pull request #7233 from Techjar/qt-jit-branch-menu
...
Qt/MenuBar: Add missing JIT branch option in debugger
2018-07-11 11:27:00 +02:00
spycrab
c04b07674e
Merge pull request #7243 from Ebola16/SU
...
Qt: Clarify Synchronous (Ubershaders) name
2018-07-11 10:59:25 +02:00
spycrab
c7ff141606
Merge pull request #7219 from ligfx/mappingwindow_hotplug
...
Qt/MappingWindow: update devices combo box when hotplugging devices
2018-07-11 10:58:26 +02:00
spycrab
ea99cdd781
Merge pull request #7247 from lioncash/fwd
...
Qt/GameList: Replace includes with forward declarations where applicable
2018-07-11 10:57:02 +02:00
spycrab
d81b63f403
Merge pull request #7245 from lioncash/internal
...
Qt/CheatsManager: Move concealable types into the cpp file
2018-07-11 10:55:42 +02:00
spycrab
f170009aad
Merge pull request #7246 from lioncash/enum
...
Qt/Resources: Convert int parameters of GetCountry(), GetPlatform() and GetMisc() to enum classes
2018-07-11 10:52:04 +02:00
Markus Wick
d819df1d08
Merge pull request #7186 from gwicks/androidTouchJoystickRelCenter
...
Android: Make touch joystick re-centering configurable
2018-07-11 08:41:06 +02:00
spycrab
bf4341f762
Merge pull request #7248 from Techjar/netplay-fix-spectator-deadlock
...
NetPlay: Don't update mappings on leave if player had no mappings
2018-07-11 01:18:22 +02:00
spycrab
42298f6d6d
Merge pull request #7239 from addestroyer24/manual-update-now
...
Updater: fix immediate manual updating
2018-07-11 00:58:21 +02:00
spycrab
c7c364f8d5
Merge pull request #7242 from spycrab/np_debug
...
Core/NetPlay: Add debugging messages
2018-07-11 00:57:22 +02:00
Techjar
39449da304
NetPlay: Don't update mappings on leave if player had no mappings
...
This stops clients randomly deadlocking when a spectator leaves, as the mappings construct is not thread-safe and should not be written while the game is running.
2018-07-10 18:35:37 -04:00
spycrab
b367cd0331
Core/NetPlay: Add debugging messages
2018-07-10 22:23:49 +02:00
Lioncash
9b2ffb6221
Qt/GameList: Replace includes with forward declarations where applicable
...
Avoids dragging in a bunch of includes from the header files, and also
reduces the amount of files that need to be recompiled if one of those
included headers' source content is ever changed.
2018-07-10 16:03:38 -04:00
Lioncash
a0642b3b00
Qt/Resources: Convert int parameters of GetCountry(), GetPlatform() and GetMisc() to enum classes
...
Makes the parameter strongly-typed and doesn't accept arbitrary int
values.
2018-07-10 15:23:12 -04:00
Lioncash
43bc3656eb
Qt/CheatsManager: Move concealable types into the cpp file
...
CompareType, DataType, and Result aren't directly used externally, so
these can have their definitions moved into the cpp file.
2018-07-10 14:34:24 -04:00
spycrab
71ff634c95
Merge pull request #7149 from spycrab/qt_5.9
...
Qt: Make Qt 5.9 a hard requirement
2018-07-10 20:20:27 +02:00
Lioncash
74899e417b
Qt/MenuBar: Make failures to load map and signature files more obvious
...
Previously we wouldn't indicate if saving or loading these files
happened to fail. In some cases we'd only print out to the logger, but
this is a pretty poor way to tell a user of the interface that something
went wrong in a direct way (the logging messages aren't able to be localized
either).
2018-07-10 14:16:00 -04:00
Ryan Meredith
affd5689ff
Qt: Clarify Synchronous (Ubershaders) name
2018-07-10 12:22:21 -04:00
spycrab
b9960777a7
Merge pull request #7236 from lioncash/fwd
...
DolphinQt/Settings: Replace includes with forward declarations
2018-07-10 16:24:33 +02:00
Techjar
006202a33c
NetPlay: Fix SRAM desyncing after first boot
2018-07-10 05:03:31 -04:00
Techjar
f68dbed535
NetPlay: Bundle multiple local pads into one packet
...
This saves a significant amount of bandwidth with multiple controllers on one client, as most of the packet is just protocol overhead.
2018-07-09 21:37:44 -04:00
Zac Davidsen
69999fd309
fix manual updating by passing the main window to the updater instead of the menubar
2018-07-09 19:39:50 -04:00
spycrab
31d9ca34e3
Merge pull request #7231 from Techjar/netplay-less-timebase
...
NetPlay: Send timebase packet less frequently
2018-07-09 23:29:46 +02:00
spycrab
4f5ea1ad5e
Merge pull request #7232 from Techjar/netplay-reduce-poll-rate-twice
...
NetPlay: Change "Reduce Polling Rate" to poll twice per frame
2018-07-09 23:29:22 +02:00
spycrab
31bc017593
Merge pull request #7235 from spycrab/jit_disable_following
...
Core/PowerPC: Add option to disable branch following
2018-07-09 23:22:08 +02:00
spycrab
df61e527da
Core/PowerPC: Add option to disable branch following
2018-07-09 22:58:40 +02:00
spycrab
074b67706b
Qt/Main: Remove redundant version check
2018-07-09 10:03:13 +02:00
spycrab
a22ffb6387
Qt: Remove ActionHelper
2018-07-09 10:02:10 +02:00
spycrab
4266d1f237
CMake: Require Qt 5.9
2018-07-09 09:17:33 +02:00
Lioncash
b4d91cc612
DolphinQt/Settings: Replace includes with forward declarations
...
Avoids dragging in netplay-related headers where they aren't explicitly
necessary.
2018-07-09 00:53:13 -04:00
Mat M
9487892c18
Merge pull request #7226 from lioncash/netplay
...
Core: Namespace NetPlay utilities under the NetPlay namespace
2018-07-09 00:38:12 -04:00
Techjar
2ee7021cda
Qt/MenuBar: Add missing JIT branch option in debugger
2018-07-08 14:32:40 -04:00
Techjar
38e67c0530
NetPlay: Change "Reduce Polling Rate" to poll twice per frame
...
Some games don't play nice when we poll only once per frame, so we'll poll twice instead.
2018-07-08 06:14:13 -04:00
Techjar
98447eae64
NetPlay: Send timebase packet less frequently
...
This packet is only used by the host to detect desyncs, and we don't really need to know the exact frame we desynced on (unless you're debugging, but you can just recompile for that), so it's perfectly fine to just send it less often. This makes it so the timebase packet is sent only every 60 frames, rather than every frame, which further cuts back on unnecessary bandwidth consumption.
2018-07-08 02:18:17 -04:00
spycrab
8c97fb7cd4
Merge pull request #7203 from rukai/use_tas_checkbox
...
Add "Enable Controller Input" Checkbox on TAS dialogs
2018-07-08 04:35:50 +02:00
iwubcode
bce8041cce
Input: Allow per-game configuration to specify directories for input-profiles. If specified, the directories are searched recursively for inis
2018-07-07 13:02:39 -05:00
iwubcode
3b11066e61
Fix lint bugs
2018-07-07 13:02:38 -05:00
iwubcode
230af569ed
Input - Make dynamic rules be definable per game. Configuration can now
...
define how many frames constitute a high or a low swing/shake when the
button is down. Also configurable is the number of frames to execute
the swing/shake after the button is released.
2018-07-07 12:55:52 -05:00
iwubcode
83c94feb3d
Input: Trim profile names to allow spaces between ','s
2018-07-07 12:55:52 -05:00
iwubcode
e10abaed3e
InputConfig: Show display message when game specific input profile is loaded; matching how cycling works
2018-07-07 12:55:52 -05:00
iwubcode
14482a72af
Input: Allow cycling to occur for each individual controller
2018-07-07 12:55:49 -05:00
iwubcode
485285eadc
Input: Add cycling between game specific profiles
2018-07-07 12:39:08 -05:00
iwubcode
3969bf6d1c
Input: Add hotkey to cycle the wiimote profile forward or backward
...
Co-authored-by: Barath Kannan <barathsotd@gmail.com>
2018-07-07 12:39:08 -05:00
spycrab
7b986c1b54
Merge pull request #7224 from lioncash/warning
...
VideoCommon/DolphinQt2: Resolve compiler warnings
2018-07-07 16:20:56 +02:00
Rukai
b94262ec33
Add 'Enable Controller Input' checkbox to TAS dialogs
...
When disabled only inputs from TAS dialog are used.
When enabled inputs from TAS dialog are used, except when a change in
input is detected from a real controller, in this case the TAS value is
replaced with the real controller value.
2018-07-07 22:55:42 +10:00
iwubcode
29b71fb9ce
Wiimote Emulation: increase left/right bounds for IR calculation, to fix games that previously you couldn't reach the left/right edges (ex: system menu)
2018-07-07 00:49:47 -05:00
iwubcode
5cbc825bc9
Wiimote Emulation: add 'dynamic' swing/shake options that vary based on how long the key is pressed
2018-07-07 00:49:47 -05:00
iwubcode
9936a83a1b
Add game-configurable shake/swing commands for the nunchuk at three intensities
2018-07-07 00:49:47 -05:00
iwubcode
fb7a6a1bbe
Wiimote Emulation: Add game-configurable shake/swing commands for the wiimote at three intensities
2018-07-07 00:49:47 -05:00
iwubcode
9f9afeb63e
Wiimote Emulation: Be able to trigger swings consistently by holding down buttons. This makes certain actions easier (tested with Red Steel)
2018-07-07 00:49:47 -05:00
Michael M
e7cbee235c
Convert Dolphin.Core.DefaultISO to use new-style config
2018-07-06 19:28:19 -07:00
Michael M
ce98a9c71d
Qt/MappingWindow: update devices combo box when hotplugging devices
2018-07-06 17:15:30 -07:00
Michael M
b689a195ff
Qt: add Settings::DevicesChanged signal
2018-07-06 17:15:29 -07:00
Lioncash
ef35f93cbd
DolphinQt/PatchesWidget: Remove unused private member variable m_game
...
This resolves a -Wunused-private-field warning
2018-07-06 19:58:51 -04:00
Lioncash
935a273cf1
DolphinQt/GameTracker: Remove unused lambda capture in constructor
...
This resolves a -Wunused-lambda-capture warning
2018-07-06 19:58:31 -04:00
Lioncash
34c3a65de6
VideoCommon/TextureCacheBase: Resolve a -Wmissing-braces warning in GetRAMCopyFilterCoefficients()
2018-07-06 19:56:35 -04:00
Lioncash
675260b0f7
Core: Namespace NetPlay utilities under the NetPlay namespace
...
Previously there was only one function under the NetPlay namespace,
which is kind of silly considering we have all of these other types
and functions existing outside of the namespace.
This moves the rest of them into the namespace.
This gets some general names, like Player, for example, out of the global namespace.
2018-07-06 19:53:23 -04:00
spycrab
13ba24c5a6
Move DolphinQt2 to DolphinQt
2018-07-07 00:48:38 +02:00
spycrab
059880bb16
Merge pull request #7221 from Techjar/netplay-config-junk
...
Fix NetPlay using some config values wrongly
2018-07-06 22:32:18 +02:00
spycrab
bb8b872863
Qt: Refresh Gamelist more thoroughly
2018-07-06 20:27:07 +02:00
spycrab
64c3d01551
Qt/GameTracker: Remove workaround
2018-07-06 20:18:45 +02:00
spycrab
28ca6fec9a
Merge pull request #7202 from Techjar/better-netplay-errors
...
Improve NetPlay connection error handling
2018-07-06 12:27:03 +02:00
spycrab
eb01a0a040
Merge pull request #7204 from spycrab/exclusive_mapping
...
Support for exclusive mapping booleans
2018-07-06 11:27:20 +02:00
Techjar
eeff5e07ff
Fix NetPlay using some config values wrongly
2018-07-05 17:52:53 -04:00
Techjar
a29cdb5713
Improve NetPlay connection error handling
2018-07-05 17:15:19 -04:00
spycrab
14317c8a0f
Merge pull request #7212 from Techjar/netplay-unparent-dialog
...
Qt: Unparent NetPlay dialog from main window
2018-07-05 22:49:58 +02:00
spycrab
fbf445154b
Merge pull request #7217 from Techjar/qt-clock-speed-slider
...
Qt/AdvancedPane: Fix CPU clock slider not updating on emulation state change
2018-07-05 22:48:21 +02:00
spycrab
233787e8a7
Merge pull request #7213 from Techjar/netplay-fix-md5
...
Qt/MD5Dialog: Fix checksum result comparison
2018-07-05 22:45:54 +02:00
spycrab
bb2eed2df3
Qt/GameTracker: Work around Qt crash
...
Works around a bug in QtCore that will cause crashes when
QFileSystemWatcher::addPath is called on a directory that is located on a
removable device (USB mass storage devices, etc.)
2018-07-05 22:07:41 +02:00
Techjar
cd8e3efb21
Qt/AdvancedPane: Fix CPU clock slider not updating on emulation state change
2018-07-05 15:20:29 -04:00
Techjar
f620128dac
Qt: Unparent NetPlay dialog from main window
...
This should make the NetPlay dialog appear as a separate window in the taskbar on most systems, which makes more sense than a parented dialog as the user will leave it open for an extended period.
2018-07-05 06:48:31 -04:00
Techjar
f3e2d98fdd
Qt/MD5Dialog: Fix checksum result comparison
2018-07-04 22:51:11 -04:00
Mat M
9ea3e833ba
Merge pull request #7141 from lioncash/fp
...
Interpreter_FPUtils: Handle the FPSCR.ZE and FPSCR.VE flags with arithmetic instructions
2018-07-04 22:26:24 -04:00
Markus Wick
fd83937987
Merge pull request #6338 from mahdihijazi/settings_enhancements
...
Update Android UI Settings to have the most common used settings
2018-07-04 21:50:09 +02:00
Markus Wick
0cf205f947
Merge pull request #7211 from mahdihijazi/upgrade_targetsdk
...
Android: Upgrade targetSDK to 27 and androidSupportVersion to 7.1.1
2018-07-04 21:45:13 +02:00
Markus Wick
28e5ccb2a9
Merge pull request #7210 from mahdihijazi/disable_auto_backup
...
Android: Disable automatic backup
2018-07-04 21:44:53 +02:00
spycrab
3ab3ba0d99
Merge pull request #7187 from Techjar/netplay-reduce-poll-rate
...
Add "Reduce Polling Rate" option to NetPlay
2018-07-04 20:49:29 +02:00
spycrab
7cbb111703
Merge pull request #7209 from spycrab/netplay_stop
...
Qt/NetPlay: Fix not being able to stop NetPlay games properly
2018-07-04 18:59:46 +02:00
spycrab
f7887a442f
Qt/NetPlayDialog: Stop games properly
2018-07-04 16:27:16 +02:00
spycrab
713d55f284
Merge pull request #7208 from Techjar/mipmap-invalidate
...
Make arbitrary mipmap detection toggle invalidate the texture cache
2018-07-04 01:26:49 +02:00
spycrab
bbbd886184
Qt/MainWindow: Instantly stop when requested by NetPlay
2018-07-04 00:54:50 +02:00
spycrab
d8212fd927
Core/Core: Fix getting stuck when Stop is called without emulation running
2018-07-04 00:52:53 +02:00
Techjar
80b05b6f0d
Make arbitrary mipmap detection toggle invalidate the texture cache
...
We want this setting to invalidate the cache because it may affect the appearance of textures in the rendered scene, therefore one would expect changing it while the game is running to have the expected effect immediately.
2018-07-03 18:44:11 -04:00
spycrab
47c5a2f7ed
Merge pull request #7200 from Techjar/qt-dialog-fixes-2-electric-boogaloo
...
Qt: Various dialog fixes
2018-07-03 12:32:31 +02:00
Techjar
a6a188a66b
Qt: Various dialog fixes
2018-07-03 04:28:07 -04:00
Markus Wick
4b1b713e61
Merge pull request #7191 from GerbilSoft/feature/ar-thin-archives
...
CMake: Use thin archives on Linux.
2018-07-03 10:22:02 +02:00
spycrab
806c1ee8f0
Merge pull request #7207 from spycrab/qt_lazy_hotkey
...
Qt/MainWindow: Lazily initialize hotkey mapping window
2018-07-03 08:42:33 +02:00
spycrab
f8bb4355a5
Merge pull request #7199 from spycrab/qt_default_iso
...
Qt/PathPane: Update "Default ISO" when changed
2018-07-03 08:34:47 +02:00
spycrab
457d7cf58f
Qt/MainWindow: Lazily initialize hotkey mapping window
2018-07-03 08:24:45 +02:00