1 2 3 4 5 6 7 8 9 10 11 12 13
#include "nes/nes.hh" #include "nes/display.hh" #include "nes/util/rgb.hh" namespace nes { nes::nes(display& display) : display_{ display } { display.clear(rgb::from_hex(0xFF0000)); display.switch_buffers(); } } // namespace nes