[nostalgia] Add trace init

This commit is contained in:
2021-03-08 20:12:41 -06:00
parent 662c2e11de
commit f24a0a4aab
4 changed files with 13 additions and 0 deletions

View File

@@ -7,6 +7,7 @@
*/
#include <ox/fs/fs.hpp>
#include <ox/std/trace.hpp>
#include <nostalgia/core/core.hpp>
#include <nostalgia/core/input.hpp>
@@ -54,6 +55,7 @@ static ox::Error run(ox::FileSystem *fs) {
int main(int argc, const char **argv) {
if (argc > 1) {
ox::trace::init();
auto path = argv[1];
auto fs = core::loadRomFs(path);
auto err = run(fs);