2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-08 19:04:56 +00:00

Block space switching when requested space type matches current

This commit is contained in:
2016-07-08 23:53:20 -07:00
parent 4f401acdca
commit 48bcecff9a
2 changed files with 26 additions and 9 deletions

View File

@@ -35,6 +35,8 @@ struct Application : boo::IApplicationCallback
m_viewManager.reset(new ViewManager(m_fileMgr, m_cvarManager));
}
virtual ~Application() = default;
int appMain(boo::IApplication* app)
{
initialize(app);
@@ -53,12 +55,9 @@ struct Application : boo::IApplicationCallback
{
m_running = false;
}
void appFilesOpen(boo::IApplication*, const std::vector<boo::SystemString>&)
{
void appFilesOpen(boo::IApplication*, const std::vector<boo::SystemString>&);
}
void initialize(boo::IApplication* app)
void initialize(boo::IApplication* /*app*/)
{
zeus::detectCPU();
//hecl::VerbosityLevel = 1;
@@ -102,6 +101,12 @@ struct Application : boo::IApplicationCallback
}
};
/* This is here to prevent a vtable being dumped into every translation unit */
void Application::appFilesOpen(boo::IApplication *, const std::vector<boo::SystemString> &)
{
}
}
#if _WIN32