mirror of
https://github.com/amhndu/SimpleNES.git
synced 2024-05-31 18:47:21 -04:00
Update Emulator.cpp
added resize window
This commit is contained in:
parent
e702276818
commit
4b670d64b5
|
@ -61,7 +61,7 @@ namespace sn
|
|||
m_ppu.reset();
|
||||
|
||||
m_window.create(sf::VideoMode(NESVideoWidth * m_screenScale, NESVideoHeight * m_screenScale),
|
||||
"SimpleNES", sf::Style::Titlebar | sf::Style::Close);
|
||||
"SimpleNES", sf::Style::Titlebar | sf::Style::Close | sf::Style::Resize);
|
||||
m_window.setVerticalSyncEnabled(true);
|
||||
m_emulatorScreen.create(NESVideoWidth, NESVideoHeight, m_screenScale, sf::Color::White);
|
||||
|
||||
|
@ -181,4 +181,4 @@ namespace sn
|
|||
m_controller2.setKeyBindings(p2);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue