mirror of
https://github.com/NinjaCheetah/rustii.git
synced 2026-03-05 04:05:29 -05:00
Added basic doc strings to all major structs and functions
Some checks failed
Build rustii / build-linux-x86_64 (push) Has been cancelled
Build rustii / build-macos-arm64 (push) Has been cancelled
Build rustii / build-macos-x86_64 (push) Has been cancelled
Build rustii / build-windows-x86_64 (push) Has been cancelled
Some checks failed
Build rustii / build-linux-x86_64 (push) Has been cancelled
Build rustii / build-macos-arm64 (push) Has been cancelled
Build rustii / build-macos-x86_64 (push) Has been cancelled
Build rustii / build-windows-x86_64 (push) Has been cancelled
This commit is contained in:
@@ -69,6 +69,10 @@ fn wii_menu_versions_map(vwii: Option<bool>) -> HashMap<u16, String> {
|
||||
menu_versions
|
||||
}
|
||||
|
||||
/// Converts the decimal version of a title (vXXX) into a more standard format for applicable
|
||||
/// titles. For the Wii Menu, this uses the optional vwii argument and a hash table to determine
|
||||
/// the user-friendly version number, as there is no way to directly derive it from the decimal
|
||||
/// format.
|
||||
pub fn dec_to_standard(version: u16, title_id: &str, vwii: Option<bool>) -> Option<String> {
|
||||
if title_id == "0000000100000002" {
|
||||
let map = wii_menu_versions_map(vwii);
|
||||
|
||||
Reference in New Issue
Block a user