mirror of https://github.com/PCSX2/pcsx2.git
Remove unused code in Dependencies.h
This commit is contained in:
parent
a85ca4108c
commit
13e09953af
|
@ -23,22 +23,6 @@
|
|||
// This should prove useful....
|
||||
#define wxsFormat wxString::Format
|
||||
|
||||
#ifdef PCSX2_DEBUG
|
||||
#define tryDEBUG try
|
||||
#define catchDEBUG(clause) catch (clause)
|
||||
#else
|
||||
#define tryDEBUG if (true)
|
||||
#define catchDEBUG(clause) if (false)
|
||||
#endif
|
||||
|
||||
#if defined(PCSX2_DEVBUILD) || defined(PCSX2_DEBUG)
|
||||
#define tryDEVEL try
|
||||
#define catchDEVEL catch (clause)
|
||||
#else
|
||||
#define tryDEBUG if (true)
|
||||
#define catchDEBUG(clause) if (false)
|
||||
#endif
|
||||
|
||||
// --------------------------------------------------------------------------------------
|
||||
// ImplementEnumOperators (macro)
|
||||
// --------------------------------------------------------------------------------------
|
||||
|
@ -139,30 +123,6 @@ private: \
|
|||
classname& operator=(const classname&)
|
||||
#endif
|
||||
|
||||
|
||||
// --------------------------------------------------------------------------------------
|
||||
// ScopedBool - Makes sure a boolean is set back to FALSE when current scope is left
|
||||
// --------------------------------------------------------------------------------------
|
||||
// Exception-safe way of tracking entry and exit of various functions of execution zones.
|
||||
//
|
||||
class ScopedBool
|
||||
{
|
||||
protected:
|
||||
bool* m_boolme;
|
||||
|
||||
public:
|
||||
ScopedBool(bool& boolme)
|
||||
{
|
||||
boolme = true;
|
||||
m_boolme = &boolme;
|
||||
}
|
||||
|
||||
~ScopedBool()
|
||||
{
|
||||
*m_boolme = false;
|
||||
}
|
||||
};
|
||||
|
||||
// --------------------------------------------------------------------------------------
|
||||
// _(x) / _t(x) / _d(x) / pxL(x) / pxLt(x) [macros]
|
||||
// --------------------------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in New Issue