mirror of
https://github.com/amhndu/SimpleNES.git
synced 2024-05-31 18:47:21 -04:00
chore: set default scale to 3
This commit is contained in:
parent
eec6d79cd0
commit
e57870d7ab
6
main.cpp
6
main.cpp
|
@ -42,7 +42,7 @@ int main(int argc, char** argv)
|
|||
<< "Usage: SimpleNES [options] rom-path\n\n"
|
||||
<< "Options:\n"
|
||||
<< "-h, --help Print this help text and exit\n"
|
||||
<< "-s, --scale Set video scale. Default: 2.\n"
|
||||
<< "-s, --scale Set video scale. Default: 3.\n"
|
||||
<< " Scale of 1 corresponds to " << sn::NESVideoWidth << "x" << sn::NESVideoHeight << std::endl
|
||||
<< "-w, --width Set the width of the emulation screen (height is\n"
|
||||
<< " set automatically to fit the aspect ratio)\n"
|
||||
|
@ -98,7 +98,9 @@ int main(int argc, char** argv)
|
|||
if (path.empty())
|
||||
{
|
||||
std::cout << "Argument required: ROM path" << std::endl;
|
||||
return 1;
|
||||
path = "Super Mario Bros. 3 (USA).nes";
|
||||
path = "NEStress.NES";
|
||||
// return 1;
|
||||
}
|
||||
|
||||
sn::parseControllerConf("keybindings.conf", p1, p2);
|
||||
|
|
|
@ -10,7 +10,7 @@ namespace sn
|
|||
Emulator::Emulator() :
|
||||
m_cpu(m_bus),
|
||||
m_ppu(m_pictureBus, m_emulatorScreen),
|
||||
m_screenScale(2.f),
|
||||
m_screenScale(3.f),
|
||||
m_cycleTimer(),
|
||||
m_cpuCycleDuration(std::chrono::nanoseconds(559))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue