mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-01-29 00:33:01 +00:00
Seperate ConLog.h and ConLogFrame.h (for now only seperate headers)
make precompiled header slimmer under Linux to increase CI and dev-machine build-times make sure unused modules don't compile add unused modules to the VS project to easier keep track of them
This commit is contained in:
parent
4f36ecc681
commit
40add8f9a2
@ -1,5 +1,10 @@
|
||||
#include <stdafx.h>
|
||||
#include <Utilities/SMutex.h>
|
||||
#include "Emu/ConLog.h"
|
||||
#include "Emu/Memory/Memory.h"
|
||||
#include "Emu/System.h"
|
||||
#include "Emu/CPU/CPUThread.h"
|
||||
|
||||
#include "Utilities/SMutex.h"
|
||||
|
||||
__forceinline void SM_Sleep()
|
||||
{
|
||||
|
@ -1,4 +1,5 @@
|
||||
#pragma once
|
||||
#include "BEType.h"
|
||||
|
||||
extern void SM_Sleep();
|
||||
extern size_t SM_GetCurrentThreadId();
|
||||
|
@ -1,4 +1,6 @@
|
||||
#include "stdafx.h"
|
||||
#include "Emu/ConLog.h"
|
||||
|
||||
#include "Thread.h"
|
||||
|
||||
#ifdef _WIN32
|
||||
|
@ -1,5 +1,6 @@
|
||||
#include "stdafx.h"
|
||||
#include "unedat.h"
|
||||
#include "Emu/ConLog.h"
|
||||
|
||||
void generate_key(int crypto_mode, int version, unsigned char *key_final, unsigned char *iv_final, unsigned char *key, unsigned char *iv)
|
||||
{
|
||||
|
@ -2,6 +2,8 @@
|
||||
#include "unpkg.h"
|
||||
#include <wx/progdlg.h>
|
||||
|
||||
#include "Emu/ConLog.h"
|
||||
|
||||
// Decryption.
|
||||
bool CheckHeader(wxFile& pkg_f, PKGHeader* m_header)
|
||||
{
|
||||
|
@ -1,4 +1,6 @@
|
||||
#include "stdafx.h"
|
||||
#include "Emu/ConLog.h"
|
||||
#include "Emu/FS/vfsLocalFile.h"
|
||||
#include "unself.h"
|
||||
|
||||
SELFDecrypter::SELFDecrypter(vfsStream& s)
|
||||
|
@ -1,4 +1,9 @@
|
||||
#include "stdafx.h"
|
||||
#include "Emu/ConLog.h"
|
||||
#include "Emu/Memory/Memory.h"
|
||||
#include "Emu/System.h"
|
||||
#include "Emu/Cell/PPCThread.h"
|
||||
|
||||
#include "ARMv7Thread.h"
|
||||
#include "ARMv7Decoder.h"
|
||||
#include "ARMv7DisAsm.h"
|
||||
|
@ -1,4 +1,9 @@
|
||||
#include "stdafx.h"
|
||||
#include "Emu/ConLog.h"
|
||||
#include "Emu/Memory/Memory.h"
|
||||
#include "Emu/System.h"
|
||||
#include "rpcs3/Ini.h"
|
||||
|
||||
#include "OpenALThread.h"
|
||||
|
||||
ALenum g_last_al_error = AL_NO_ERROR;
|
||||
|
@ -1,4 +1,5 @@
|
||||
#include "stdafx.h"
|
||||
#include "rpcs3/Ini.h"
|
||||
#include "AudioManager.h"
|
||||
|
||||
OpenALThread* m_audio_out;
|
||||
|
@ -57,7 +57,7 @@ protected:
|
||||
|
||||
std::string FixOp(std::string op)
|
||||
{
|
||||
op.append(max<int>(10 - (int)op.length(), 0),' ');
|
||||
op.append(std::max<int>(10 - (int)op.length(), 0),' ');
|
||||
return op;
|
||||
}
|
||||
};
|
||||
|
@ -1,4 +1,11 @@
|
||||
#include "stdafx.h"
|
||||
#include "Emu/SysCalls/ErrorCodes.h"
|
||||
#include "Emu/ConLog.h"
|
||||
#include "Emu/Memory/Memory.h"
|
||||
#include "Emu/System.h"
|
||||
#include "rpcs3/Ini.h"
|
||||
#include "rpcs3.h"
|
||||
|
||||
#include "CPUThread.h"
|
||||
|
||||
reservation_struct reservation;
|
||||
|
@ -1,4 +1,8 @@
|
||||
#include "stdafx.h"
|
||||
#include "Emu/ConLog.h"
|
||||
#include "Emu/Memory/Memory.h"
|
||||
#include "Emu/System.h"
|
||||
|
||||
#include "CPUThreadManager.h"
|
||||
#include "Emu/Cell/PPUThread.h"
|
||||
#include "Emu/Cell/SPUThread.h"
|
||||
|
@ -1,4 +1,6 @@
|
||||
#include "stdafx.h"
|
||||
#include "Emu/ConLog.h"
|
||||
#include "Emu/Memory/Memory.h"
|
||||
#include "PPCDecoder.h"
|
||||
|
||||
u8 PPCDecoder::DecodeMemory(const u64 address)
|
||||
|
@ -1,4 +1,7 @@
|
||||
#include "stdafx.h"
|
||||
#include "Emu/ConLog.h"
|
||||
#include "Emu/Memory/Memory.h"
|
||||
#include "Emu/System.h"
|
||||
#include "PPCThread.h"
|
||||
#include "Gui/InterpreterDisAsm.h"
|
||||
|
||||
|
@ -830,45 +830,45 @@ private:
|
||||
{
|
||||
for (uint w = 0; w < 4; w++)
|
||||
{
|
||||
CPU.VPR[vd]._f[w] = max(CPU.VPR[va]._f[w], CPU.VPR[vb]._f[w]);
|
||||
CPU.VPR[vd]._f[w] = std::max(CPU.VPR[va]._f[w], CPU.VPR[vb]._f[w]);
|
||||
}
|
||||
}
|
||||
void VMAXSB(u32 vd, u32 va, u32 vb) //nf
|
||||
{
|
||||
for (uint b = 0; b < 16; b++)
|
||||
CPU.VPR[vd]._s8[b] = max(CPU.VPR[va]._s8[b], CPU.VPR[vb]._s8[b]);
|
||||
CPU.VPR[vd]._s8[b] = std::max(CPU.VPR[va]._s8[b], CPU.VPR[vb]._s8[b]);
|
||||
}
|
||||
void VMAXSH(u32 vd, u32 va, u32 vb)
|
||||
{
|
||||
for (uint h = 0; h < 8; h++)
|
||||
{
|
||||
CPU.VPR[vd]._s16[h] = max(CPU.VPR[va]._s16[h], CPU.VPR[vb]._s16[h]);
|
||||
CPU.VPR[vd]._s16[h] = std::max(CPU.VPR[va]._s16[h], CPU.VPR[vb]._s16[h]);
|
||||
}
|
||||
}
|
||||
void VMAXSW(u32 vd, u32 va, u32 vb)
|
||||
{
|
||||
for (uint w = 0; w < 4; w++)
|
||||
{
|
||||
CPU.VPR[vd]._s32[w] = max(CPU.VPR[va]._s32[w], CPU.VPR[vb]._s32[w]);
|
||||
CPU.VPR[vd]._s32[w] = std::max(CPU.VPR[va]._s32[w], CPU.VPR[vb]._s32[w]);
|
||||
}
|
||||
}
|
||||
void VMAXUB(u32 vd, u32 va, u32 vb)
|
||||
{
|
||||
for (uint b = 0; b < 16; b++)
|
||||
CPU.VPR[vd]._u8[b] = max(CPU.VPR[va]._u8[b], CPU.VPR[vb]._u8[b]);
|
||||
CPU.VPR[vd]._u8[b] = std::max(CPU.VPR[va]._u8[b], CPU.VPR[vb]._u8[b]);
|
||||
}
|
||||
void VMAXUH(u32 vd, u32 va, u32 vb)
|
||||
{
|
||||
for (uint h = 0; h < 8; h++)
|
||||
{
|
||||
CPU.VPR[vd]._u16[h] = max(CPU.VPR[va]._u16[h], CPU.VPR[vb]._u16[h]);
|
||||
CPU.VPR[vd]._u16[h] = std::max(CPU.VPR[va]._u16[h], CPU.VPR[vb]._u16[h]);
|
||||
}
|
||||
}
|
||||
void VMAXUW(u32 vd, u32 va, u32 vb)
|
||||
{
|
||||
for (uint w = 0; w < 4; w++)
|
||||
{
|
||||
CPU.VPR[vd]._u32[w] = max(CPU.VPR[va]._u32[w], CPU.VPR[vb]._u32[w]);
|
||||
CPU.VPR[vd]._u32[w] = std::max(CPU.VPR[va]._u32[w], CPU.VPR[vb]._u32[w]);
|
||||
}
|
||||
}
|
||||
void VMHADDSHS(u32 vd, u32 va, u32 vb, u32 vc)
|
||||
@ -915,49 +915,49 @@ private:
|
||||
{
|
||||
for (uint w = 0; w < 4; w++)
|
||||
{
|
||||
CPU.VPR[vd]._f[w] = min(CPU.VPR[va]._f[w], CPU.VPR[vb]._f[w]);
|
||||
CPU.VPR[vd]._f[w] = std::min(CPU.VPR[va]._f[w], CPU.VPR[vb]._f[w]);
|
||||
}
|
||||
}
|
||||
void VMINSB(u32 vd, u32 va, u32 vb) //nf
|
||||
{
|
||||
for (uint b = 0; b < 16; b++)
|
||||
{
|
||||
CPU.VPR[vd]._s8[b] = min(CPU.VPR[va]._s8[b], CPU.VPR[vb]._s8[b]);
|
||||
CPU.VPR[vd]._s8[b] = std::min(CPU.VPR[va]._s8[b], CPU.VPR[vb]._s8[b]);
|
||||
}
|
||||
}
|
||||
void VMINSH(u32 vd, u32 va, u32 vb)
|
||||
{
|
||||
for (uint h = 0; h < 8; h++)
|
||||
{
|
||||
CPU.VPR[vd]._s16[h] = min(CPU.VPR[va]._s16[h], CPU.VPR[vb]._s16[h]);
|
||||
CPU.VPR[vd]._s16[h] = std::min(CPU.VPR[va]._s16[h], CPU.VPR[vb]._s16[h]);
|
||||
}
|
||||
}
|
||||
void VMINSW(u32 vd, u32 va, u32 vb)
|
||||
{
|
||||
for (uint w = 0; w < 4; w++)
|
||||
{
|
||||
CPU.VPR[vd]._s32[w] = min(CPU.VPR[va]._s32[w], CPU.VPR[vb]._s32[w]);
|
||||
CPU.VPR[vd]._s32[w] = std::min(CPU.VPR[va]._s32[w], CPU.VPR[vb]._s32[w]);
|
||||
}
|
||||
}
|
||||
void VMINUB(u32 vd, u32 va, u32 vb)
|
||||
{
|
||||
for (uint b = 0; b < 16; b++)
|
||||
{
|
||||
CPU.VPR[vd]._u8[b] = min(CPU.VPR[va]._u8[b], CPU.VPR[vb]._u8[b]);
|
||||
CPU.VPR[vd]._u8[b] = std::min(CPU.VPR[va]._u8[b], CPU.VPR[vb]._u8[b]);
|
||||
}
|
||||
}
|
||||
void VMINUH(u32 vd, u32 va, u32 vb)
|
||||
{
|
||||
for (uint h = 0; h < 8; h++)
|
||||
{
|
||||
CPU.VPR[vd]._u16[h] = min(CPU.VPR[va]._u16[h], CPU.VPR[vb]._u16[h]);
|
||||
CPU.VPR[vd]._u16[h] = std::min(CPU.VPR[va]._u16[h], CPU.VPR[vb]._u16[h]);
|
||||
}
|
||||
}
|
||||
void VMINUW(u32 vd, u32 va, u32 vb)
|
||||
{
|
||||
for (uint w = 0; w < 4; w++)
|
||||
{
|
||||
CPU.VPR[vd]._u32[w] = min(CPU.VPR[va]._u32[w], CPU.VPR[vb]._u32[w]);
|
||||
CPU.VPR[vd]._u32[w] = std::min(CPU.VPR[va]._u32[w], CPU.VPR[vb]._u32[w]);
|
||||
}
|
||||
}
|
||||
void VMLADDUHM(u32 vd, u32 va, u32 vb, u32 vc)
|
||||
|
@ -1,4 +1,7 @@
|
||||
#include "stdafx.h"
|
||||
#include "Emu/ConLog.h"
|
||||
#include "Emu/Memory/Memory.h"
|
||||
|
||||
#include "PPUProgramCompiler.h"
|
||||
|
||||
using namespace PPU_instr;
|
||||
|
@ -1,5 +1,11 @@
|
||||
#include "stdafx.h"
|
||||
#include "Emu/ConLog.h"
|
||||
#include "Emu/Memory/Memory.h"
|
||||
#include "Emu/System.h"
|
||||
#include "Emu/Cell/PPUThread.h"
|
||||
#include "Emu/SysCalls/SC_FUNC.h"
|
||||
#include "Emu/SysCalls/Modules.h"
|
||||
|
||||
#include "Emu/Cell/PPUDecoder.h"
|
||||
#include "Emu/Cell/PPUInterpreter.h"
|
||||
#include "Emu/Cell/PPUDisAsm.h"
|
||||
|
@ -1,4 +1,10 @@
|
||||
#include "stdafx.h"
|
||||
#include "Emu/ConLog.h"
|
||||
#include "Emu/Memory/Memory.h"
|
||||
#include "Emu/System.h"
|
||||
#include "Emu/SysCalls/lv2/SC_Lwmutex.h"
|
||||
#include "Emu/SysCalls/lv2/SC_Event_flag.h"
|
||||
|
||||
#include "Emu/Cell/RawSPUThread.h"
|
||||
|
||||
RawSPUThread::RawSPUThread(u32 index, CPUThreadType type)
|
||||
|
@ -28,7 +28,7 @@ private:
|
||||
private:
|
||||
std::string& FixOp(std::string& op)
|
||||
{
|
||||
op.append(max<int>(10 - (int)op.length(), 0),' ');
|
||||
op.append(std::max<int>(10 - (int)op.length(), 0),' ');
|
||||
return op;
|
||||
}
|
||||
void DisAsm(const char* op)
|
||||
|
@ -1,4 +1,10 @@
|
||||
#include "stdafx.h"
|
||||
#include "Emu/ConLog.h"
|
||||
#include "Emu/Memory/Memory.h"
|
||||
#include "Emu/System.h"
|
||||
#include "Emu/SysCalls/lv2/SC_Lwmutex.h"
|
||||
#include "Emu/SysCalls/lv2/SC_Event_flag.h"
|
||||
|
||||
#include "SPUInstrTable.h"
|
||||
#include "SPUDisAsm.h"
|
||||
#include "SPUInterpreter.h"
|
||||
|
@ -1,4 +1,11 @@
|
||||
#include "stdafx.h"
|
||||
#include "Emu/ConLog.h"
|
||||
#include "Emu/Memory/Memory.h"
|
||||
#include "Emu/System.h"
|
||||
#include "Emu/SysCalls/lv2/SC_Lwmutex.h"
|
||||
#include "Emu/SysCalls/lv2/SC_Event_flag.h"
|
||||
|
||||
|
||||
#include "Emu/Cell/SPUThread.h"
|
||||
#include "Emu/Cell/SPUDecoder.h"
|
||||
#include "Emu/Cell/SPUInterpreter.h"
|
||||
|
@ -3,6 +3,7 @@
|
||||
#include "Emu/event.h"
|
||||
#include "Emu/SysCalls/lv2/SC_SPU_Thread.h"
|
||||
#include "MFC.h"
|
||||
#include "Emu/SysCalls/ErrorCodes.h"
|
||||
#include <mutex>
|
||||
|
||||
static const char* spu_reg_name[128] =
|
||||
@ -653,7 +654,7 @@ public:
|
||||
ConLog.Write("*** list element(%d/%d): s = 0x%x, ts = 0x%x, low ea = 0x%x (lsa = 0x%x)",
|
||||
i, list_size, (u16)rec->s, (u16)rec->ts, (u32)rec->ea, lsa | (addr & 0xf));
|
||||
|
||||
lsa += max(size, (u32)16);
|
||||
lsa += std::max(size, (u32)16);
|
||||
|
||||
if (rec->s & se16(0x8000))
|
||||
{
|
||||
|
@ -47,25 +47,4 @@ public:
|
||||
virtual void SkipLn();
|
||||
};
|
||||
|
||||
class LogFrame
|
||||
: public wxPanel
|
||||
, public ThreadBase
|
||||
{
|
||||
wxListView& m_log;
|
||||
|
||||
public:
|
||||
LogFrame(wxWindow* parent);
|
||||
~LogFrame();
|
||||
|
||||
bool Close(bool force = false);
|
||||
|
||||
private:
|
||||
virtual void Task();
|
||||
|
||||
void OnQuit(wxCloseEvent& event);
|
||||
|
||||
DECLARE_EVENT_TABLE();
|
||||
};
|
||||
|
||||
extern LogWriter ConLog;
|
||||
extern LogFrame* ConLogFrame;
|
@ -1,4 +1,7 @@
|
||||
#include "stdafx.h"
|
||||
#include "Emu/ConLog.h"
|
||||
#include "Emu/Memory/Memory.h"
|
||||
#include "Emu/System.h"
|
||||
#include "DbgConsole.h"
|
||||
|
||||
BEGIN_EVENT_TABLE(DbgConsole, FrameBase)
|
||||
|
@ -1,4 +1,7 @@
|
||||
#include "stdafx.h"
|
||||
#include "Emu/ConLog.h"
|
||||
#include "Emu/Memory/Memory.h"
|
||||
#include "Emu/System.h"
|
||||
#include "event.h"
|
||||
|
||||
void EventManager::Init()
|
||||
|
@ -1,4 +1,6 @@
|
||||
#include "stdafx.h"
|
||||
#include "Emu/ConLog.h"
|
||||
|
||||
#include "VFS.h"
|
||||
#include "Emu/HDD/HDD.h"
|
||||
#include "vfsDeviceLocalFile.h"
|
||||
|
@ -1,4 +1,5 @@
|
||||
#include "stdafx.h"
|
||||
#include <algorithm>
|
||||
#include "vfsDevice.h"
|
||||
|
||||
vfsDevice::vfsDevice(const std::string& ps3_path, const std::string& local_path)
|
||||
@ -25,7 +26,7 @@ void vfsDevice::SetPath(const std::string& ps3_path, const std::string& local_pa
|
||||
|
||||
u32 vfsDevice::CmpPs3Path(const std::string& ps3_path)
|
||||
{
|
||||
const u32 lim = min(m_ps3_path.length(), ps3_path.length());
|
||||
const u32 lim = std::min(m_ps3_path.length(), ps3_path.length());
|
||||
u32 ret = 0;
|
||||
|
||||
for(u32 i=0; i<lim; ++i, ++ret)
|
||||
@ -57,7 +58,7 @@ u32 vfsDevice::CmpLocalPath(const std::string& local_path)
|
||||
wxArrayString arr0 = wxSplit(path0.GetFullPath(), DL);
|
||||
wxArrayString arr1 = wxSplit(fmt::FromUTF8(local_path), DL);
|
||||
|
||||
const u32 lim = min(arr0.GetCount(), arr1.GetCount());
|
||||
const u32 lim = std::min(arr0.GetCount(), arr1.GetCount());
|
||||
u32 ret = 0;
|
||||
|
||||
for(u32 i=0; i<lim; ret += arr0[i++].Len() + 1)
|
||||
|
@ -1,4 +1,8 @@
|
||||
#include "stdafx.h"
|
||||
#include "Emu/ConLog.h"
|
||||
#include "Emu/Memory/Memory.h"
|
||||
#include "Emu/System.h"
|
||||
|
||||
#include "vfsDir.h"
|
||||
|
||||
vfsDir::vfsDir()
|
||||
|
@ -1,4 +1,5 @@
|
||||
#include "stdafx.h"
|
||||
#include "vfsDevice.h"
|
||||
#include "vfsDirBase.h"
|
||||
|
||||
vfsDirBase::vfsDirBase(vfsDevice* device)
|
||||
|
@ -1,4 +1,8 @@
|
||||
#include "stdafx.h"
|
||||
#include "Emu/ConLog.h"
|
||||
#include "Emu/Memory/Memory.h"
|
||||
#include "Emu/System.h"
|
||||
|
||||
#include "vfsFile.h"
|
||||
|
||||
vfsFile::vfsFile()
|
||||
|
@ -1,4 +1,5 @@
|
||||
#include "stdafx.h"
|
||||
#include "vfsDevice.h"
|
||||
#include "vfsLocalDir.h"
|
||||
|
||||
vfsLocalDir::vfsLocalDir(vfsDevice* device) : vfsDirBase(device)
|
||||
|
@ -1,4 +1,5 @@
|
||||
#include "stdafx.h"
|
||||
#include "Emu/ConLog.h"
|
||||
#include "vfsLocalFile.h"
|
||||
|
||||
static const wxFile::OpenMode vfs2wx_mode(vfsOpenMode mode)
|
||||
|
@ -1,4 +1,6 @@
|
||||
#include "stdafx.h"
|
||||
#include "Emu/ConLog.h"
|
||||
#include "Emu/Memory/Memory.h"
|
||||
#include "vfsStreamMemory.h"
|
||||
|
||||
vfsStreamMemory::vfsStreamMemory() : vfsStream()
|
||||
|
@ -1,5 +1,4 @@
|
||||
#pragma once
|
||||
#include "rpcs3.h"
|
||||
|
||||
enum
|
||||
{
|
||||
|
@ -1,4 +1,6 @@
|
||||
#include "stdafx.h"
|
||||
#include "Emu/ConLog.h"
|
||||
#include "Emu/Memory/Memory.h"
|
||||
#include "GLBuffers.h"
|
||||
#include "GLGSRender.h"
|
||||
|
||||
|
@ -1,4 +1,7 @@
|
||||
#include "stdafx.h"
|
||||
#include "Emu/ConLog.h"
|
||||
#include "Emu/Memory/Memory.h"
|
||||
#include "Emu/System.h"
|
||||
#include "GLFragmentProgram.h"
|
||||
|
||||
void GLFragmentDecompilerThread::AddCode(std::string code, bool append_mask)
|
||||
|
@ -1,4 +1,7 @@
|
||||
#include "stdafx.h"
|
||||
#include "Emu/ConLog.h"
|
||||
#include "Emu/Memory/Memory.h"
|
||||
#include "Emu/System.h"
|
||||
#include "GLGSRender.h"
|
||||
#include "Emu/Cell/PPCInstrTable.h"
|
||||
#include "Gui/RSXDebugger.h"
|
||||
|
@ -1,4 +1,6 @@
|
||||
#include "stdafx.h"
|
||||
#include "Emu/ConLog.h"
|
||||
#include "Emu/Memory/Memory.h"
|
||||
#include "GLProgram.h"
|
||||
#include "GLGSRender.h"
|
||||
|
||||
|
@ -1,4 +1,7 @@
|
||||
#include "stdafx.h"
|
||||
#include "Emu/ConLog.h"
|
||||
#include "Emu/Memory/Memory.h"
|
||||
|
||||
#include "GLProgramBuffer.h"
|
||||
|
||||
int GLProgramBuffer::SearchFp(const RSXShaderProgram& rsx_fp, GLShaderProgram& gl_fp)
|
||||
|
@ -1,4 +1,8 @@
|
||||
#include "stdafx.h"
|
||||
#include "Emu/ConLog.h"
|
||||
#include "Emu/Memory/Memory.h"
|
||||
#include "Emu/System.h"
|
||||
|
||||
#include "GLVertexProgram.h"
|
||||
|
||||
std::string GLVertexDecompilerThread::GetMask(bool is_sca)
|
||||
|
@ -1,4 +1,5 @@
|
||||
#include "stdafx.h"
|
||||
#include "Emu/ConLog.h"
|
||||
#include "OpenGL.h"
|
||||
|
||||
void InitProcTable()
|
||||
|
@ -1,4 +1,8 @@
|
||||
#include "stdafx.h"
|
||||
#include "Emu/ConLog.h"
|
||||
#include "Emu/Memory/Memory.h"
|
||||
#include "rpcs3/Ini.h"
|
||||
|
||||
#include "GSManager.h"
|
||||
#include "Null/NullGSRender.h"
|
||||
#include "GL/GLGSRender.h"
|
||||
|
@ -1,4 +1,9 @@
|
||||
#include "stdafx.h"
|
||||
#include "Emu/ConLog.h"
|
||||
#include "Emu/Memory/Memory.h"
|
||||
#include "Emu/System.h"
|
||||
#include "rpcs3/rpcs3.h"
|
||||
|
||||
#include "GSRender.h"
|
||||
|
||||
wxSize AspectRatio(wxSize rs, const wxSize as)
|
||||
|
@ -1,4 +1,8 @@
|
||||
#include "stdafx.h"
|
||||
#include "Emu/ConLog.h"
|
||||
#include "Emu/Memory/Memory.h"
|
||||
#include "RSXThread.h"
|
||||
#include "RSXThread.h"
|
||||
#include "RSXTexture.h"
|
||||
|
||||
RSXTexture::RSXTexture()
|
||||
|
@ -1,4 +1,7 @@
|
||||
#include "stdafx.h"
|
||||
#include "Emu/ConLog.h"
|
||||
#include "Emu/Memory/Memory.h"
|
||||
#include "Emu/System.h"
|
||||
#include "RSXThread.h"
|
||||
#include "Emu/SysCalls/lv2/SC_Time.h"
|
||||
|
||||
@ -1258,7 +1261,7 @@ void RSXThread::DoCmd(const u32 fcmd, const u32 cmd, mem32_ptr_t& args, const u3
|
||||
m_surface_width = (a0 >> 16) & 0xff;
|
||||
m_surface_height = (a0 >> 24) & 0xff;
|
||||
|
||||
switch (min((u32)6, count))
|
||||
switch (std::min((u32)6, count))
|
||||
{
|
||||
case 6: m_surface_pitch_b = ARGS(5);
|
||||
case 5: m_surface_offset_b = ARGS(4);
|
||||
|
@ -1,4 +1,5 @@
|
||||
#include "stdafx.h"
|
||||
#include "Emu/ConLog.h"
|
||||
#include "HDD.h"
|
||||
|
||||
vfsDeviceHDD::vfsDeviceHDD(const std::string& hdd_path) : m_hdd_path(hdd_path)
|
||||
|
@ -1,5 +1,7 @@
|
||||
#pragma once
|
||||
#include <algorithm>
|
||||
#include "Emu/FS/vfsDevice.h"
|
||||
#include "Emu/FS/vfsLocalFile.h"
|
||||
|
||||
static const u64 g_hdd_magic = *(u64*)"PS3eHDD\0";
|
||||
static const u16 g_hdd_version = 0x0001;
|
||||
@ -193,7 +195,7 @@ class vfsHDDFile
|
||||
{
|
||||
m_hdd.Seek(block * m_hdd_info.block_size);
|
||||
m_hdd.Write(&data, sizeof(vfsHDD_Entry));
|
||||
m_hdd.Write(name.c_str(), min<size_t>(GetMaxNameLen() - 1, name.length() + 1));
|
||||
m_hdd.Write(name.c_str(), std::min<size_t>(GetMaxNameLen() - 1, name.length() + 1));
|
||||
}
|
||||
|
||||
__forceinline u32 GetMaxNameLen() const
|
||||
@ -267,7 +269,7 @@ public:
|
||||
//vfsDeviceLocker lock(m_hdd);
|
||||
|
||||
const u32 block_size = m_hdd_info.block_size - sizeof(vfsHDD_Block);
|
||||
u64 rsize = min<u64>(block_size - m_position, size);
|
||||
u64 rsize = std::min<u64>(block_size - m_position, size);
|
||||
|
||||
vfsHDD_Block cur_block_info;
|
||||
m_hdd.Seek(m_cur_block * m_hdd_info.block_size);
|
||||
@ -291,7 +293,7 @@ public:
|
||||
}
|
||||
|
||||
m_cur_block = cur_block_info.next_block;
|
||||
rsize = min<u64>(block_size, size);
|
||||
rsize = std::min<u64>(block_size, size);
|
||||
|
||||
m_hdd.Seek(cur_block_info.next_block * m_hdd_info.block_size);
|
||||
m_hdd.Read(&cur_block_info, sizeof(vfsHDD_Block));
|
||||
@ -337,7 +339,7 @@ public:
|
||||
m_position = 0;
|
||||
}
|
||||
|
||||
u64 wsize = min<u64>(block_size - m_position, size);
|
||||
u64 wsize = std::min<u64>(block_size - m_position, size);
|
||||
|
||||
vfsHDD_Block block_info;
|
||||
ReadBlock(m_cur_block, block_info);
|
||||
@ -371,7 +373,7 @@ public:
|
||||
}
|
||||
|
||||
m_cur_block = new_block;
|
||||
wsize = min<u64>(block_size, size);
|
||||
wsize = std::min<u64>(block_size, size);
|
||||
|
||||
block_info.next_block = m_cur_block;
|
||||
m_hdd.Seek(last_block * m_hdd_info.block_size);
|
||||
@ -576,7 +578,7 @@ public:
|
||||
{
|
||||
m_hdd_file.Seek(block * m_hdd_info.block_size);
|
||||
m_hdd_file.Write(&data, sizeof(vfsHDD_Entry));
|
||||
m_hdd_file.Write(name.c_str(), min<size_t>(GetMaxNameLen() - 1, name.length() + 1));
|
||||
m_hdd_file.Write(name.c_str(), std::min<size_t>(GetMaxNameLen() - 1, name.length() + 1));
|
||||
}
|
||||
|
||||
bool Create(vfsHDD_EntryType type, const std::string& name)
|
||||
|
@ -1,4 +1,7 @@
|
||||
#include "stdafx.h"
|
||||
#include "Emu/ConLog.h"
|
||||
#include "rpcs3/Ini.h"
|
||||
#include "rpcs3.h"
|
||||
#include "Keyboard.h"
|
||||
#include "Null/NullKeyboardHandler.h"
|
||||
#include "Windows/WindowsKeyboardHandler.h"
|
||||
|
@ -1,4 +1,7 @@
|
||||
#include "stdafx.h"
|
||||
#include "Emu/ConLog.h"
|
||||
#include "rpcs3/Ini.h"
|
||||
#include "rpcs3.h"
|
||||
#include "Mouse.h"
|
||||
#include "Null/NullMouseHandler.h"
|
||||
#include "Windows/WindowsMouseHandler.h"
|
||||
|
@ -1,4 +1,7 @@
|
||||
#include "stdafx.h"
|
||||
#include "Emu/ConLog.h"
|
||||
#include "rpcs3/Ini.h"
|
||||
#include "rpcs3.h"
|
||||
#include "Pad.h"
|
||||
#include "Null/NullPadHandler.h"
|
||||
#include "Windows/WindowsPadHandler.h"
|
||||
|
@ -1,5 +1,7 @@
|
||||
#include "stdafx.h"
|
||||
#if defined (_WIN32)
|
||||
#include <algorithm>
|
||||
#include "Emu/ConLog.h"
|
||||
#include "XInputPadHandler.h"
|
||||
#include <cstring>
|
||||
|
||||
|
@ -1,7 +1,10 @@
|
||||
#include "stdafx.h"
|
||||
#include <atomic>
|
||||
|
||||
#include "Emu/ConLog.h"
|
||||
#include "Memory.h"
|
||||
#include "MemoryBlock.h"
|
||||
#include <atomic>
|
||||
#include "Emu/System.h"
|
||||
|
||||
MemoryBase Memory;
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
#pragma once
|
||||
#include "Emu/SysCalls/Callback.h"
|
||||
#include "MemoryBlock.h"
|
||||
#include <vector>
|
||||
|
||||
@ -1134,3 +1135,11 @@ typedef mem_list_ptr_t<u8, u32> mem8_ptr_t;
|
||||
typedef mem_list_ptr_t<u16, u32> mem16_ptr_t;
|
||||
typedef mem_list_ptr_t<u32, u32> mem32_ptr_t;
|
||||
typedef mem_list_ptr_t<u64, u32> mem64_ptr_t;
|
||||
|
||||
//#define re(val) MemoryBase::Reverse(val)
|
||||
#define re64(val) MemoryBase::Reverse64(val)
|
||||
#define re32(val) MemoryBase::Reverse32(val)
|
||||
#define re16(val) MemoryBase::Reverse16(val)
|
||||
|
||||
template<typename T> T re(const T val) { T res; se_t<T>::func(res, val); return res; }
|
||||
template<typename T1, typename T2> void re(T1& dst, const T2 val) { se_t<T1>::func(dst, val); }
|
||||
|
@ -1,4 +1,7 @@
|
||||
#include "stdafx.h"
|
||||
#include "Emu/ConLog.h"
|
||||
#include "Emu/Memory/Memory.h"
|
||||
#include "Emu/System.h"
|
||||
#include "Callback.h"
|
||||
|
||||
#include "Emu/Cell/PPCThread.h"
|
||||
|
@ -1,4 +1,7 @@
|
||||
#include "stdafx.h"
|
||||
#include "Emu/ConLog.h"
|
||||
#include "Emu/Memory/Memory.h"
|
||||
#include "Emu/System.h"
|
||||
#include "SysCalls.h"
|
||||
|
||||
#define FUNC_LOG_ERROR(x) ConLog.Error(x); return 0
|
||||
|
@ -1,6 +1,10 @@
|
||||
#include "stdafx.h"
|
||||
#include "SysCalls.h"
|
||||
#include "SC_FUNC.h"
|
||||
#include "Emu/ConLog.h"
|
||||
#include "Emu/Memory/Memory.h"
|
||||
#include "Emu/System.h"
|
||||
#include "Emu/Cell/PPUThread.h"
|
||||
#include "Emu/SysCalls/SC_FUNC.h"
|
||||
#include "Emu/SysCalls/Modules.h"
|
||||
#include <mutex>
|
||||
|
||||
|
||||
|
@ -1,6 +1,11 @@
|
||||
#include "stdafx.h"
|
||||
#include "Emu/SysCalls/SysCalls.h"
|
||||
#include "Emu/ConLog.h"
|
||||
#include "Emu/Memory/Memory.h"
|
||||
#include "Emu/System.h"
|
||||
#include "Emu/Cell/PPUThread.h"
|
||||
#include "Emu/SysCalls/SC_FUNC.h"
|
||||
#include "Emu/SysCalls/Modules.h"
|
||||
#include "Emu/SysCalls/SysCalls.h"
|
||||
#include "cellPamf.h"
|
||||
|
||||
extern SMutexGeneral g_mutex_avcodec_open2;
|
||||
|
@ -1,6 +1,11 @@
|
||||
#include "stdafx.h"
|
||||
#include "Emu/SysCalls/SysCalls.h"
|
||||
#include "Emu/ConLog.h"
|
||||
#include "Emu/Memory/Memory.h"
|
||||
#include "Emu/System.h"
|
||||
#include "Emu/Cell/PPUThread.h"
|
||||
#include "Emu/SysCalls/SC_FUNC.h"
|
||||
#include "Emu/SysCalls/Modules.h"
|
||||
#include "Emu/SysCalls/SysCalls.h"
|
||||
|
||||
void cellAtrac_init();
|
||||
Module cellAtrac(0x0013, cellAtrac_init);
|
||||
|
@ -1,6 +1,11 @@
|
||||
#include "stdafx.h"
|
||||
#include "Emu/SysCalls/SysCalls.h"
|
||||
#include "Emu/ConLog.h"
|
||||
#include "Emu/Memory/Memory.h"
|
||||
#include "Emu/System.h"
|
||||
#include "Emu/Cell/PPUThread.h"
|
||||
#include "Emu/SysCalls/SC_FUNC.h"
|
||||
#include "Emu/SysCalls/Modules.h"
|
||||
#include "Emu/SysCalls/SysCalls.h"
|
||||
#include "Utilities/SQueue.h"
|
||||
#include "Emu/Audio/cellAudio.h"
|
||||
#include "Emu/Audio/AudioManager.h"
|
||||
|
@ -1,4 +1,5 @@
|
||||
#include "stdafx.h"
|
||||
#if 0
|
||||
#include "Emu/SysCalls/SysCalls.h"
|
||||
#include "Emu/SysCalls/SC_FUNC.h"
|
||||
|
||||
@ -47,3 +48,4 @@ void cellBgdl_init()
|
||||
cellBgdl.AddFunc(0x7e134a90, cellBGDLSetMode);
|
||||
cellBgdl.AddFunc(0x74e57bdf, cellBGDLGetMode);
|
||||
}
|
||||
#endif
|
||||
|
@ -1,4 +1,5 @@
|
||||
#include "stdafx.h"
|
||||
#if 0
|
||||
#include "Emu/SysCalls/SysCalls.h"
|
||||
#include "Emu/SysCalls/SC_FUNC.h"
|
||||
|
||||
@ -240,3 +241,4 @@ void cellCamera_init()
|
||||
cellCamera.AddFunc(0xa7fd2f5b, cellCameraSetNotifyEventQueue2);
|
||||
cellCamera.AddFunc(0x44673f07, cellCameraRemoveNotifyEventQueue2);
|
||||
}
|
||||
#endif
|
||||
|
@ -1,4 +1,5 @@
|
||||
#include "stdafx.h"
|
||||
#if 0
|
||||
#include "Emu/SysCalls/SysCalls.h"
|
||||
#include "Emu/SysCalls/SC_FUNC.h"
|
||||
|
||||
@ -82,3 +83,4 @@ void cellCelp8Enc_init()
|
||||
cellCelp8Enc.AddFunc(0x29da1ea6, cellCelp8EncWaitForOutput);
|
||||
cellCelp8Enc.AddFunc(0x48c5020d, cellCelp8EncGetAu);
|
||||
}
|
||||
#endif
|
||||
|
@ -1,4 +1,5 @@
|
||||
#include "stdafx.h"
|
||||
#if 0
|
||||
#include "Emu/SysCalls/SysCalls.h"
|
||||
#include "Emu/SysCalls/SC_FUNC.h"
|
||||
|
||||
@ -82,3 +83,4 @@ void cellCelpEnc_init()
|
||||
cellCelpEnc.AddFunc(0x9b244272, cellCelpEncWaitForOutput);
|
||||
cellCelpEnc.AddFunc(0x3773692f, cellCelpEncGetAu);
|
||||
}
|
||||
#endif
|
||||
|
@ -1,4 +1,10 @@
|
||||
#include "stdafx.h"
|
||||
#include "Emu/ConLog.h"
|
||||
#include "Emu/Memory/Memory.h"
|
||||
#include "Emu/System.h"
|
||||
#include "Emu/Cell/PPUThread.h"
|
||||
#include "Emu/SysCalls/SC_FUNC.h"
|
||||
#include "Emu/SysCalls/Modules.h"
|
||||
#include "Emu/SysCalls/SysCalls.h"
|
||||
#include "Emu/SysCalls/SC_FUNC.h"
|
||||
#include "cellPamf.h"
|
||||
|
@ -1,4 +1,5 @@
|
||||
#include "stdafx.h"
|
||||
#if 0
|
||||
#include "Emu/SysCalls/SysCalls.h"
|
||||
#include "Emu/SysCalls/SC_FUNC.h"
|
||||
|
||||
@ -359,3 +360,4 @@ void cellFiber_init()
|
||||
cellFiber.AddFunc(0xea6dc1ad, cellFiberPpuUtilWorkerControlCheckFlags);
|
||||
cellFiber.AddFunc(0xf2ccad4f, cellFiberPpuUtilWorkerControlInitializeWithAttribute);
|
||||
}
|
||||
#endif
|
||||
|
@ -1,6 +1,12 @@
|
||||
#include "stdafx.h"
|
||||
#include "Emu/SysCalls/SysCalls.h"
|
||||
#include "Emu/ConLog.h"
|
||||
#include "Emu/Memory/Memory.h"
|
||||
#include "Emu/System.h"
|
||||
#include "Emu/Cell/PPUThread.h"
|
||||
#include "Emu/SysCalls/SC_FUNC.h"
|
||||
#include "Emu/SysCalls/Modules.h"
|
||||
#include "Emu/SysCalls/SysCalls.h"
|
||||
#include "Emu/FS/vfsFile.h"
|
||||
#include "cellFont.h"
|
||||
#include "stblib/stb_truetype.h"
|
||||
|
||||
|
@ -1,6 +1,11 @@
|
||||
#include "stdafx.h"
|
||||
#include "Emu/SysCalls/SysCalls.h"
|
||||
#include "Emu/ConLog.h"
|
||||
#include "Emu/Memory/Memory.h"
|
||||
#include "Emu/System.h"
|
||||
#include "Emu/Cell/PPUThread.h"
|
||||
#include "Emu/SysCalls/SC_FUNC.h"
|
||||
#include "Emu/SysCalls/Modules.h"
|
||||
#include "Emu/SysCalls/SysCalls.h"
|
||||
#include "cellFont.h"
|
||||
|
||||
void cellFontFT_init();
|
||||
|
@ -1,6 +1,12 @@
|
||||
#include "stdafx.h"
|
||||
#include "Emu/SysCalls/SysCalls.h"
|
||||
#include "Emu/ConLog.h"
|
||||
#include "Emu/Memory/Memory.h"
|
||||
#include "Emu/System.h"
|
||||
#include "Emu/Cell/PPUThread.h"
|
||||
#include "Emu/SysCalls/SC_FUNC.h"
|
||||
#include "Emu/SysCalls/Modules.h"
|
||||
#include "Emu/SysCalls/SysCalls.h"
|
||||
#include "Emu/FS/vfsFile.h"
|
||||
|
||||
#include "Loader/PSF.h"
|
||||
|
||||
|
@ -1,6 +1,11 @@
|
||||
#include "stdafx.h"
|
||||
#include "Emu/SysCalls/SysCalls.h"
|
||||
#include "Emu/ConLog.h"
|
||||
#include "Emu/Memory/Memory.h"
|
||||
#include "Emu/System.h"
|
||||
#include "Emu/Cell/PPUThread.h"
|
||||
#include "Emu/SysCalls/SC_FUNC.h"
|
||||
#include "Emu/SysCalls/Modules.h"
|
||||
#include "Emu/SysCalls/SysCalls.h"
|
||||
#include "Emu/GS/GCM.h"
|
||||
|
||||
void cellGcmSys_init();
|
||||
|
@ -1,4 +1,5 @@
|
||||
#include "stdafx.h"
|
||||
#if 0
|
||||
#include "Emu/SysCalls/SysCalls.h"
|
||||
#include "Emu/SysCalls/SC_FUNC.h"
|
||||
|
||||
@ -282,3 +283,4 @@ void cellGem_init()
|
||||
cellGem.AddFunc(0x1f6328d8, cellGemWriteExternalPort);
|
||||
|
||||
}
|
||||
#endif
|
||||
|
@ -1,6 +1,11 @@
|
||||
#include "stdafx.h"
|
||||
#include "Emu/SysCalls/SysCalls.h"
|
||||
#include "Emu/ConLog.h"
|
||||
#include "Emu/Memory/Memory.h"
|
||||
#include "Emu/System.h"
|
||||
#include "Emu/Cell/PPUThread.h"
|
||||
#include "Emu/SysCalls/SC_FUNC.h"
|
||||
#include "Emu/SysCalls/Modules.h"
|
||||
#include "Emu/SysCalls/SysCalls.h"
|
||||
#include "cellGifDec.h"
|
||||
|
||||
#include "stblib/stb_image.h"
|
||||
|
@ -1,4 +1,5 @@
|
||||
#include "stdafx.h"
|
||||
#if 0
|
||||
#include "Emu/SysCalls/SysCalls.h"
|
||||
#include "Emu/SysCalls/SC_FUNC.h"
|
||||
|
||||
@ -151,3 +152,4 @@ void cellHttpUtil_init()
|
||||
cellHttpUtil.AddFunc(0x83faa354, cellHttpUtilBase64Encoder);
|
||||
cellHttpUtil.AddFunc(0x8e52ee08, cellHttpUtilBase64Decoder);
|
||||
}
|
||||
#endif
|
||||
|
@ -1,4 +1,5 @@
|
||||
#include "stdafx.h"
|
||||
#if 0
|
||||
#include "Emu/SysCalls/SysCalls.h"
|
||||
#include "Emu/SysCalls/SC_FUNC.h"
|
||||
|
||||
@ -304,3 +305,4 @@ void cellImejp_init()
|
||||
cellImejp.AddFunc(0x1986f2cd, cellImeJpGetPredictList);
|
||||
cellImejp.AddFunc(0xeede898c, cellImeJpConfirmPrediction);
|
||||
}
|
||||
#endif
|
||||
|
@ -1,6 +1,10 @@
|
||||
#include "stdafx.h"
|
||||
#include "Emu/SysCalls/SysCalls.h"
|
||||
#include "Emu/ConLog.h"
|
||||
#include "Emu/Memory/Memory.h"
|
||||
#include "Emu/System.h"
|
||||
#include "Emu/Cell/PPUThread.h"
|
||||
#include "Emu/SysCalls/SC_FUNC.h"
|
||||
#include "Emu/SysCalls/Modules.h"
|
||||
#include "cellJpgDec.h"
|
||||
#include "stblib/stb_image.h"
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
#include "stdafx.h"
|
||||
#if 0
|
||||
#include "Emu/SysCalls/SysCalls.h"
|
||||
#include "Emu/SysCalls/SC_FUNC.h"
|
||||
|
||||
@ -89,3 +90,4 @@ void cellJpgEnc_init()
|
||||
cellJpgEnc.AddFunc(0x4262e880, cellJpgEncGetStreamInfo);
|
||||
cellJpgEnc.AddFunc(0x0cf2b78b, cellJpgEncReset);
|
||||
}
|
||||
#endif
|
||||
|
@ -1,4 +1,5 @@
|
||||
#include "stdafx.h"
|
||||
#if 0
|
||||
#include "Emu/SysCalls/SysCalls.h"
|
||||
#include "Emu/SysCalls/SC_FUNC.h"
|
||||
|
||||
@ -55,3 +56,4 @@ void cellKey2char_init()
|
||||
cellKey2char.AddFunc(0xbfc03768, cellKey2CharSetMode);
|
||||
cellKey2char.AddFunc(0x0dfbadfa, cellKey2CharSetArrangement);
|
||||
}
|
||||
#endif
|
||||
|
@ -1,6 +1,10 @@
|
||||
#include "stdafx.h"
|
||||
#include "Emu/SysCalls/SysCalls.h"
|
||||
#include "Emu/ConLog.h"
|
||||
#include "Emu/Memory/Memory.h"
|
||||
#include "Emu/System.h"
|
||||
#include "Emu/Cell/PPUThread.h"
|
||||
#include "Emu/SysCalls/SC_FUNC.h"
|
||||
#include "Emu/SysCalls/Modules.h"
|
||||
|
||||
// Requires GCC 4.10 apparently..
|
||||
#ifdef _MSC_VER
|
||||
|
@ -1,4 +1,5 @@
|
||||
#include "stdafx.h"
|
||||
#if 0
|
||||
#include "Emu/SysCalls/SysCalls.h"
|
||||
#include "Emu/SysCalls/SC_FUNC.h"
|
||||
|
||||
@ -267,3 +268,4 @@ void cellLv2dbg_init()
|
||||
cellLv2dbg.AddFunc(0xd830062a, sys_dbg_signal_to_coredump_handler);
|
||||
cellLv2dbg.AddFunc(0xb9da87d3, sys_dbg_get_coredump_params);
|
||||
}
|
||||
#endif
|
||||
|
@ -1,4 +1,5 @@
|
||||
#include "stdafx.h"
|
||||
#if 0
|
||||
#include "Emu/SysCalls/SysCalls.h"
|
||||
#include "Emu/SysCalls/SC_FUNC.h"
|
||||
|
||||
@ -329,3 +330,4 @@ void cellMic_init()
|
||||
cellMic.AddFunc(0xf82bbf7c, cellMicSysShareEnd);
|
||||
cellMic.AddFunc(0xfdbbe469, cellMicGetDeviceIdentifier);
|
||||
}
|
||||
#endif
|
||||
|
@ -1,4 +1,5 @@
|
||||
#include "stdafx.h"
|
||||
#if 0
|
||||
#include "Emu/SysCalls/SysCalls.h"
|
||||
#include "Emu/SysCalls/SC_FUNC.h"
|
||||
|
||||
@ -98,3 +99,4 @@ void cellMusicDecode_init()
|
||||
cellMusicDecode.AddFunc(0xb84f5c81, cellMusicDecodeSetSelectionContext);
|
||||
cellMusicDecode.AddFunc(0x58ab1999, cellMusicDecodeGetContentsId);
|
||||
}
|
||||
#endif
|
||||
|
@ -1,4 +1,5 @@
|
||||
#include "stdafx.h"
|
||||
#if 0
|
||||
#include "Emu/SysCalls/SysCalls.h"
|
||||
#include "Emu/SysCalls/SC_FUNC.h"
|
||||
|
||||
@ -60,3 +61,4 @@ void cellMusicExport_init()
|
||||
cellMusicExport.AddFunc(0xb202f0e8, cellMusicExportFromFile);
|
||||
cellMusicExport.AddFunc(0x92b50ebc, cellMusicExportProgress);
|
||||
}
|
||||
#endif
|
||||
|
@ -1,6 +1,10 @@
|
||||
#include "stdafx.h"
|
||||
#include "Emu/SysCalls/SysCalls.h"
|
||||
#include "Emu/ConLog.h"
|
||||
#include "Emu/Memory/Memory.h"
|
||||
#include "Emu/System.h"
|
||||
#include "Emu/Cell/PPUThread.h"
|
||||
#include "Emu/SysCalls/SC_FUNC.h"
|
||||
#include "Emu/SysCalls/Modules.h"
|
||||
|
||||
void cellNetCtl_init();
|
||||
Module cellNetCtl(0x0014, cellNetCtl_init);
|
||||
|
@ -1,4 +1,5 @@
|
||||
#include "stdafx.h"
|
||||
#if 0
|
||||
#include "Emu/SysCalls/SysCalls.h"
|
||||
#include "Emu/SysCalls/SC_FUNC.h"
|
||||
|
||||
@ -44,3 +45,4 @@ void cellOvis_init()
|
||||
cellOvis.AddFunc(0xce6cb776, cellOvisFixSpuSegments);
|
||||
cellOvis.AddFunc(0x629ba0c0, cellOvisInvalidateOverlappedSegments);
|
||||
}
|
||||
#endif
|
||||
|
@ -1,6 +1,10 @@
|
||||
#include "stdafx.h"
|
||||
#include "Emu/SysCalls/SysCalls.h"
|
||||
#include "Emu/ConLog.h"
|
||||
#include "Emu/Memory/Memory.h"
|
||||
#include "Emu/System.h"
|
||||
#include "Emu/Cell/PPUThread.h"
|
||||
#include "Emu/SysCalls/SC_FUNC.h"
|
||||
#include "Emu/SysCalls/Modules.h"
|
||||
#include "cellPamf.h"
|
||||
|
||||
void cellPamf_init();
|
||||
|
@ -1,4 +1,5 @@
|
||||
#include "stdafx.h"
|
||||
#if 0
|
||||
#include "Emu/SysCalls/SysCalls.h"
|
||||
#include "Emu/SysCalls/SC_FUNC.h"
|
||||
|
||||
@ -64,3 +65,4 @@ void cellPhotoDecode_init()
|
||||
cellPhotoDecode.AddFunc(0xad7d8f38, cellPhotoDecodeFinalize);
|
||||
cellPhotoDecode.AddFunc(0x28b22e44, cellPhotoDecodeFromFile);
|
||||
}
|
||||
#endif
|
||||
|
@ -1,4 +1,5 @@
|
||||
#include "stdafx.h"
|
||||
#if 0
|
||||
#include "Emu/SysCalls/SysCalls.h"
|
||||
#include "Emu/SysCalls/SC_FUNC.h"
|
||||
|
||||
@ -61,3 +62,4 @@ void cellPhotoExport_init()
|
||||
//cellPhotoExport.AddFunc(, cellPhotoExportFromFileWithCopy);
|
||||
cellPhotoExport.AddFunc(0xde509ead, cellPhotoExportProgress);
|
||||
}
|
||||
#endif
|
||||
|
@ -1,4 +1,5 @@
|
||||
#include "stdafx.h"
|
||||
#if 0
|
||||
#include "Emu/SysCalls/SysCalls.h"
|
||||
#include "Emu/SysCalls/SC_FUNC.h"
|
||||
|
||||
@ -59,3 +60,4 @@ void cellPhotoImport_init()
|
||||
cellPhotoImport.AddFunc(0x0783bce0, _cellPhotoImport);
|
||||
cellPhotoImport.AddFunc(0x1ab8df55, _cellPhotoImport2);
|
||||
}
|
||||
#endif
|
||||
|
@ -1,6 +1,10 @@
|
||||
#include "stdafx.h"
|
||||
#include "Emu/SysCalls/SysCalls.h"
|
||||
#include "Emu/ConLog.h"
|
||||
#include "Emu/Memory/Memory.h"
|
||||
#include "Emu/System.h"
|
||||
#include "Emu/Cell/PPUThread.h"
|
||||
#include "Emu/SysCalls/SC_FUNC.h"
|
||||
#include "Emu/SysCalls/Modules.h"
|
||||
#include "cellPngDec.h"
|
||||
#include "stblib/stb_image.h"
|
||||
#include <map>
|
||||
|
@ -1,4 +1,5 @@
|
||||
#include "stdafx.h"
|
||||
#if 0
|
||||
#include "Emu/SysCalls/SysCalls.h"
|
||||
#include "Emu/SysCalls/SC_FUNC.h"
|
||||
|
||||
@ -82,3 +83,4 @@ void cellPngEnc_init()
|
||||
cellPngEnc.AddFunc(0x585269bc, cellPngEncGetStreamInfo);
|
||||
cellPngEnc.AddFunc(0x6ac91de3, cellPngEncReset);
|
||||
}
|
||||
#endif
|
||||
|
@ -1,4 +1,5 @@
|
||||
#include "stdafx.h"
|
||||
#if 0
|
||||
#include "Emu/SysCalls/SysCalls.h"
|
||||
#include "Emu/SysCalls/SC_FUNC.h"
|
||||
|
||||
@ -105,3 +106,4 @@ void cellPrint_init()
|
||||
cellPrint.AddFunc(0x0d44f661, cellPrintEndPage);
|
||||
cellPrint.AddFunc(0x0a373522, cellPrintSendBand);
|
||||
}
|
||||
#endif
|
||||
|
@ -1,7 +1,10 @@
|
||||
#include "stdafx.h"
|
||||
#include "Emu/SysCalls/SysCalls.h"
|
||||
#include "Emu/ConLog.h"
|
||||
#include "Emu/Memory/Memory.h"
|
||||
#include "Emu/System.h"
|
||||
#include "Emu/Cell/PPUThread.h"
|
||||
#include "Emu/SysCalls/SC_FUNC.h"
|
||||
#include "Emu/GS/GCM.h"
|
||||
#include "Emu/SysCalls/Modules.h"
|
||||
#include "cellResc.h"
|
||||
|
||||
void cellResc_init();
|
||||
|
@ -1,6 +1,10 @@
|
||||
#include "stdafx.h"
|
||||
#include "Emu/SysCalls/SysCalls.h"
|
||||
#include "Emu/ConLog.h"
|
||||
#include "Emu/Memory/Memory.h"
|
||||
#include "Emu/System.h"
|
||||
#include "Emu/Cell/PPUThread.h"
|
||||
#include "Emu/SysCalls/SC_FUNC.h"
|
||||
#include "Emu/SysCalls/Modules.h"
|
||||
|
||||
#include "cellRtc.h"
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
#include "stdafx.h"
|
||||
#if 0
|
||||
#include "Emu/SysCalls/SysCalls.h"
|
||||
#include "Emu/SysCalls/SC_FUNC.h"
|
||||
|
||||
@ -255,3 +256,4 @@ void cellRudp_init()
|
||||
cellRudp.AddFunc(0x6ee04954, cellRudpNetReceived);
|
||||
cellRudp.AddFunc(0xfade48b2, cellRudpProcessEvents);
|
||||
}
|
||||
#endif
|
||||
|
@ -1,4 +1,5 @@
|
||||
#include "stdafx.h"
|
||||
#if 0
|
||||
#include "Emu/SysCalls/SysCalls.h"
|
||||
#include "Emu/SysCalls/SC_FUNC.h"
|
||||
|
||||
@ -918,3 +919,4 @@ void cellSail_init()
|
||||
cellSail.AddFunc(0xcc987ba6, cellSailPlayerDumpImage);
|
||||
cellSail.AddFunc(0x025b4974, cellSailPlayerUnregisterSource);
|
||||
}
|
||||
#endif
|
||||
|
@ -1,4 +1,5 @@
|
||||
#include "stdafx.h"
|
||||
#if 0
|
||||
#include "Emu/SysCalls/SysCalls.h"
|
||||
#include "Emu/SysCalls/SC_FUNC.h"
|
||||
|
||||
@ -286,3 +287,4 @@ void cellSailRec_init()
|
||||
|
||||
cellSailRec.AddFunc(0x37aad85f, cellSailRecorderDumpImage);
|
||||
}
|
||||
#endif
|
||||
|
@ -1,4 +1,5 @@
|
||||
#include "stdafx.h"
|
||||
#if 0
|
||||
#include "Emu/SysCalls/SysCalls.h"
|
||||
#include "Emu/SysCalls/SC_FUNC.h"
|
||||
|
||||
@ -56,3 +57,4 @@ void cellScreenshot_init()
|
||||
cellScreenshot.AddFunc(0x9e33ab8f, cellScreenShotEnable);
|
||||
cellScreenshot.AddFunc(0xfc6f4e74, cellScreenShotDisable);
|
||||
}
|
||||
#endif
|
||||
|
@ -1,4 +1,5 @@
|
||||
#include "stdafx.h"
|
||||
#if 0
|
||||
#include "Emu/SysCalls/SysCalls.h"
|
||||
#include "Emu/SysCalls/SC_FUNC.h"
|
||||
|
||||
@ -174,3 +175,4 @@ void cellSearch_init()
|
||||
cellSearch.AddFunc(0x8fe376a6, cellSearchCancel);
|
||||
cellSearch.AddFunc(0x774033d6, cellSearchEnd);
|
||||
}
|
||||
#endif
|
||||
|
@ -1,4 +1,5 @@
|
||||
#include "stdafx.h"
|
||||
#if 0
|
||||
#include "Emu/SysCalls/SysCalls.h"
|
||||
#include "Emu/SysCalls/SC_FUNC.h"
|
||||
|
||||
@ -146,3 +147,4 @@ void cellSheap_init()
|
||||
cellSheap.AddFunc(0x987e260e, cellKeySheapQueueNew);
|
||||
cellSheap.AddFunc(0x79a6abd0, cellKeySheapQueueDelete);
|
||||
}
|
||||
#endif
|
||||
|
@ -1,7 +1,12 @@
|
||||
#include "stdafx.h"
|
||||
#include "cellSpurs.h"
|
||||
#include "Emu/SysCalls/SysCalls.h"
|
||||
#include "Emu/ConLog.h"
|
||||
#include "Emu/Memory/Memory.h"
|
||||
#include "Emu/System.h"
|
||||
#include "Emu/Cell/PPUThread.h"
|
||||
#include "Emu/SysCalls/SC_FUNC.h"
|
||||
#include "Emu/SysCalls/Modules.h"
|
||||
|
||||
#include "cellSpurs.h"
|
||||
|
||||
void cellSpurs_init();
|
||||
Module cellSpurs(0x000a, cellSpurs_init);
|
||||
|
@ -1,4 +1,5 @@
|
||||
#include "stdafx.h"
|
||||
#if 0
|
||||
#include "Emu/SysCalls/SysCalls.h"
|
||||
#include "Emu/SysCalls/SC_FUNC.h"
|
||||
|
||||
@ -108,3 +109,4 @@ void cellSsl_init()
|
||||
cellSsl.AddFunc(0x006c4900, cellSslCertGetNameEntryInfo);
|
||||
cellSsl.AddFunc(0x5e9253ca, cellSslCertGetMd5Fingerprint);
|
||||
}
|
||||
#endif
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user