mirror of https://github.com/bsnes-emu/bsnes.git
14 lines
302 B
C++
14 lines
302 B
C++
|
struct Configuration : configuration {
|
||
|
string path;
|
||
|
|
||
|
Configuration() {
|
||
|
append(path = userpath(), "Path");
|
||
|
directory::create({configpath(), "ananke/"});
|
||
|
load({configpath(), "ananke/settings.cfg"});
|
||
|
}
|
||
|
|
||
|
~Configuration() {
|
||
|
save({configpath(), "ananke/settings.cfg"});
|
||
|
}
|
||
|
} config;
|