mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 15:44:56 +00:00
Update submodules
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
#if _WIN32
|
||||
#define _CRT_RAND_S
|
||||
#include <stdlib.h>
|
||||
#endif
|
||||
|
||||
#include "SpecBase.hpp"
|
||||
#include "Blender/BlenderSupport.hpp"
|
||||
#include "BlenderConnection.hpp"
|
||||
@@ -37,7 +42,12 @@ bool SpecBase::canExtract(const ExtractPassInfo& info, std::vector<ExtractReport
|
||||
if (!memcmp(gameID, "R3O", 3))
|
||||
{
|
||||
unsigned int t = time(nullptr);
|
||||
#if _WIN32
|
||||
rand_s(&t);
|
||||
int r = t % 9;
|
||||
#else
|
||||
int r = rand_r(&t) % 9;
|
||||
#endif
|
||||
Log.report(LogVisor::FatalError, MomErr[r]);
|
||||
}
|
||||
|
||||
|
||||
@@ -41,6 +41,7 @@ struct Application : boo::IApplicationCallback
|
||||
m_viewSystem.init(gf, &m_fontCache);
|
||||
Specter::RootView rootView(m_viewSystem, m_mainWindow);
|
||||
|
||||
m_mainWindow->showWindow();
|
||||
boo::IGraphicsCommandQueue* gfxQ = m_mainWindow->getCommandQueue();
|
||||
while (m_running)
|
||||
{
|
||||
|
||||
2
hecl
2
hecl
Submodule hecl updated: a03fc683d5...1d4c4c692c
Submodule libSpecter updated: 8c37e1f30e...d3f46ed366
Reference in New Issue
Block a user