File tree Expand file tree Collapse file tree 1 file changed +18
-2
lines changed
Expand file tree Collapse file tree 1 file changed +18
-2
lines changed Original file line number Diff line number Diff line change @@ -1022,8 +1022,24 @@ void DMD::SerumThread()
10221022
10231023 if (m_altColorPath[0 ] == ' \0 ' ) strcpy (m_altColorPath, Config::GetInstance ()->GetAltColorPath ());
10241024 uint8_t flags = FLAG_REQUEST_32P_FRAMES;
1025- // At the moment, ZeDMD HD is the only device supporting 64P frames. Not requesting 64P saves memory
1026- if (m_pZeDMD && m_pZeDMD->GetWidth () == 256 ) flags |= FLAG_REQUEST_64P_FRAMES;
1025+ // At the moment, ZeDMD HD and RGB24DMD are the only devices supporting 64P frames. Not requesting 64P saves
1026+ // memory.
1027+ if (m_pZeDMD && m_pZeDMD->GetWidth () == 256 )
1028+ {
1029+ flags |= FLAG_REQUEST_64P_FRAMES;
1030+ }
1031+ else if (m_rgb24DMDs.size () > 0 )
1032+ {
1033+ for (RGB24DMD* pRGB24DMD : m_rgb24DMDs)
1034+ {
1035+ if (pRGB24DMD->GetWidth () == 256 )
1036+ {
1037+ flags |= FLAG_REQUEST_64P_FRAMES;
1038+ break ;
1039+ }
1040+ }
1041+ }
1042+
10271043 m_pSerum = (name[0 ] != ' \0 ' ) ? Serum_Load (m_altColorPath, m_romName, flags) : nullptr ;
10281044 if (m_pSerum)
10291045 {
You can’t perform that action at this time.
0 commit comments