- fixed a small issue with custom backgrounds

This commit is contained in:
Fledge68 2019-10-17 17:27:54 -05:00
parent c33e07076d
commit cc62795644
2 changed files with 4 additions and 3 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.4 MiB

After

Width:  |  Height:  |  Size: 3.4 MiB

View File

@ -55,9 +55,10 @@ void CMenu::_setMainBg()
switch(m_current_view) switch(m_current_view)
{ {
case COVERFLOW_CHANNEL: case COVERFLOW_CHANNEL:
strncpy(m_plugin.PluginMagicWord, "4E414E44", 9); if(m_cfg.getInt(CHANNEL_DOMAIN, "channels_type") & CHANNELS_EMU)
//EMUCHANNEL: strncpy(m_plugin.PluginMagicWord, "454E414E", 9);
//strncpy(m_plugin.PluginMagicWord, "454E414E", 9); else
strncpy(m_plugin.PluginMagicWord, "4E414E44", 9);
break; break;
case COVERFLOW_HOMEBREW: case COVERFLOW_HOMEBREW:
strncpy(m_plugin.PluginMagicWord, "48425257", 9); strncpy(m_plugin.PluginMagicWord, "48425257", 9);