2012-12-19 09:30:18 +00:00
|
|
|
/****************************************************************************
|
|
|
|
* *
|
|
|
|
* Project 64 - A Nintendo 64 emulator. *
|
|
|
|
* 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
|
|
|
|
|
2008-11-14 20:51:06 +00:00
|
|
|
#include <N64 System/N64 Types.h>
|
|
|
|
|
2012-09-28 20:07:45 +00:00
|
|
|
class CRecompilerSettings
|
2008-09-18 03:15:49 +00:00
|
|
|
{
|
2010-10-29 03:20:25 +00:00
|
|
|
public:
|
|
|
|
CRecompilerSettings();
|
|
|
|
virtual ~CRecompilerSettings();
|
|
|
|
|
|
|
|
static bool bShowRecompMemSize ( void ) { return m_bShowRecompMemSize; }
|
|
|
|
|
|
|
|
static bool bProfiling ( void ) { return m_bProfiling; }
|
|
|
|
|
|
|
|
private:
|
2008-11-14 20:51:06 +00:00
|
|
|
static void StaticRefreshSettings (CRecompilerSettings * _this)
|
|
|
|
{
|
|
|
|
_this->RefreshSettings();
|
|
|
|
}
|
|
|
|
|
|
|
|
void RefreshSettings ( void );
|
|
|
|
|
|
|
|
|
|
|
|
//Settings that can be changed on the fly
|
|
|
|
static bool m_bShowRecompMemSize;
|
|
|
|
static bool m_bProfiling;
|
2008-09-18 03:15:49 +00:00
|
|
|
|
2010-10-29 03:20:25 +00:00
|
|
|
static int m_RefCount;
|
2008-09-18 03:15:49 +00:00
|
|
|
};
|