File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -380,7 +380,15 @@ def MWVersion(cfg_version: str | None) -> str:
380380 case "GZ2J01" :
381381 return "GC/2.7"
382382 case "RZDE01_00" :
383- return "Wii/1.0" # TODO: GC/3.0a5.2 codegen seems better but it has compiler bugs on multiple TUs?
383+ # TODO: Find right compiler for Wii
384+ # GC/3.0a3 codegen seems better than Wii compilers, but it fails linking (linker version?) and can't handle multi-char constants
385+ # Potentially missing an early Wii compiler that had the earlier codegen and reverted char constant change?
386+ # Or some specific compiler used in the early days of transitioning GC to Wii development
387+ # Additionally, "-ipa file" seems to needed, so it can't be earlier than GC 3.0
388+ # GC/3.0a5.2 breaks when compiling TUs like m_Do_graphic, but none of the other 3.0+ ones do
389+ # Wii/1.0RC1 is the earliest Wii one we have at this time but it doesn't have the right codegen from GC/3.0+
390+ # (GC 3.0a3 - Dec 2005 | GC 3.0a5.2 - Aug 2006 | Wii 1.0RC - May 2008)
391+ return "Wii/1.0RC1"
384392 case "ShieldD" :
385393 return "Wii/1.0"
386394 case _:
You can’t perform that action at this time.
0 commit comments