mirror of
https://github.com/azahar-emu/azahar.git
synced 2025-03-04 01:35:21 +01:00
Changed old log filename extension from .txt.old.txt
to just .old.txt
This commit is contained in:
parent
1ea637c95b
commit
f94e28335c
@ -246,7 +246,7 @@ class HomeSettingsFragment : Fragment() {
|
||||
PermissionsHandler.citraDirectory
|
||||
)?.findFile("log")
|
||||
val currentLog = logDirectory?.findFile("citra_log.txt")
|
||||
val oldLog = logDirectory?.findFile("citra_log.txt.old.txt")
|
||||
val oldLog = logDirectory?.findFile("citra_log.old.txt")
|
||||
|
||||
val intent = Intent().apply {
|
||||
action = Intent.ACTION_SEND
|
||||
|
@ -3,6 +3,7 @@
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#include <chrono>
|
||||
#include <boost/algorithm/string/replace.hpp>
|
||||
#include <boost/regex.hpp>
|
||||
|
||||
#include <fmt/format.h>
|
||||
@ -90,7 +91,7 @@ class FileBackend final : public Backend {
|
||||
public:
|
||||
explicit FileBackend(const std::string& 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.
|
||||
// We don't particularly care if these succeed or not.
|
||||
|
Loading…
x
Reference in New Issue
Block a user