mirror of
https://github.com/SourMesen/Mesen2.git
synced 2025-04-02 10:21:44 -04:00
Movies: Show message when movie can't be loaded because it was recorded for another console
This commit is contained in:
parent
2d63259fbe
commit
8c7152f140
2 changed files with 2 additions and 0 deletions
|
@ -48,6 +48,7 @@ std::unordered_map<string, string> MessageManager::_enResources = {
|
|||
{ "MovieMissingRom", u8"Missing ROM required (%1) to play movie." },
|
||||
{ "MovieNewerVersion", u8"Cannot load movies created by a more recent version of Mesen. Please download the latest version." },
|
||||
{ "MovieIncompatibleVersion", u8"This movie is incompatible with this version of Mesen." },
|
||||
{ "MovieIncorrectConsole", u8"This movie was recorded on another console (%1) and can't be loaded." },
|
||||
{ "MoviePlaying", u8"Playing movie: %1" },
|
||||
{ "MovieRecordingTo", u8"Recording to: %1" },
|
||||
{ "MovieSaved", u8"Movie saved to file: %1" },
|
||||
|
|
|
@ -223,6 +223,7 @@ bool MesenMovie::ApplySettings(istream& settingsData)
|
|||
s.Stream(consoleType, "emu.consoleType", -1);
|
||||
|
||||
if(consoleType != _emu->GetConsoleType()) {
|
||||
MessageManager::DisplayMessage("Movies", "MovieIncorrectConsole", string(magic_enum::enum_name<ConsoleType>(consoleType)));
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue