summaryrefslogtreecommitdiffstats
path: root/src/core/reporter.h
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2021-06-13 10:30:54 +0200
committerMorph <39850852+Morph1984@users.noreply.github.com>2021-06-16 06:06:02 +0200
commit0f48292de19227fcc61dd9ea71be321824368f9e (patch)
tree35a6d30abdc9435973116d145ff4db3a7ec22a54 /src/core/reporter.h
parentMerge pull request #6470 from ameerj/lm-silence (diff)
downloadyuzu-0f48292de19227fcc61dd9ea71be321824368f9e.tar
yuzu-0f48292de19227fcc61dd9ea71be321824368f9e.tar.gz
yuzu-0f48292de19227fcc61dd9ea71be321824368f9e.tar.bz2
yuzu-0f48292de19227fcc61dd9ea71be321824368f9e.tar.lz
yuzu-0f48292de19227fcc61dd9ea71be321824368f9e.tar.xz
yuzu-0f48292de19227fcc61dd9ea71be321824368f9e.tar.zst
yuzu-0f48292de19227fcc61dd9ea71be321824368f9e.zip
Diffstat (limited to 'src/core/reporter.h')
-rw-r--r--src/core/reporter.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/core/reporter.h b/src/core/reporter.h
index 6fb6ebffa..6e9edeea3 100644
--- a/src/core/reporter.h
+++ b/src/core/reporter.h
@@ -16,10 +16,6 @@ namespace Kernel {
class HLERequestContext;
} // namespace Kernel
-namespace Service::FileSystem {
-enum class LogMode : u32;
-}
-
namespace Service::LM {
struct LogMessage;
} // namespace Service::LM
@@ -69,14 +65,15 @@ public:
std::optional<std::string> custom_text_main = {},
std::optional<std::string> custom_text_detail = {}) const;
- void SaveFilesystemAccessReport(Service::FileSystem::LogMode log_mode,
- std::string log_message) const;
+ void SaveFSAccessLog(std::string_view log_message) const;
// Can be used anywhere to generate a backtrace and general info report at any point during
// execution. Not intended to be used for anything other than debugging or testing.
void SaveUserReport() const;
private:
+ void ClearFSAccessLog() const;
+
bool IsReportingEnabled() const;
System& system;