From 05d49962b69f6597116246776828c2bbc8a98582 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Wed, 19 Sep 2018 18:55:33 -0400 Subject: control_metadata: Move language name array definition to the cpp file This was used in two different translation units (deconstructed_rom_directory and patch_manager). This means we'd be pointlessly duplicating the whole array twice due to it being defined within the header. --- src/core/file_sys/control_metadata.h | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src/core/file_sys/control_metadata.h') diff --git a/src/core/file_sys/control_metadata.h b/src/core/file_sys/control_metadata.h index 8a510bf46..319bae821 100644 --- a/src/core/file_sys/control_metadata.h +++ b/src/core/file_sys/control_metadata.h @@ -66,12 +66,7 @@ enum class Language : u8 { Default = 255, }; -static constexpr std::array LANGUAGE_NAMES = { - "AmericanEnglish", "BritishEnglish", "Japanese", - "French", "German", "LatinAmericanSpanish", - "Spanish", "Italian", "Dutch", - "CanadianFrench", "Portugese", "Russian", - "Korean", "Taiwanese", "Chinese"}; +extern const std::array LANGUAGE_NAMES; // A class representing the format used by NX metadata files, typically named Control.nacp. // These store application name, dev name, title id, and other miscellaneous data. -- cgit v1.2.3