mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-02-11 09:05:38 +00:00
More minor fixes
This commit is contained in:
parent
496f14c4f5
commit
1ca63161b3
@ -566,7 +566,7 @@ void Core_MemoryExceptionInfo(u32 address, u32 accessSize, u32 pc, MemoryExcepti
|
||||
// Can't be ignored
|
||||
void Core_ExecException(u32 address, u32 pc, ExecExceptionType 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;
|
||||
e = {};
|
||||
|
@ -309,7 +309,7 @@ void Jit::Comp_SVQ(MIPSOpcode op) {
|
||||
if (!g_Config.bFastMemory) {
|
||||
DISABLE;
|
||||
}
|
||||
DISABLE;
|
||||
DISABLE; // The code below isn't quite working, so we fall back to interpreter for now.
|
||||
|
||||
gpr.MapReg(rs, true, false);
|
||||
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.
|
||||
// This avoids saving uninitialized memory.
|
||||
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));
|
||||
}
|
||||
|
@ -16,6 +16,7 @@
|
||||
// https://github.com/hrydgard/ppsspp and http://www.ppsspp.org/.
|
||||
|
||||
#include <set>
|
||||
|
||||
#include "Common/System/Display.h"
|
||||
#include "Common/GPU/OpenGL/GLFeatures.h"
|
||||
|
||||
@ -430,9 +431,6 @@ SoftGPU::SoftGPU(GraphicsContext *gfxCtx, Draw::DrawContext *draw)
|
||||
Rasterizer::Init();
|
||||
Sampler::Init();
|
||||
drawEngine_ = new SoftwareDrawEngine();
|
||||
if (!drawEngine_)
|
||||
return;
|
||||
|
||||
drawEngine_->SetGPUCommon(this);
|
||||
drawEngine_->Init();
|
||||
drawEngineCommon_ = drawEngine_;
|
||||
|
Loading…
x
Reference in New Issue
Block a user