mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 17:47:43 +00:00
Fixes with in-app console
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
#include "Common.hpp"
|
||||
#include <QStringList>
|
||||
#include <csignal>
|
||||
|
||||
#ifndef _WIN32
|
||||
#include <unistd.h>
|
||||
@@ -134,8 +135,13 @@ QString URDEVersion::fileString(bool withExtension) const
|
||||
VectorISAToString(m_vectorISA));
|
||||
}
|
||||
|
||||
static void HUPHandler(int) {}
|
||||
|
||||
void InitializePlatform()
|
||||
{
|
||||
/* This can happen when terminating hecl - do nothing */
|
||||
signal(SIGHUP, HUPHandler);
|
||||
|
||||
#if ZEUS_ARCH_X86_64
|
||||
const_cast<Architecture&>(CurArchitecture) = Architecture::X86_64;
|
||||
#elif ZEUS_ARCH_X86
|
||||
|
||||
Reference in New Issue
Block a user