2012-12-19 09:30:18 +00:00
|
|
|
/****************************************************************************
|
|
|
|
* *
|
2015-11-10 05:21:49 +00:00
|
|
|
* Project64 - A Nintendo 64 emulator. *
|
2012-12-19 09:30:18 +00:00
|
|
|
* http://www.pj64-emu.com/ *
|
|
|
|
* Copyright (C) 2012 Project64. All rights reserved. *
|
|
|
|
* *
|
|
|
|
* License: *
|
|
|
|
* GNU/GPLv2 http://www.gnu.org/licenses/gpl-2.0.html *
|
|
|
|
* *
|
|
|
|
****************************************************************************/
|
|
|
|
#pragma once
|
|
|
|
|
2015-12-06 09:59:58 +00:00
|
|
|
#include <Project64-core/N64System/N64Types.h>
|
2008-11-14 20:51:06 +00:00
|
|
|
|
2015-11-14 21:05:48 +00:00
|
|
|
class CRecompilerSettings
|
2008-09-18 03:15:49 +00:00
|
|
|
{
|
2010-10-29 03:20:25 +00:00
|
|
|
public:
|
2015-11-14 21:05:48 +00:00
|
|
|
CRecompilerSettings();
|
|
|
|
virtual ~CRecompilerSettings();
|
2010-10-29 03:20:25 +00:00
|
|
|
|
2015-11-14 21:05:48 +00:00
|
|
|
static bool bShowRecompMemSize(void) { return m_bShowRecompMemSize; }
|
2010-10-29 03:20:25 +00:00
|
|
|
|
2015-11-14 21:05:48 +00:00
|
|
|
static bool bProfiling(void) { return m_bProfiling; }
|
2010-10-29 03:20:25 +00:00
|
|
|
|
|
|
|
private:
|
2015-11-14 21:05:48 +00:00
|
|
|
static void StaticRefreshSettings(CRecompilerSettings * _this)
|
|
|
|
{
|
|
|
|
_this->RefreshSettings();
|
|
|
|
}
|
2008-11-14 20:51:06 +00:00
|
|
|
|
2015-11-14 21:05:48 +00:00
|
|
|
void RefreshSettings(void);
|
2008-11-14 20:51:06 +00:00
|
|
|
|
2015-11-14 21:05:48 +00:00
|
|
|
//Settings that can be changed on the fly
|
|
|
|
static bool m_bShowRecompMemSize;
|
|
|
|
static bool m_bProfiling;
|
2008-11-14 20:51:06 +00:00
|
|
|
|
2015-11-14 21:49:08 +00:00
|
|
|
static int32_t m_RefCount;
|
2015-01-31 19:27:27 +00:00
|
|
|
};
|