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
This commit is contained in:
ekuland 2024-08-27 12:34:24 -05:00 committed by GitHub
parent 7b5b9fc104
commit 76fe1dbbd4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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"