[nostalgia/player] Cleanup
This commit is contained in:
parent
35a08a4ce8
commit
c4c1979123
@ -12,6 +12,7 @@
|
|||||||
#include "app.hpp"
|
#include "app.hpp"
|
||||||
|
|
||||||
ox::Error run(int argc, const char **argv) {
|
ox::Error run(int argc, const char **argv) {
|
||||||
|
ox::trace::init();
|
||||||
if (argc < 2) {
|
if (argc < 2) {
|
||||||
oxErrf("Please provide path to project directory or OxFS file.");
|
oxErrf("Please provide path to project directory or OxFS file.");
|
||||||
return OxError(1);
|
return OxError(1);
|
||||||
@ -22,7 +23,6 @@ ox::Error run(int argc, const char **argv) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
int main(int argc, const char **argv) {
|
int main(int argc, const char **argv) {
|
||||||
ox::trace::init();
|
|
||||||
const auto err = run(argc, argv);
|
const auto err = run(argc, argv);
|
||||||
oxAssert(err, "Something went wrong...");
|
oxAssert(err, "Something went wrong...");
|
||||||
return static_cast<int>(err);
|
return static_cast<int>(err);
|
||||||
|
Loading…
Reference in New Issue
Block a user