JosJuice
ceacd0930b
Android: Add "Import BootMii NAND Backup"
2021-04-19 21:38:22 +02:00
JosJuice
27ddf6382b
Set console's default language/country/region based on computer settings
2021-03-27 10:05:26 +01:00
Léo Lam
5efd563b03
Merge pull request #9555 from JosJuice/android-jni-cleanup
...
Android: Some JNI cleanup
2021-03-05 00:47:36 +01:00
JosJuice
d99d72f5a6
Android: Remove #ifdef __cplusplus checks
...
A C compiler would very much be unable to build this code anyway.
2021-03-04 22:47:23 +01:00
JosJuice
ae5f8853a4
Android: Delete more references in IDCache.cpp
...
It's not causing any problems in practice so far, but let's fix it
before I add even more stuff without remembering to delete references.
2021-03-03 22:58:59 +01:00
JosJuice
dbcdead04d
Android: Split GameFileCacheService broadcasts into two types
2021-02-20 21:04:00 +01:00
Shawn Hoffman
500a694ca8
msbuild: bundle all dolphin "core" code into single library
2021-01-27 14:29:49 -08:00
JosJuice
347551a01d
Android: Implement save overwrite confirmation
2021-01-27 20:10:07 +01:00
JosJuice
cd4ccda51c
Android: Add "Import Wii Save"
2021-01-27 20:10:06 +01:00
JosJuice
80b56b6575
Android: Move InstallWAD to a new WiiUtils class
...
I'm trying to move away from dumping every native method
in NativeLibrary.
2021-01-27 20:10:05 +01:00
JosJuice
5978550b2f
Android: Fix in-game settings changes not getting saved
...
EmulationActivity has an instance of Settings. If you go to
SettingsActivity from EmulationActivity and change some settings,
the changes get saved to disk, but EmulationActivity's Settings
instance still contains the old settings in its map of all
settings (assuming the EmulationActivity was not killed by the
system to save memory). Then, once you're done playing your
game and exit EmulationActivity, EmulationActivity calls
Settings.saveSettings. This call to saveSettings first overwrites
the entire INI file with its map of all settings (which is
outdated) in order to save any legacy settings that have changed
(which they haven't, since the GUI doesn't let you change legacy
settings while a game is running). Then, it asks the new config
system to write the most up-to-date values available for non-legacy
settings, which should make all the settings be up-to-date again.
The problem here is that the new config system would skip writing
to disk if no settings changes had been made since the last time
we asked it to write to disk (i.e. since SettingsActivity exited).
NB: Calling Settings.loadSettings in EmulationActivity.onResume
is not a working solution. I assume this is because
SettingsActivity saves its settings in onStop and not onPause.
2021-01-18 15:27:16 +01:00
JosJuice
c1d041b888
Merge pull request #9318 from JosJuice/android-saf-games
...
Android: Use storage access framework for game list
2020-12-30 11:10:35 +01:00
JosJuice
d78277c063
Android: Add specialized content provider implementation of DoFileSearch
2020-12-28 21:00:10 +01:00
JosJuice
73855168f3
Android: Show a message when adding a folder with no games
...
To catch people who try to use unsupported formats.
2020-12-28 18:53:18 +01:00
JosJuice
6f05c40013
Android: Correctly save in-game settings changes to disk
2020-12-24 13:37:33 +01:00
JosJuice
2126f62111
Android: Add content provider support to File::ScanDirectoryTree
2020-12-20 13:24:54 +01:00
JosJuice
525268f043
Android: Fix opening games with extensionless URI
2020-12-20 13:24:54 +01:00
JosJuice
a7c05d7e84
Android: Add content provider support to File::FileInfo
2020-12-20 13:24:54 +01:00
JosJuice
99ffee9a0a
Android: Add content provider support to File::OpenFStream
2020-12-20 13:24:54 +01:00
JosJuice
d8744e6db8
Add caching to Config::Info
...
The goal of this change is to make Config::Get(const Info<T>&)
fast so that we can use it in hot paths.
2020-12-12 13:58:50 +01:00
JMC47
75899b0e11
Merge pull request #9221 from JosJuice/android-saf-sd-card
...
Android: Use storage access framework for custom SD card paths
2020-12-10 16:32:43 -05:00
Ryan Meredith
aaafb9ba04
Android: Add "Generate a New Statistics Identity"
2020-11-30 13:20:58 -05:00
Sepalani
20ebed51bb
IP/Top: Add Android network interface
2020-11-27 19:10:28 +04:00
JosJuice
8181a7b3dd
Android: Remove unnecessary ANativeWindow_release call
...
This is already handled by SurfaceDestroyed. In the worst case,
the extra code could even race with SurfaceDestroyed if they
are triggered at the same time, but this is highly improbable.
2020-11-09 10:38:50 +01:00
JosJuice
ee52f465b1
Android: Fix rotating EmulationActivity after boot fails
...
Time for yet another new iteration of working around the
"surface destruction during boot" problem...
This time, the strategy is to use a mutex in MainAndroid.cpp.
2020-11-09 10:38:49 +01:00
JosJuice
0280f3557c
Android: Finish EmulationActivity from C++
...
This makes EmulationActivity automatically close if booting
fails, and lets us get rid of s_emulation_end_event.
2020-11-09 10:33:52 +01:00
JosJuice
e4793cfb39
Android: Don't name unused JNIEnv/jobject/jclass parameters
2020-11-07 12:08:48 +01:00
JosJuice
57dc54144d
Android: Fix jobject/jclass warnings
...
Static methods use jclass, and non-static methods use jobject.
2020-11-07 12:06:57 +01:00
JosJuice
70df5446d3
Android: Make the handling of SAF open modes more robust
2020-11-06 17:40:03 +01:00
JosJuice
a348efe947
Fix dereferencing nullptr BootParameters
2020-11-06 09:34:53 +01:00
JosJuice
21d3ea523c
Android: Show how long ago each savestate was created
2020-10-21 22:49:59 +02:00
Léo Lam
a8b7c3b577
Merge pull request #8893 from JosJuice/android-jni-declarations
...
Android: Remove unnecessary JNI function declarations
2020-10-21 22:46:58 +02:00
JosJuice
3a0917371e
Android: Don't show game ID after game title
2020-10-21 20:02:52 +02:00
JosJuice
0dc29c743b
Android: Get game metadata from core
...
Trying to get it from a GameFile before emulation starts is unreliable.
2020-10-21 20:02:52 +02:00
JosJuice
439866d257
Android: Remove unnecessary JNI function declarations
...
We generally have no reason to call these functions on our own, so
there's not much reason to declare them, especially not in the cpp
file where they're defined. In case we ever do get a reason to do
it, we can add declarations for just the functions that need them.
2020-10-19 20:55:13 +02:00
JosJuice
cb14b65aad
CMake: Fix build errors exposed by making common dependent on fmt
2020-10-19 14:36:09 +02:00
Léo Lam
a209410e70
Merge pull request #9148 from JosJuice/android-active-layer
...
Android: Fix setting read during play with local game layer active
2020-10-19 12:17:59 +02:00
Léo Lam
b24223c178
Merge pull request #9135 from JosJuice/show-nkit
...
Show NKitness in file format string
2020-10-14 12:19:53 +02:00
JosJuice
2861248520
Android: Fix setting read during play with local game layer active
...
During emulation, when LocalGame has a value but CurrentRun
doesn't, we want to read from LocalGame, not CurrentRun. This
change exposes a LAYER_ACTIVE option that handles this correctly.
2020-10-13 16:35:33 +02:00
JosJuice
d64fc67b04
Show NKitness in file format string
...
To make people more aware that they're not using a normal disc image.
2020-10-06 19:35:00 +02:00
Ryan Meredith
c3f34ac3fa
Android: Add "Ignore for this session" to Warning AlertMessages
2020-09-25 11:50:59 -04:00
Ryan Meredith
991eb6ae83
Android: Use DialogFragment for AlertMessage
2020-09-25 11:50:04 -04:00
JMC47
54e570a95f
Merge pull request #8902 from JosJuice/android-convert
...
Android: Add disc image conversion
2020-09-23 12:27:43 -04:00
JMC47
f33767f19c
Merge pull request #9088 from JosJuice/android-sysconf
...
Android: Add Wii SYSCONF settings to GUI
2020-09-22 14:03:56 -04:00
JosJuice
f01ccfdb82
Android: Only allow conversion when appropriate
2020-09-16 18:48:25 +02:00
JosJuice
3805b84906
Android: Add content provider support to File::Delete
2020-09-16 18:38:53 +02:00
JosJuice
6e1e6d2311
Android: Add content provider support to File::IOFile
...
Taking the hit now to prepare us for when Google Play will
force us to use scoped storage...
2020-09-16 18:38:53 +02:00
JosJuice
d9f3e382fe
Android: Add a progress dialog for disc image conversion
2020-09-16 18:38:52 +02:00
JosJuice
7d6debb907
Android: Add disc image conversion
2020-09-16 18:38:07 +02:00
JosJuice
161f99b864
Android: Move OSD out of the way when menu is open
...
https://bugs.dolphin-emu.org/issues/12256
2020-09-16 18:36:15 +02:00