mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-28 00:35:34 +00:00
Volume: Mark ReadWiiNames parameter as const
I forgot it when I added the method.
This commit is contained in:
parent
d1d284e784
commit
9a000f4085
@ -114,7 +114,7 @@ protected:
|
||||
return CP1252ToUTF8(string);
|
||||
}
|
||||
|
||||
static std::map<IVolume::ELanguage, std::string> ReadWiiNames(std::vector<u8>& data);
|
||||
static std::map<IVolume::ELanguage, std::string> ReadWiiNames(const std::vector<u8>& data);
|
||||
|
||||
static const size_t NUMBER_OF_LANGUAGES = 10;
|
||||
static const size_t NAME_STRING_LENGTH = 42;
|
||||
|
@ -57,7 +57,7 @@ std::vector<u32> IVolume::GetBanner(int* width, int* height) const
|
||||
return image_buffer;
|
||||
}
|
||||
|
||||
std::map<IVolume::ELanguage, std::string> IVolume::ReadWiiNames(std::vector<u8>& data)
|
||||
std::map<IVolume::ELanguage, std::string> IVolume::ReadWiiNames(const std::vector<u8>& data)
|
||||
{
|
||||
std::map<IVolume::ELanguage, std::string> names;
|
||||
for (size_t i = 0; i < NUMBER_OF_LANGUAGES; ++i)
|
||||
|
Loading…
x
Reference in New Issue
Block a user