| Age | Commit message (Collapse) | Author |
|
According to @Kirbymimi it doesn't crash on real hardware.
Testing was done by sending many UDP packets to an unbound port.
|
|
IOS/KD: Correctly handle registration of the default user ID
|
|
|
|
Retain Save State Folder
|
|
|
|
|
|
A nonzero index makes no sense, and Mesa doesn't like it when you supply an index
|
|
Unlike ADD (immediate), MOV (register) treats SP as ZR. Therefore the
ADDI2R optimization that was added in 67791d227c can't optimize ADD to
MOV when exactly one of the registers is SP.
There currently isn't any code in Dolphin that calls ADDI2R with
parameters that would trigger this case.
|
|
Adds a setting field under the hood to retain which folder the player last saved/loaded a state to/from, so that the dialog box to select a state to save/load reopens at that folder.
|
|
InputCommon: Fix profile path inconsistencies
|
|
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.
|
|
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.
|
|
By having getters for this information, other code that needs access to
the same information can call the getters instead of duplicating the
information.
|
|
|
|
AchievementManager: Minor cleanup
|
|
CheatSearch: Remove redundant lambdas
|
|
VertexLoaderManager: Remove unused entry struct
|
|
Same behavior, less code.
|
|
This isn't used anywhere, so it can be removed.
|
|
This can be a direct return.
|
|
A little more idiomatic.
|
|
We can just use brace initialization to zero these out. Smaller to
write and a little quicker to read.
|
|
Avoids churning some allocations.
|
|
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.
|
|
These perform a default comparison, which is the same as using the
equality operators.
|
|
Same behavior, less code.
|
|
We can remove the long qualifying on some ResponseType instances to
lessen the amount of reading.
|
|
Ensures that these go into the ro section.
|
|
We can use the string_view arguments to directly construct strings
inside of the global_result vector.
|
|
We can just use holds_alternative here instead.
|
|
Core::RunAsCPUThread is obsoleted by CPUThreadGuard reference already passed into the function. The nonsense lambda in CheatSearchWidget is from changes in fdb7328c737f2bba148b903491b66fa62cc03703.
|
|
|
|
|
|
VideoCommon/Statistics: Remove global system accessor from s_after_frame_event
|
|
GraphicsModGroup: Allow heterogenous lookup for GetMod()
|
|
Core/Movie: Remove lingering global system instance accessors
|
|
The movie manager is already passed in a reference to the relevant
system, so we can use that instead.
|
|
Potentially avoids reallocations if the capture buffer of the callback
is quite large.
|
|
Instead, we make the event take a reference to the system and then pass
it in when the event is triggered.
This does introduce two other accessors, but these are much easier to
refactor out over time, and without modification to the existing event
interface.
|
|
Makes the hash specialization a little less noisy. Also we mark it
noexcept, since hashes shouldn't be throwing exceptions (and this can be
optimized on).
|
|
Lets us collapse the namespacing and make the specialization a little
less noisy.
|
|
We can specify the namespace on the hash to make the specialization a
little less noisy.
|
|
We can just tag the std:: onto the end of the specialization to make it
less noisy.
Also mark it as noexcept, since hashes shouldn't throw exceptions.
|
|
The config object is quite heavyweight, so we should move this instead
of copying.
|
|
We can use contains() here, and also move the mod config if it's valid
instead of copying it, since it contains quite a bit of allocated data.
|
|
All we do is read from it, so we don't need to copy the string if we
happen to have one.
|
|
Allows using keys that aren't directly std::string as the key. This lets
us use std::string_view for the incoming path name, making it more
flexible with other string types.
|
|
Migrate m_is_mios and bWii from SConfig to System.
|
|
|
|
Add Missing EncodeRegTo64 in JitArm64::dcbx
|