Commit graph

177 commits

Author SHA1 Message Date
mitaclaw
cc16346d8f Simplify std::find with Common::Contains
In NandPaths.cpp, the `std::initializer_list<char>` of illegal characters has been turned into a `char[]` (similar to the one in GameList.cpp).

The reverse iteration in ResourcePack.cpp seemed to provide no benefits, and doing without it it seemed to have no ill effects.
2025-01-01 19:54:07 +00:00
Nayla Hanegan
0c05a273ae add blocking lobby 2024-12-16 02:31:07 -05:00
Nayla Hanegan
4d0fbc1a87 fix browser 2024-12-16 01:46:54 -05:00
Nayla Hanegan
9e5e6bd5e2 multi fix 2024-10-23 18:33:49 -04:00
Nayla Hanegan
078b9ec05e derp 2024-10-23 17:53:58 -04:00
Nayla Hanegan
f802c19f87 some more compiler fixes 2024-10-23 15:46:20 -04:00
Nayla Hanegan
4bd7d38a77 Merge branch 'master' of https://github.com/dolphin-emu/dolphin into dolphin-emu-master 2024-10-23 14:29:49 -04:00
mitaclaw
d296b2613c Modernize std::adjacent_find with ranges 2024-10-10 15:28:11 -07:00
JosJuice
6ca2da53e8 Partially revert "Revert "Audit uses of IsRunning and GetState""
This reverts the revert commit bc67fc97c3,
except for the changes in BaseConfigLoader.cpp, which caused the bug
that made us revert 72cf2bdb87. PR 12917
contains an improved change to BaseConfigLoader.cpp, which can be merged
(or rejected) independently.

A few changes have also been made based on review comments.
2024-10-04 18:35:41 +02:00
Nayla Hanegan
1b8bdf7de7 Merge branch 'master' of https://github.com/MarioPartyNetplay/Dolphin-MPN 2024-09-28 20:23:25 -04:00
Nayla Hanegan
912cd271b2 test 8 player support 2024-09-28 20:20:52 -04:00
Nayla Hanegan
263f5f71a5 fix gray out bug 2024-09-03 21:17:00 -04:00
Nayla Hanegan
2bb83b1adb more shady stuff 2024-08-23 15:42:58 -04:00
Nayla Hanegan
7e6752e8fc Merge branch 'master' of https://github.com/dolphin-emu/dolphin into dolphin-emu-master 2024-08-23 13:38:17 -04:00
Alfred Wingate
d7c93d87be
Add support for libfmt-11
fmt::join was moved into fmt/ranges.h

Signed-off-by: Alfred Wingate <parona@protonmail.com>
2024-08-22 16:54:35 +03:00
Dr. Dystopia
618b41a459 Use 'contains' method 2024-08-14 22:18:28 +02:00
JosJuice
bc67fc97c3 Revert "Audit uses of IsRunning and GetState"
This reverts commit 72cf2bdb87.

SYSCONF settings are getting cleared when they shouldn't be. Let's
revert the change until I get proper time to figure out why it's broken.
2024-06-26 20:36:46 +02:00
JosJuice
72cf2bdb87 Audit uses of IsRunning and GetState
Some pieces of code are calling IsRunning because there's some
particular action that only makes sense when emulation is running, for
instance showing the state of the emulated CPU. IsRunning is appropriate
to use for this. Then there are pieces of code that are calling
IsRunning because there's some particular thing they must avoid doing
e.g. when the CPU thread is running or IOS is running. IsRunning isn't
quite appropriate for this. Such code should also be checking for the
states Starting and Stopping. Keep in mind that:

* When the state is Starting, the state can asynchronously change to
  Running at any time.
* When we try to stop the core, the state gets set to Stopping before we
  take any action to actually stop things.

