diff --git a/src/nostalgia/player/main.cpp b/src/nostalgia/player/main.cpp index 227b1d269..294c41f0f 100644 --- a/src/nostalgia/player/main.cpp +++ b/src/nostalgia/player/main.cpp @@ -36,7 +36,7 @@ static int eventHandler(core::Context *ctx) { return 16; } -ox::Error run(ox::FileSystem *fs) { +static ox::Error run(ox::FileSystem *fs) { core::Context ctx; ctx.rom = fs; oxReturnError(core::init(&ctx)); diff --git a/src/nostalgia/studio/lib/context.hpp b/src/nostalgia/studio/lib/context.hpp index 33343a20a..20b913c1c 100644 --- a/src/nostalgia/studio/lib/context.hpp +++ b/src/nostalgia/studio/lib/context.hpp @@ -17,8 +17,8 @@ class Context { public: QString appName; QString orgName; - QWidget* tabParent = nullptr; - const class Project* project = nullptr; + QWidget *tabParent = nullptr; + const class Project *project = nullptr; }; }