mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-20 22:05:12 +00:00
27 lines
No EOL
619 B
C++
27 lines
No EOL
619 B
C++
#pragma once
|
|
|
|
#include "Gui/MainFrame.h"
|
|
|
|
template<typename T> T min(const T a, const T b) { return a < b ? a : b; }
|
|
template<typename T> T max(const T a, const T b) { return a > b ? a : b; }
|
|
|
|
#define re(val) MemoryBase::Reverse(val)
|
|
#define re64(val) MemoryBase::Reverse64(val)
|
|
#define re32(val) MemoryBase::Reverse32(val)
|
|
#define re16(val) MemoryBase::Reverse16(val)
|
|
|
|
class Rpcs3App : public wxApp
|
|
{
|
|
public:
|
|
MainFrame* m_MainFrame;
|
|
|
|
virtual bool OnInit();
|
|
virtual void Exit();
|
|
};
|
|
|
|
DECLARE_APP(Rpcs3App)
|
|
|
|
//extern CPUThread& GetCPU(const u8 core);
|
|
|
|
extern Rpcs3App* TheApp;
|
|
static const u64 PS3_CLK = 3200000000; |