diff options
Diffstat (limited to 'config.c')
-rw-r--r-- | config.c | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -462,6 +462,16 @@ bool cDesignerConfig::OsdSizeChanged(void) { return false; } +// If softhddevice is suspended, it gives the video size 0x0 +// We use this for detect a play mode change and drop the cache, because it is corrupted after being suspended +bool cDesignerConfig::PlayModeChanged(void) { + if (mode_changed) { + mode_changed = 0; + return true; + } + return false; +} + void cDesignerConfig::SetOSDFonts(void) { fontFix = Setup.FontFix; fontOsd = Setup.FontOsd; |