Commit graph

41929 commits

Author SHA1 Message Date
Nikhil Narayana
b01b40ece0
fix: don't output music if null backend is selected 2024-06-01 11:36:45 -07:00
Nikhil Narayana
913ae9351d
build(win): create portable.txt file automatically 2024-03-26 10:25:05 -07:00
Vlad Firoiu
cad3e88767
build(macOS): correctly set number of threads for building (#20)
The current value $(nproc) only works on Linux and defaults to empty string
on macos, which results in unlimited paralellism and likely a system OOM.
2024-03-22 11:13:51 -07:00
Nikhil Narayana
4a06679391
release(netplay): v4.0.0-mainline-beta.4 2024-02-22 23:44:16 -08:00
Nikhil Narayana
293b5542b6
chore: remove unnecessary changes 2024-02-22 23:40:57 -08:00
Nikhil Narayana
bdd9005675
Merge pull request #16 from project-slippi/upstream-merge-2024-02-09
chore: upstream merge to 5.0-21088
2024-02-14 21:29:53 -08:00
Nikhil Narayana
ad8061bc9d
ci(win): fix codesigntool download check 2024-02-14 19:36:05 -08:00
Nikhil Narayana
df9305c187
build(windows): get rust extensions from correct build dir 2024-02-13 14:08:56 -08:00
Nikhil Narayana
89133c8f89
build(linux): use linuxdeploy qt plugin 2024-02-13 14:08:55 -08:00
Nikhil Narayana
2cc0521720
chore(ci): bump some versions 2024-02-13 14:08:55 -08:00
Nikhil Narayana
a07dd24a96
fix: post merge build failures 2024-02-13 14:08:54 -08:00
Nikhil Narayana
dce90c0567
Merge commit '9240f579ea' into upstream-merge-2024-02-09 2024-02-09 23:17:20 -08:00
Nikhil Narayana
667102f0c3
release(netplay): v4.0.0-mainline-beta.3 2024-02-08 00:29:53 -08:00
Nikhil Narayana
90b310922b
ci(macOS): use macos-12 builder and fix notarization/signing (#15)
* ci(macOS): test macos-12 builder

* Port over notarytool upgrades

* fix entitlements path

* Alter bundle identifier for notarization, alter display name (NOT bundle name) to be more human readable

* Add comment explaining the unexpected directory and path structure on macOS

---------

Co-authored-by: Ryan McGrath <ryan@rymc.io>
2024-02-08 00:20:29 -08:00
Nikhil Narayana
66862c9bda
ci(macOS): re-enable signing/notarization 2024-02-07 03:46:28 -08:00
Nikhil Narayana
1dc1544c10
ci(windows): fix downloading signing tool 2024-02-07 03:29:49 -08:00
Nikhil Narayana
36a932966b
fix: correct the SLIPPI_RUST_ONLINE log name 2024-02-06 21:17:28 -08:00
Nikhil Narayana
439f14aa40
build(macOS): don't use cmake's signing on CI 2024-02-06 21:16:27 -08:00
Nikhil Narayana
cd10a9f647
chore: update rust extensions 2024-02-06 21:16:03 -08:00
Vlad Firoiu
62447277c4
build(macOS): ignore mbedtls warnings and fix QIcon error (#12)
also fix standard codesigning, does not affect our separate method
2024-02-06 21:07:13 -08:00
Mai
9240f579ea
Merge pull request #12561 from JosJuice/profile-consistency
InputCommon: Fix profile path inconsistencies
2024-02-05 09:47:08 -05:00
JosJuice
1315b54ffa InputCommon: Use distinct values for profile key
Because the last commit made us use separate folders for GCPad and
GCKey profiles, we should also use separate game INI keys for them.
Otherwise setting e.g. PadProfile1 in a game INI will make both GCPad
and GCKey try to load it, typically with one of them succeeding and the
other one showing a panic alert due to the profile not existing in its
folder.

Better do this breaking change for GCKeys in the same PR as the other
breaking change rather than later.
2024-02-04 17:55:08 +01:00
JosJuice
6cf55ab1ee InputCommon: Unify GetProfileName and GetProfileDirectoryName
After reading the previous commit, you might think "hold on, what's the
difference between GetProfileName and GetProfileDirectoryName"? These
two are being used for the exact same thing - figuring out where
profiles are stored - yet they return different values for certain
controllers like GC keyboards! As far as I can tell, the existing code
has been broken for GC keyboards since they were introduced a decade
ago. The GUI (and more recently, also InputCycler) would write and read
profiles in one location, and our code for loading profiles specified in
a game INI file would read profiles in another location.

This commit gets rid of the set of values used by the game INI code in
favor of the other set. This does breaking existing setups where a
GCKey profile has been configured in a game INI, but I think the number
of working such setups is vanishingly small. The alternative would make
existing GCKey profiles go missing from the profile dropdown in the GUI,
which I think would be more disruptive. The alternative would also force
new GCKey profiles into the same directory as GCPad profiles.

This commit also fixes a regression from d6c0f8e749. The Android GUI was
using GetProfileName to figure out what key to use in the game INI,
which made it use incorrect game INI entries for GameCube controller
profiles but not Wii Remote profiles. Now the Android GUI uses
GetProfileKey for this, fixing the problem.
2024-02-04 17:55:08 +01:00
JosJuice
2bcf70af3f InputCommon: Refactor away InputConfig::LoadConfig's switch case
By having getters for this information, other code that needs access to
the same information can call the getters instead of duplicating the
information.
2024-02-04 16:46:10 +01:00
Admiral H. Curtiss
abbc4bd0bd
Merge pull request #12551 from lioncash/cheev
AchievementManager: Minor cleanup
2024-02-03 03:01:56 +01:00
Admiral H. Curtiss
4e3886e7e8
Merge pull request #12557 from mitaclaw/cpu-thread-guarantees-1
CheatSearch: Remove redundant lambdas
2024-02-03 02:45:06 +01:00
Admiral H. Curtiss
df5baab873
Merge pull request #12550 from lioncash/dead
VertexLoaderManager: Remove unused entry struct
2024-02-03 02:38:02 +01:00
Admiral H. Curtiss
3b01531958
Merge pull request #12552 from lioncash/custom
CustomPipeline: Resolve unused variable warning
2024-02-02 20:31:52 +01:00
Lioncash
4f40bdf501 VertexLoaderManager: Use fill() in Init()
Same behavior, less code.
2024-02-01 23:04:40 -05:00
Lioncash
ea95c82a01 VertexLoaderManager: Remove unused entry struct
This isn't used anywhere, so it can be removed.
2024-02-01 23:04:39 -05:00
Lioncash
db80abbadd AchievementManager: Tidy up GetRichPresence()
This can be a direct return.
2024-02-01 23:03:24 -05:00
Lioncash
c14414a151 AchievementManager: clear name in CloseGame()/LogOut()
A little more idiomatic.
2024-02-01 23:03:24 -05:00
Lioncash
2d8af7b7f8 AchievementManager: Replace memsets where applicable
We can just use brace initialization to zero these out. Smaller to
write and a little quicker to read.
2024-02-01 23:03:24 -05:00
Lioncash
184fe932ed AchievementManager: std::move leaderboard info in FetchBoardInfo()
Avoids churning some allocations.
2024-02-01 23:03:24 -05:00
Lioncash
76c381e6f7 AchievementManager: Ensure update callback is always valid
This way we don't need to do any validity checking aside from the
initial setting of the callback. Also cuts down on line noise.
2024-02-01 23:03:23 -05:00
Lioncash
2b83cc739a AchievementManager: Convert .compare() into equality operators
These perform a default comparison, which is the same as using the
equality operators.
2024-02-01 23:03:23 -05:00
Lioncash
394418b415 AchievementManager: Remove unnecessary .get()
Same behavior, less code.
2024-02-01 23:03:23 -05:00
Lioncash
161efff6c9 AchievementManager: Remove long qualifier
We can remove the long qualifying on some ResponseType instances to
lessen the amount of reading.
2024-02-01 23:03:23 -05:00
Lioncash
7096f99f79 CustomPipeline: Mark arrays as constexpr
Ensures that these go into the ro section.
2024-02-01 23:02:45 -05:00
Lioncash
59211589b9 CustomPipeline: Make use of emplace_back() in GlobalConflicts()
We can use the string_view arguments to directly construct strings
inside of the global_result vector.
2024-02-01 23:02:45 -05:00
Lioncash
353ceedb50 CustomPipeline: Resolve unused variable warning
We can just use holds_alternative here instead.
2024-02-01 23:02:45 -05:00
mitaclaw
085c4d154e CheatSearch: Remove redundant lambdas
Core::RunAsCPUThread is obsoleted by CPUThreadGuard reference already passed into the function. The nonsense lambda in CheatSearchWidget is from changes in fdb7328c73.
2024-02-01 19:54:47 -08:00
JosJuice
d96d2cd68c Translation resources sync with Transifex 2024-02-01 21:47:52 +01:00
Admiral H. Curtiss
24704fc279
Merge pull request #12554 from AdmiralCurtiss/boot-nandtitle-fix
Core: Fix booting titles from NAND.
2024-02-01 20:33:21 +01:00
Admiral H. Curtiss
951be30891
Core: Fix booting titles from NAND. 2024-02-01 19:50:20 +01:00
Admiral H. Curtiss
3a9860eb6e
Merge pull request #12514 from SuperSamus/hidapi-submodule
Externals/hidapi: Convert to submodule
2024-02-01 19:49:48 +01:00
Mai
438f5c3412
Merge pull request #12548 from AdmiralCurtiss/dead-automatic-start
Core/ConfigManager: Remove dead bAutomaticStart flag.
2024-01-31 17:42:24 -05:00
Admiral H. Curtiss
14121c5504
Core/ConfigManager: Remove dead bAutomaticStart flag. 2024-01-31 22:53:43 +01:00
Admiral H. Curtiss
da6b5dd38a
Merge pull request #12546 from lioncash/event
VideoCommon/Statistics: Remove global system accessor from s_after_frame_event
2024-01-31 21:16:21 +01:00
Admiral H. Curtiss
18abf7c768
Merge pull request #12544 from lioncash/getmod
GraphicsModGroup: Allow heterogenous lookup for GetMod()
2024-01-31 20:17:26 +01:00