From 76fe1dbbd4c8fa8e33c1b4dedf91e1cd63cab964 Mon Sep 17 00:00:00 2001 From: ekuland Date: Tue, 27 Aug 2024 12:34:24 -0500 Subject: [PATCH] Add Note for Rosetta (#109) * Add get_cpu_notes Check cpu for Virtual Apple and Note to disable Rosetta * Update ryujinx_log_analyser.py fix misspelling * Apply formatting --- robocop_ng/helpers/ryujinx_log_analyser.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/robocop_ng/helpers/ryujinx_log_analyser.py b/robocop_ng/helpers/ryujinx_log_analyser.py index 03c54c6..d5b1069 100644 --- a/robocop_ng/helpers/ryujinx_log_analyser.py +++ b/robocop_ng/helpers/ryujinx_log_analyser.py @@ -443,6 +443,10 @@ class LogAnalyser: "**⚠️ AMD GPU users should consider using Vulkan graphics backend**" ) + def __get_cpu_notes(self): + if "VirtualApple" in self._hardware_info["cpu"]: + self._notes.add("🔴 **Rosetta should be disabled**") + def __get_log_notes(self): default_logs = ["Info", "Warning", "Error", "Guest"] user_logs = [] @@ -572,6 +576,7 @@ class LogAnalyser: self.__get_controller_notes() self.__get_os_notes() + self.__get_cpu_notes() if ( self._emu_info["ryu_firmware"] == "Unknown"