add scrolling text to popup list, handling clipping inside scrolling text, game menu changes
- added delete entity in game menu - added list meta records to game menu
This commit is contained in:
@@ -7,6 +7,38 @@ namespace {
|
||||
|
||||
} // namespace
|
||||
|
||||
auto GetMetaTypeStr(u8 meta_type) -> const char* {
|
||||
switch (meta_type) {
|
||||
case NcmContentMetaType_Unknown: return "Unknown";
|
||||
case NcmContentMetaType_SystemProgram: return "SystemProgram";
|
||||
case NcmContentMetaType_SystemData: return "SystemData";
|
||||
case NcmContentMetaType_SystemUpdate: return "SystemUpdate";
|
||||
case NcmContentMetaType_BootImagePackage: return "BootImagePackage";
|
||||
case NcmContentMetaType_BootImagePackageSafe: return "BootImagePackageSafe";
|
||||
case NcmContentMetaType_Application: return "Application";
|
||||
case NcmContentMetaType_Patch: return "Patch";
|
||||
case NcmContentMetaType_AddOnContent: return "AddOnContent";
|
||||
case NcmContentMetaType_Delta: return "Delta";
|
||||
case NcmContentMetaType_DataPatch: return "DataPatch";
|
||||
}
|
||||
|
||||
return "Unknown";
|
||||
}
|
||||
|
||||
auto GetStorageIdStr(u8 storage_id) -> const char* {
|
||||
switch (storage_id) {
|
||||
case NcmStorageId_None: return "None";
|
||||
case NcmStorageId_Host: return "Host";
|
||||
case NcmStorageId_GameCard: return "GameCard";
|
||||
case NcmStorageId_BuiltInSystem: return "BuiltInSystem";
|
||||
case NcmStorageId_BuiltInUser: return "BuiltInUser";
|
||||
case NcmStorageId_SdCard: return "SdCard";
|
||||
case NcmStorageId_Any: return "Any";
|
||||
}
|
||||
|
||||
return "Unknown";
|
||||
}
|
||||
|
||||
auto GetAppId(u8 meta_type, u64 id) -> u64 {
|
||||
if (meta_type == NcmContentMetaType_Patch) {
|
||||
return id ^ 0x800;
|
||||
|
||||
Reference in New Issue
Block a user