emu/emuopts.cpp: Do not lose slot card name when setting slot card BIOS. (#9770)

This commit is contained in:
Miodrag Milanović 2022-05-16 21:19:29 +02:00 committed by GitHub
parent 6d595718f5
commit b72e52a8f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1220,8 +1220,8 @@ void slot_option::set_bios(std::string &&text)
{
if (!m_specified)
{
m_specified = true;
m_specified_value = value();
m_specified = true;
}
m_specified_bios = std::move(text);
}