Further fixes/improvements (#16)
* Fix AF warning when Unknown * Flag FS integrity check being disabled
This commit is contained in:
parent
ada0e92d32
commit
0015a812f9
1 changed files with 10 additions and 1 deletions
|
@ -49,6 +49,7 @@ class LogFileReader(Cog):
|
|||
"audio_backend": "Unknown",
|
||||
"docked": "Unknown",
|
||||
"expand_ram": "Unknown",
|
||||
"fs_integrity": "Unknown",
|
||||
"ignore_missing_services": "Unknown",
|
||||
"memory_manager": "Unknown",
|
||||
"pptc": "Unknown",
|
||||
|
@ -308,6 +309,7 @@ class LogFileReader(Cog):
|
|||
"audio_backend": "AudioBackend",
|
||||
"docked": "EnableDockedMode",
|
||||
"expand_ram": "ExpandRam",
|
||||
"fs_integrity": "EnableFsIntegrityChecks",
|
||||
"ignore_missing_services": "IgnoreMissingServices",
|
||||
"memory_manager": "MemoryManagerMode",
|
||||
"pptc": "EnablePtc",
|
||||
|
@ -530,7 +532,10 @@ class LogFileReader(Cog):
|
|||
firmware_warning = f"**❌ Nintendo Switch firmware not found**"
|
||||
self.embed["game_info"]["notes"].append(firmware_warning)
|
||||
|
||||
if self.embed["settings"]["anisotropic_filtering"] != "Auto":
|
||||
if self.embed["settings"]["anisotropic_filtering"] not in [
|
||||
"Auto",
|
||||
"Unknown",
|
||||
]:
|
||||
anisotropic_filtering_warning = "⚠️ Anisotropic filtering not set to `Auto` can cause graphical issues"
|
||||
self.embed["game_info"]["notes"].append(
|
||||
anisotropic_filtering_warning
|
||||
|
@ -570,6 +575,10 @@ class LogFileReader(Cog):
|
|||
vsync_warning = f"⚠️ V-Sync disabled can cause instability like games running faster than intended or longer load times"
|
||||
self.embed["game_info"]["notes"].append(vsync_warning)
|
||||
|
||||
if self.embed["settings"]["fs_integrity"] == "Disabled":
|
||||
fs_integrity_warning = f"⚠️ Disabling file integrity checks may cause corrupted dumps to not be detected"
|
||||
self.embed["game_info"]["notes"].append(fs_integrity_warning)
|
||||
|
||||
mainline_version = re.compile(r"^\d\.\d\.\d+$")
|
||||
old_mainline_version = re.compile(r"^\d\.\d\.(\d){4}$")
|
||||
pr_version = re.compile(r"^\d\.\d\.\d\+([a-f]|\d){7}$")
|
||||
|
|
Loading…
Reference in a new issue