2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 17:07:41 +00:00

TOneStatic tweak

This commit is contained in:
Jack Andersen
2015-08-18 13:30:23 -10:00
parent debc677299
commit b9c3c8138e
2 changed files with 5 additions and 4 deletions

View File

@@ -274,10 +274,10 @@ struct ApplicationCallback : boo::IApplicationCallback
int main(int argc, const char* argv[])
{
ApplicationCallback appCB;
Retro::TOneStatic<ApplicationCallback> appCB;
std::unique_ptr<boo::IApplication> app =
boo::ApplicationBootstrap(boo::IApplication::PLAT_AUTO, appCB,
boo::ApplicationBootstrap(boo::IApplication::PLAT_AUTO, *appCB,
"mp1", "MP1", argc, argv);
Retro::MP1::CMain main;
return main.RsMain(argc, argv);
Retro::TOneStatic<Retro::MP1::CMain> main;
return main->RsMain(argc, argv);
}