summaryrefslogtreecommitdiff
path: root/Source/Android/jni/GameList/GameFileCache.cpp
AgeCommit message (Collapse)Author
2023-09-02Android: Use JNI for setting/getting ISO pathsJosJuice
This gets rid of the last Android-specific code that directly interfaces with INI files.
2022-12-27Android: Make more meticulous use of DeleteLocalRefJosJuice
If we're in a function that isn't just going to immediately return to Java, leaking local references can lead to problems eventually.
2022-01-29Android: Get rid of __cplusplus macro checksJosJuice
These files cannot compile correctly as C, so there's no reason to have ifdefs for C compatibility. We switched to not checking the __cplusplus macro in our JNI code some time ago, but it seems like I forgot to remove it from these two files.
2021-08-24Android: Don't hold gameFileCache lock while finding gamesJosJuice
FindAllGamePaths may take a little while, and holding the gameFileCache lock isn't actually necessary until it's time to put the results returned by FindAllGamePaths into gameFileCache. The downside of this change is that we have to do an extra round of JNI in between FindAllGamePaths and Update, but I don't think that's much of a problem.
2021-07-05treewide: convert GPLv2+ license info to SPDX tagsPierre Bourdon
SPDX standardizes how source code conveys its copyright and licensing information. See https://spdx.github.io/spdx-spec/1-rationale/ . SPDX tags are adopted in many large projects, including things like the Linux kernel.
2021-06-08Android: Stop using custom path for GameFileCacheJosJuice
Back when I wrote this code, I believe I set it to use a custom path so that the cache would end up in a directory which Android considers to be a cache directory. But nowadays the directory which Dolphin's C++ code considers to be the cache directory is such a directory, so there's no longer any reason to override the default path.
2021-05-24Android: Use VectorToJStringArray in GameFileCache.cppJosJuice
2021-02-20Android: Split GameFileCacheService broadcasts into two typesJosJuice
2020-11-07Android: Don't name unused JNIEnv/jobject/jclass parametersJosJuice
2020-11-07Android: Fix jobject/jclass warningsJosJuice
Static methods use jclass, and non-static methods use jobject.
2020-10-19Android: Remove unnecessary JNI function declarationsJosJuice
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-07-22Android: Some simple Clang-Tidy suggestionsRyan Meredith
2020-07-06Android: Convert some files to LFJosJuice
I wonder why lint didn't catch this...
2020-05-31Android: Add recursive game paths to UIRyan Meredith
2018-06-06Use UICommon's game list code on AndroidJosJuice
Deduplicates code, and gets rid of some problems the old code had (such as: bad performance when calling native functions, only one disc showing up for multi-disc games, Wii banners being low-res, unnecessarily much effort being needed for adding more metadata).