This repository has been archived on 2022-06-22. You can view files and clone it, but cannot push or open issues or pull requests.
LaiNES/src/main.cpp
Jeff Katz 48f85a4323 Add saving/loading configuration
LaiNES now can save and load configuration. At the moment, it's the size
of the window, and the key bindings.

Instead of cluttering the gui, I broke the config out to its own file.
Also added "home config directory" support, which is the standard for
*nix I suppose.
2016-12-04 16:19:44 +01:00

12 lines
153 B
C++

#include "gui.hpp"
#include "config.hpp"
int main(int argc, char *argv[])
{
GUI::load_settings();
GUI::init();
GUI::run();
return 0;
}