This commit adds a new method Core::IsUninitialized, and changes all
callers of IsRunning and GetState that look to me like they should be
changed.
2024-06-21 20:52:55 +02:00
Nayla Hanegan
98c174edc4 meh 2024-05-12 02:17:59 -04:00
Nayla Hanegan
83c63db3be revert changes 2024-05-12 00:07:10 -04:00
Nayla Hanegan
8f681162d5 desync hud 2024-05-11 23:59:29 -04:00
Nayla Hanegan
9915c3102e another compile atempt 2024-05-11 23:32:27 -04:00
Nayla Hanegan
b6e2e2bd3d derp 2024-05-11 23:17:07 -04:00
Nayla Hanegan
0a2d2c624b Merge branch 'master' of https://github.com/dolphin-emu/dolphin into dolphin-emu-master 2024-05-11 22:21:49 -04:00
Nayla Hanegan
9e167bf163 host 2024-05-11 21:48:34 -04:00
Admiral H. Curtiss
c23562b7b5
Merge pull request #12695 from mitaclaw/core-global-system-4
Core::IsRunning: Avoid Global System Accessor
2024-05-04 05:15:35 +02:00
mitaclaw
0df401b164 Core::IsRunning: Avoid Global System Accessor 2024-05-01 08:54:17 -07:00
mitaclaw
0397339ab1 DolphinQt: Properly Delete (Some) Widgets
This is not every memory leak, just the ones that were obvious.
2024-04-30 11:17:28 -07:00
Nayla Hanegan
394228990a
commit changes 2024-01-04 19:42:18 -05:00
Nayla Hanegan
09fe9ed15b
fixed Netplay interface 2024-01-04 19:06:20 -05:00
Nayla Hanegan
f280c856da Merge branch 'dolphin-emu-master' 2024-01-02 19:46:28 -05:00
Nayla Hanegan
c18016e795 Merge branch 'master' of https://github.com/dolphin-emu/dolphin into dolphin-emu-master 2023-12-25 20:08:08 -05:00
Mai
d85cb749c0
Merge pull request #11382 from skyfloogle/traversal-fix-2
Traversal: Use low TTL for probe packet
2023-11-30 18:03:50 -05:00
Dentomologist
715ba3cd0f NetPlaySetupDialog: Fix spacing in Connect tab
Add a spacer between the alert text and Connect button to prevent the
alert text from migrating down with larger window heights.
2023-11-25 13:14:45 -08:00
Dentomologist
43e69d3e6a DolphinQt: Remove unnecessary qOverloads
qOverload is used to disambiguate pointers to overloaded functions, but
most of the usages in the code base were with non-overloaded functions.
2023-11-04 14:14:14 -07:00
Admiral H. Curtiss
0a73df6b7b
DolphinQt: Set window decorations for all top-level QWidgets. 2023-08-16 21:13:35 -04:00
Admiral H. Curtiss
e2fb8fab2f
DolphinQt: Set window decorations for all top-level QWidgets. 2023-08-12 16:54:54 +02:00
Nayla Hanegan
871da4e307
Merge #15 2023-05-26 15:52:58 -04:00
Floogle
5c1c22bab9 Traversal: Notify user of TTL to be used 2023-05-20 17:15:10 +02:00
Nayla Hanegan
59a3ef26ce
thing 2023-04-24 10:44:58 -04:00
Lioncash
30e7ab94fa Common/TraversalProto: Move interface into Common namespace
Gets the types out of the global namespace.
2023-04-24 08:53:14 -04:00
Lioncash
27f38c6c8f Common/TraversalClient: Move interface into Common namespace
Gets the interface out of the global namespace.
2023-04-24 08:28:25 -04:00
Nayla Hanegan
561e871ed7 minor netplay fixes 2023-04-24 00:41:03 -04:00
Nayla Hanegan
255558db6d Revert "work on netcore"
This reverts commit fcfb000317.
2023-04-23 10:06:05 -04:00
Nayla Hanegan
fcfb000317
work on netcore 2023-04-20 20:23:46 -04:00
Nayla
f3669dbbd4
Merge branch 'dolphin-mpn' into master 2023-04-05 04:10:05 -04:00
Scott Mansell
abfc75f362 Cleanup headers 2023-01-31 19:41:24 +13:00
Pokechu22
f9fe25291d Remove most uses of StringFromFormat in favor of fmt 2022-10-12 16:50:47 -07:00
Admiral H. Curtiss
571e300e9e
Merge pull request #11047 from AdmiralCurtiss/netplay-save-options-rework
Netplay: Simplify save data options.
2022-09-24 20:26:05 +02:00
JMC47
b0ac5ac6af
Merge pull request #10949 from Zopolis4/reprecated
Resolve C++20 deprecation warnings
2022-09-22 21:56:24 -04:00