From b839af92076f1ad858c2ecb9c073581c5061fbac Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Sun, 16 Jun 2019 22:45:31 -0500 Subject: [PATCH] [nostalgia/player] Cleanup --- src/nostalgia/player/main.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/nostalgia/player/main.cpp b/src/nostalgia/player/main.cpp index 7feb2187..aa765892 100644 --- a/src/nostalgia/player/main.cpp +++ b/src/nostalgia/player/main.cpp @@ -6,6 +6,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +#include #include using namespace nostalgia::common; @@ -13,7 +14,7 @@ using namespace nostalgia::core; using namespace nostalgia::world; int run() { - ox::FileSystem32 fs(ox::FileStore32(loadRom(), 33554432)); // 32 MB + ox::FileSystem32 fs(ox::FileStore32(loadRom(), 32 * ox::units::MB)); Context ctx; init(&ctx); ctx.rom = &fs; @@ -25,13 +26,12 @@ int run() { #ifndef OX_USE_STDLIB -extern "C" { +extern "C" void _start() { run(); } -} #else