mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
More minor fixes
This commit is contained in:
parent
496f14c4f5
commit
1ca63161b3
4 changed files with 4 additions and 7 deletions
|
@ -566,7 +566,7 @@ void Core_MemoryExceptionInfo(u32 address, u32 accessSize, u32 pc, MemoryExcepti
|
||||||
// Can't be ignored
|
// Can't be ignored
|
||||||
void Core_ExecException(u32 address, u32 pc, ExecExceptionType type) {
|
void Core_ExecException(u32 address, u32 pc, ExecExceptionType type) {
|
||||||
const char *desc = ExecExceptionTypeAsString(type);
|
const char *desc = ExecExceptionTypeAsString(type);
|
||||||
WARN_LOG(Log::MemMap, "%s: Invalid exec address %08x PC %08x LR %08x", desc, address, pc, currentMIPS->r[MIPS_REG_RA]);
|
WARN_LOG(Log::MemMap, "%s: Invalid exec address %08x pc=%08x ra=%08x", desc, address, pc, currentMIPS->r[MIPS_REG_RA]);
|
||||||
|
|
||||||
MIPSExceptionInfo &e = g_exceptionInfo;
|
MIPSExceptionInfo &e = g_exceptionInfo;
|
||||||
e = {};
|
e = {};
|
||||||
|
|
|
@ -309,7 +309,7 @@ void Jit::Comp_SVQ(MIPSOpcode op) {
|
||||||
if (!g_Config.bFastMemory) {
|
if (!g_Config.bFastMemory) {
|
||||||
DISABLE;
|
DISABLE;
|
||||||
}
|
}
|
||||||
DISABLE;
|
DISABLE; // The code below isn't quite working, so we fall back to interpreter for now.
|
||||||
|
|
||||||
gpr.MapReg(rs, true, false);
|
gpr.MapReg(rs, true, false);
|
||||||
gpr.FlushLockX(ECX);
|
gpr.FlushLockX(ECX);
|
||||||
|
|
|
@ -505,7 +505,6 @@ void BlockAllocator::Block::DoState(PointerWrap &p)
|
||||||
// Since we use truncate_cpy, the empty space is not zeroed. Zero it now.
|
// Since we use truncate_cpy, the empty space is not zeroed. Zero it now.
|
||||||
// This avoids saving uninitialized memory.
|
// This avoids saving uninitialized memory.
|
||||||
size_t tagLen = strlen(tag);
|
size_t tagLen = strlen(tag);
|
||||||
if (tagLen != sizeof(tag))
|
memset(tag + tagLen, 0, sizeof(tag) - tagLen);
|
||||||
memset(tag + tagLen, 0, sizeof(tag) - tagLen);
|
|
||||||
DoArray(p, tag, sizeof(tag));
|
DoArray(p, tag, sizeof(tag));
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,6 +16,7 @@
|
||||||
// https://github.com/hrydgard/ppsspp and http://www.ppsspp.org/.
|
// https://github.com/hrydgard/ppsspp and http://www.ppsspp.org/.
|
||||||
|
|
||||||
#include <set>
|
#include <set>
|
||||||
|
|
||||||
#include "Common/System/Display.h"
|
#include "Common/System/Display.h"
|
||||||
#include "Common/GPU/OpenGL/GLFeatures.h"
|
#include "Common/GPU/OpenGL/GLFeatures.h"
|
||||||
|
|
||||||
|
@ -430,9 +431,6 @@ SoftGPU::SoftGPU(GraphicsContext *gfxCtx, Draw::DrawContext *draw)
|
||||||
Rasterizer::Init();
|
Rasterizer::Init();
|
||||||
Sampler::Init();
|
Sampler::Init();
|
||||||
drawEngine_ = new SoftwareDrawEngine();
|
drawEngine_ = new SoftwareDrawEngine();
|
||||||
if (!drawEngine_)
|
|
||||||
return;
|
|
||||||
|
|
||||||
drawEngine_->SetGPUCommon(this);
|
drawEngine_->SetGPUCommon(this);
|
||||||
drawEngine_->Init();
|
drawEngine_->Init();
|
||||||
drawEngineCommon_ = drawEngine_;
|
drawEngineCommon_ = drawEngine_;
|
||||||
|
|
Loading…
Add table
Reference in a new issue