summaryrefslogtreecommitdiff
path: root/Source/Android
AgeCommit message (Collapse)Author
2024-03-22Merge pull request #12606 from mitaclaw/state-global-systemAdmiral H. Curtiss
State: Avoid Global System Accessor
2024-03-22Merge pull request #12620 from mitaclaw/jit-interface-cpu-thread-guardAdmiral H. Curtiss
JitInterface::ClearCache: Modernize With CPUThreadGuard
2024-03-22Merge pull request #12648 from mitaclaw/core-global-systemAdmiral H. Curtiss
Core: Avoid (Some) Global System Accessor
2024-03-18Core: Avoid (Some) Global System Accessormitaclaw
2024-03-17Implement GC modem adapterMartin Michelsen
This implements the GameCube modem adapter. This implementation is stable but not perfect; it drops frames if the receive FIFO length is exceeded. This is probably due to the unimplemented interrupt mentioned in the comments. If the tapserver end of the connection is aware of this limitation, it's easily circumvented by lowering the MTU of the link, but ideally this wouldn't be necessary. This has been tested with a couple of different versions of Phantasy Star Online, including Episodes 1 & 2 Trial Edition. The Trial Edition is the only version of the game that supports the Modem Adapter and not the Broadband Adapter, which is what made this commit necessary in the first place.
2024-03-17fix android syntax errorMartin Michelsen
2024-03-17implement tapserver BBA on all platformsMartin Michelsen
This expands the tapserver BBA interface to be available on all platforms. tapserver itself is still macOS-only, but newserv (the PSO server) is not, and it can directly accept local and remote tapserver connections as well. This makes the tapserver interface potentially useful on all platforms.
2024-03-17Merge pull request #12616 from mitaclaw/dvd-interface-cpu-thread-guardAdmiral H. Curtiss
DVDInterface: Modernize With CPUThreadGuard
2024-03-08DVDInterface: Modernize With CPUThreadGuardmitaclaw
2024-03-04JitInterface::ClearCache: Modernize With CPUThreadGuardmitaclaw
It is recommended to view this diff with whitespace changes hidden.
2024-03-01BootManager: Avoid Global System Accessormitaclaw
2024-03-01State: Avoid Global System Accessormitaclaw
2024-02-11Merge pull request #12573 from JosJuice/android-wii-menu-download-sizeMai
Android: Mention download size in the Wii Menu not installed message
2024-02-11Android: Mention download size in the Wii Menu not installed messageJosJuice
Google Play's policies require us to tell the user the size of any large download. The size seems to vary by just a megabyte or two across regions in my testing, so I'm listing a rough size for all the regions. I'm also taking the opportunity to shorten the message to make it easier to read.
2024-02-11Android: Don't check Wii Menu version before directory initializationJosJuice
Fixes a crash.
2024-02-11Android: Update Load Wii System Menu string in onPrepareOptionsMenuJosJuice
Because the wording of the Load Wii System Menu string can change depending on the contents of the NAND, we should update that menu item in a method that's guaranteed to get called every time the user opens the menu rather than one that's only guaranteed to be called once.
2024-02-04InputCommon: Unify GetProfileName and GetProfileDirectoryNameJosJuice
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-01-31Migrate SConfig::bWii to System.Admiral H. Curtiss
2024-01-07Merge pull request #12375 from JosJuice/android-gate-size-crashJosJuice
Android: Fix crash when trying to edit gate size setting
2024-01-05Merge pull request #12468 from JosJuice/android-targets-fixesMai
Android: Fix the targets line in build.gradle.kts
2023-12-30Android: Update the comment for the targets line in build.gradle.ktsJosJuice
This comment hasn't really made sense since 23bebc5270 commented out the relevant line.
2023-12-30Android: Fix syntax of the targets line in build.gradle.ktsJosJuice
Seems like this was missed in the conversion to Kotlin in 001089dbf4.
2023-12-24Make DocumentProvider Support ThumbnailBlakDulz
This will make DocumentUI or the built-in Android System Internal Files Manager app showing Thumbnail of Image file instead of image type icon.
2023-12-23Implement Refresh on DocumentProviderBlakDulz
"When interacting with DocumentUI or the built-in Android System Internal Files Manager app and performing Create, Rename, and Delete operations, DocumentsUI will not automatically refresh the changes. Previously, users had to manually pull down from the top to refresh the changes. This commit aims to fix this issue by automatically notifying the system that changes have occurred and triggering a requery."
2023-12-16Merge pull request #12346 from iwubcode/arb_mipmaps_default_offAdmiral H. Curtiss
Core: disable arbitrary mipmap detection by default
2023-12-13Merge pull request #12369 from t895/coil-cacheJosJuice
Android: Allow Coil image cache to use more memory
2023-12-11AndroidCommon: Resolve -Wsign-compare warningLioncash
2023-12-11Merge pull request #12383 from iwubcode/android_new_sdk_for_cpp20JosJuice
Android: update NDK to 26.1.10909125 in order to pick up new compiler features
2023-12-10Android: update NDK to 26.1.10909125 in order to pick up new compiler with ↵iwubcode
more C++20 features
2023-12-10Add "large entry points map" settingJosJuice
To aid in debugging, this makes it possible to disable the recently added 32/64 GiB region which hasn't had a proper name so far.
2023-12-10Android: Fix crash when trying to edit gate size settingJosJuice
The gate size is 79.37125 by default, and the step size is 0.5. Android throws an exception if we try to show the slider with the value set to something that isn't divisible by the step size. To avoid this problem, round the value.
2023-12-09android: Compile and target Android 14Charles Lombardo
2023-12-09android Update dependenciesCharles Lombardo
2023-12-09android: Regenerate baseline profile module for AGP 8.2.0Charles Lombardo
2023-12-09android: Update AGP to 8.2.0Charles Lombardo
Also updates gradle to 8.2 as that is the minimum required version for AGP 8.2.0
2023-12-09android: Convert gradle files to kotlin gradle dslCharles Lombardo
2023-12-09android: Remove benchmark moduleCharles Lombardo
2023-12-09Android: Allow Coil image cache to use more memoryt895
Allows the Coil memory cache to use up to 90% of the application's available memory. Previously this could cause problems with reloading images in very large libraries of games.
2023-12-08Android: Don't call Run before directory initializationJosJuice
Combined with the previous commits, this finally fixes the bug where Dolphin had a chance of crashing if you returned to it after Android killed the Dolphin process.
2023-12-08Android: Fix EmulationActivity's handling of process recreationJosJuice
2023-12-08Android: Reload EmulationActivity settings on title changeJosJuice
This way, we ensure that game INI settings are properly applied. I don't think we actually expose the affected settings on a per-game basis in the UI, but still.
2023-12-08Android: Combine reading cutout setting with updateOrientationJosJuice
2023-12-07Android: Improve GameFileCacheManager commentsJosJuice
2023-12-07Android: Use config changed callback for tracking recursive scan settingJosJuice
This way the Settings class doesn't contain a hardcoded reference to a specific setting. And Settings.loadSettings no longer calls getBoolean, which is a step towards fixing the crash when recreating EmulationActivity after process death.
2023-12-07Android: Expose config changed callbacksJosJuice
2023-12-01Finish parent activity after directory initializer completesMinh Truong
Add frontIntent flag to control activity.finish() Moved parent activity finish inside of performLaunchChecks
2023-12-01Android / Core / DolphinQt: disable arbitrary mipmap detection by default, ↵iwubcode
let the games that need it be enabled with a config option, there aren't many of them
2023-11-28Merge pull request #12298 from Shoegzer/masterMai
Update default IP for HLE BBA
2023-11-28Merge pull request #12215 from JosJuice/android-si-devicesMai
Android: Add more GameCube controller types
2023-11-25Android: Remove HostThreadLocks that are no longer neededJosJuice
71ce8bb6f00f4d1cbc1012270d6daefdbda4254d got rid of the need to be the host or CPU thread when writing to the config.