Don't reset autodetected TV mode on reset -> fixes TV mode autodetection.

This commit is contained in:
Christian Speckner 2016-11-20 22:22:07 +01:00
parent ac4520917e
commit d9f91caab3
1 changed files with 3 additions and 3 deletions

View File

@ -41,6 +41,9 @@ namespace TIA6502tsCore {
FrameManager::FrameManager()
{
myMode = TvMode::pal;
setTvMode(TvMode::ntsc);
reset();
}
@ -54,9 +57,6 @@ void FrameManager::setHandlers(
void FrameManager::reset()
{
myMode = TvMode::pal;
setTvMode(TvMode::ntsc);
myState = State::waitForVsyncStart;
myCurrentFrameTotalLines = 0;
myLineInState = 0;