mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2024-11-01 16:05:07 +01:00
Rebranded log filenames
citra_log.txt --> lime3ds_log.txt citra_log.txt.old.txt --> lime3ds_log.old.txt
This commit is contained in:
parent
0a5420f0cf
commit
d0eeb1bbe7
@ -201,8 +201,8 @@ class HomeSettingsFragment : Fragment() {
|
|||||||
requireContext(),
|
requireContext(),
|
||||||
PermissionsHandler.citraDirectory
|
PermissionsHandler.citraDirectory
|
||||||
)?.findFile("log")
|
)?.findFile("log")
|
||||||
val currentLog = logDirectory?.findFile("citra_log.txt")
|
val currentLog = logDirectory?.findFile("lime3ds_log.txt")
|
||||||
val oldLog = logDirectory?.findFile("citra_log.txt.old.txt")
|
val oldLog = logDirectory?.findFile("lime3ds_log.old.txt")
|
||||||
|
|
||||||
val intent = Intent().apply {
|
val intent = Intent().apply {
|
||||||
action = Intent.ACTION_SEND
|
action = Intent.ACTION_SEND
|
||||||
|
@ -17,7 +17,7 @@ import java.util.concurrent.ConcurrentHashMap
|
|||||||
* A cached document tree for Citra user directory.
|
* A cached document tree for Citra user directory.
|
||||||
* For every filepath which is not startsWith "content://" will need to use this class to traverse.
|
* For every filepath which is not startsWith "content://" will need to use this class to traverse.
|
||||||
* For example:
|
* For example:
|
||||||
* C++ Citra log file directory will be /log/citra_log.txt.
|
* C++ Lime3DS log file directory will be /log/lime3ds_log.txt.
|
||||||
* After DocumentsTree.resolvePath() it will become content URI.
|
* After DocumentsTree.resolvePath() it will become content URI.
|
||||||
*/
|
*/
|
||||||
class DocumentsTree {
|
class DocumentsTree {
|
||||||
|
@ -55,7 +55,7 @@
|
|||||||
|
|
||||||
// Filenames
|
// Filenames
|
||||||
// Files in the directory returned by GetUserPath(UserPath::LogDir)
|
// Files in the directory returned by GetUserPath(UserPath::LogDir)
|
||||||
#define LOG_FILE "citra_log.txt"
|
#define LOG_FILE "lime3ds_log.txt"
|
||||||
|
|
||||||
// Files in the directory returned by GetUserPath(UserPath::ConfigDir)
|
// Files in the directory returned by GetUserPath(UserPath::ConfigDir)
|
||||||
#define EMU_CONFIG "emu.ini"
|
#define EMU_CONFIG "emu.ini"
|
||||||
|
@ -13,6 +13,7 @@
|
|||||||
#define _SH_DENYWR 0
|
#define _SH_DENYWR 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include <boost/algorithm/string/replace.hpp>
|
||||||
#ifdef CITRA_LINUX_GCC_BACKTRACE
|
#ifdef CITRA_LINUX_GCC_BACKTRACE
|
||||||
#define BOOST_STACKTRACE_USE_BACKTRACE
|
#define BOOST_STACKTRACE_USE_BACKTRACE
|
||||||
#include <boost/stacktrace.hpp>
|
#include <boost/stacktrace.hpp>
|
||||||
@ -89,7 +90,7 @@ class FileBackend final : public Backend {
|
|||||||
public:
|
public:
|
||||||
explicit FileBackend(const std::string& filename) {
|
explicit FileBackend(const std::string& filename) {
|
||||||
auto old_filename = filename;
|
auto old_filename = filename;
|
||||||
old_filename += ".old.txt";
|
boost::replace_all(old_filename, ".txt", ".old.txt");
|
||||||
|
|
||||||
// Existence checks are done within the functions themselves.
|
// Existence checks are done within the functions themselves.
|
||||||
// We don't particularly care if these succeed or not.
|
// We don't particularly care if these succeed or not.
|
||||||
|
Loading…
Reference in New Issue
Block a user