mirror of
https://github.com/holub/mame
synced 2025-04-24 01:11:11 +03:00
Damn this design is ridiculous, let's just make it a little less crash-prone (nw)
This commit is contained in:
parent
82bf95e023
commit
5e969f3605
@ -185,6 +185,9 @@ void chain_manager::parse_chain_selections(std::string chain_str)
|
||||
{
|
||||
std::vector<std::string> chain_names = split_option_string(chain_str);
|
||||
|
||||
if (chain_names.empty())
|
||||
chain_names.push_back("default");
|
||||
|
||||
while (m_current_chain.size() != chain_names.size())
|
||||
{
|
||||
m_screen_chains.push_back(nullptr);
|
||||
|
Loading…
Reference in New Issue
Block a user