diff --git a/Common/GPU/Vulkan/VulkanRenderManager.cpp b/Common/GPU/Vulkan/VulkanRenderManager.cpp index 4e90b13b88..13b59510f8 100644 --- a/Common/GPU/Vulkan/VulkanRenderManager.cpp +++ b/Common/GPU/Vulkan/VulkanRenderManager.cpp @@ -1875,7 +1875,7 @@ void VulkanRenderManager::SanityCheckPassesOnAdd() { // Check that we don't have any previous passes that write to the backbuffer, that must ALWAYS be the last one. for (int i = 0; i < steps_.size(); i++) { if (steps_[i]->stepType == VKRStepType::RENDER) { - _dbg_assert_(steps_[i]->render.framebuffer != nullptr); + _dbg_assert_msg_(steps_[i]->render.framebuffer != nullptr, "Adding second backbuffer pass? Not good!"); } } #endif diff --git a/Core/Core.cpp b/Core/Core.cpp index 3c5bb47ae1..f7e6978853 100644 --- a/Core/Core.cpp +++ b/Core/Core.cpp @@ -133,15 +133,15 @@ bool Core_MustRunBehind() { } bool Core_IsStepping() { - return coreState == CORE_STEPPING || coreState == CORE_POWERDOWN; + return coreState == CORE_STEPPING_CPU || coreState == CORE_POWERDOWN; } bool Core_IsActive() { - return coreState == CORE_RUNNING || coreState == CORE_NEXTFRAME || coreStatePending; + return coreState == CORE_RUNNING_CPU || coreState == CORE_NEXTFRAME || coreStatePending; } bool Core_IsInactive() { - return coreState != CORE_RUNNING && coreState != CORE_NEXTFRAME && !coreStatePending; + return coreState != CORE_RUNNING_CPU && coreState != CORE_NEXTFRAME && !coreStatePending; } static inline void Core_StateProcessed() { @@ -226,7 +226,7 @@ bool UpdateScreenScale(int width, int height) { return false; } -// Used by Windows, SDL, Qt. +// Used by Windows, SDL, Qt. Doesn't belong in this file. void Core_RunLoop(GraphicsContext *ctx) { if (windowHidden && g_Config.bPauseWhenMinimized) { sleep_ms(16, "window-hidden"); @@ -335,12 +335,22 @@ static void Core_PerformStep(MIPSDebugInterface *cpu, CPUStepType stepType, int } } +void Core_SwitchToGe() { + coreState = CORE_RUNNING_GE; +} + void Core_ProcessStepping(MIPSDebugInterface *cpu) { Core_StateProcessed(); // Check if there's any pending save state actions. SaveState::Process(); - if (coreState != CORE_STEPPING) { + + switch (coreState) { + case CORE_STEPPING_CPU: + // All good + break; + default: + // Nothing to do. return; } @@ -359,7 +369,7 @@ void Core_ProcessStepping(MIPSDebugInterface *cpu) { // Need to check inside the lock to avoid races. std::lock_guard guard(g_stepMutex); - if (coreState != CORE_STEPPING || g_stepCommand.empty()) { + if (coreState != CORE_STEPPING_CPU || g_stepCommand.empty()) { return; } @@ -396,8 +406,8 @@ bool Core_Run(GraphicsContext *ctx) { } switch (coreState) { - case CORE_RUNNING: - case CORE_STEPPING: + case CORE_RUNNING_CPU: + case CORE_STEPPING_CPU: // enter a fast runloop Core_RunLoop(ctx); if (coreState == CORE_POWERDOWN) { @@ -444,7 +454,7 @@ void Core_Break(const char *reason, u32 relatedAddress) { g_stepCommand.relatedAddr = relatedAddress; steppingCounter++; _assert_msg_(reason != nullptr, "No reason specified for break"); - Core_UpdateState(CORE_STEPPING); + Core_UpdateState(CORE_STEPPING_CPU); } System_Notify(SystemNotification::DEBUG_MODE_CHANGE); } @@ -453,13 +463,13 @@ void Core_Break(const char *reason, u32 relatedAddress) { void Core_Resume() { // Clear the exception if we resume. Core_ResetException(); - coreState = CORE_RUNNING; + coreState = CORE_RUNNING_CPU; System_Notify(SystemNotification::DEBUG_MODE_CHANGE); } // Should be called from the EmuThread. bool Core_NextFrame() { - if (coreState == CORE_RUNNING) { + if (coreState == CORE_RUNNING_CPU) { coreState = CORE_NEXTFRAME; return true; } else { diff --git a/Core/Core.h b/Core/Core.h index 3ae8385434..586f3bd165 100644 --- a/Core/Core.h +++ b/Core/Core.h @@ -59,6 +59,7 @@ bool Core_ShouldRunBehind(); bool Core_MustRunBehind(); bool Core_NextFrame(); +void Core_SwitchToGe(); // Switches from CPU emulation to GE display list execution. // Changes every time we enter stepping. int Core_GetSteppingCounter(); diff --git a/Core/Debugger/WebSocket/GPUBufferSubscriber.cpp b/Core/Debugger/WebSocket/GPUBufferSubscriber.cpp index 70a60ac435..25683d18b8 100644 --- a/Core/Debugger/WebSocket/GPUBufferSubscriber.cpp +++ b/Core/Debugger/WebSocket/GPUBufferSubscriber.cpp @@ -227,7 +227,7 @@ static void GenericStreamBuffer(DebuggerRequest &req, std::functionisAlive()) { return req.Fail("CPU not started"); } - if (coreState != CORE_STEPPING && !GPUStepping::IsStepping()) { + if (coreState != CORE_STEPPING_CPU && !GPUStepping::IsStepping()) { return req.Fail("Neither CPU or GPU is stepping"); } diff --git a/Core/Debugger/WebSocket/SteppingBroadcaster.cpp b/Core/Debugger/WebSocket/SteppingBroadcaster.cpp index bbb17862fa..bbc028950a 100644 --- a/Core/Debugger/WebSocket/SteppingBroadcaster.cpp +++ b/Core/Debugger/WebSocket/SteppingBroadcaster.cpp @@ -60,9 +60,9 @@ void SteppingBroadcaster::Broadcast(net::WebSocketServer *ws) { if (PSP_IsInited()) { int steppingCounter = Core_GetSteppingCounter(); // We ignore CORE_POWERDOWN as a stepping state. - if (coreState == CORE_STEPPING && steppingCounter != lastCounter_) { + if (coreState == CORE_STEPPING_CPU && steppingCounter != lastCounter_) { ws->Send(CPUSteppingEvent(Core_GetSteppingReason())); - } else if (prevState_ == CORE_STEPPING && coreState != CORE_STEPPING && Core_IsActive()) { + } else if (prevState_ == CORE_STEPPING_CPU && coreState != CORE_STEPPING_CPU && Core_IsActive()) { ws->Send(R"({"event":"cpu.resume"})"); } lastCounter_ = steppingCounter; diff --git a/Core/HLE/sceGe.cpp b/Core/HLE/sceGe.cpp index 9a72d87205..89c673f4d7 100644 --- a/Core/HLE/sceGe.cpp +++ b/Core/HLE/sceGe.cpp @@ -397,7 +397,7 @@ static u32 sceGeDrawSync(u32 mode) { return gpu->DrawSync(mode); } -int sceGeContinue() { +static int sceGeContinue() { DEBUG_LOG(Log::sceGe, "sceGeContinue"); int ret = gpu->Continue(); hleEatCycles(220); diff --git a/Core/HLE/sceGe.h b/Core/HLE/sceGe.h index 9ab1fd4d4f..da8f90d020 100644 --- a/Core/HLE/sceGe.h +++ b/Core/HLE/sceGe.h @@ -56,13 +56,6 @@ bool __GeTriggerInterrupt(int listid, u32 pc, u64 atTicks); void __GeWaitCurrentThread(GPUSyncType type, SceUID waitId, const char *reason); bool __GeTriggerWait(GPUSyncType type, SceUID waitId); - // Export functions for use by Util/PPGe -u32 sceGeRestoreContext(u32 ctxAddr); -u32 sceGeSaveContext(u32 ctxAddr); -int sceGeBreak(u32 mode); -int sceGeContinue(); -int sceGeListSync(u32 displayListID, u32 mode); - u32 sceGeListEnQueue(u32 listAddress, u32 stallAddress, int callbackId, u32 optParamAddr); u32 sceGeListEnQueueHead(u32 listAddress, u32 stallAddress, int callbackId, u32 optParamAddr); diff --git a/Core/MIPS/ARM/ArmJit.cpp b/Core/MIPS/ARM/ArmJit.cpp index 89ecbdcb45..c2444fecfe 100644 --- a/Core/MIPS/ARM/ArmJit.cpp +++ b/Core/MIPS/ARM/ArmJit.cpp @@ -97,7 +97,7 @@ static u32 JitMemCheck(u32 pc) { u32 addr = currentMIPS->r[MIPS_GET_RS(op)] + offset; g_breakpoints.ExecOpMemCheck(addr, pc); - return coreState == CORE_RUNNING || coreState == CORE_NEXTFRAME ? 0 : 1; + return coreState == CORE_RUNNING_CPU || coreState == CORE_NEXTFRAME ? 0 : 1; } namespace MIPSComp diff --git a/Core/MIPS/ARM64/Arm64Jit.cpp b/Core/MIPS/ARM64/Arm64Jit.cpp index 501852d9e7..9a104db10a 100644 --- a/Core/MIPS/ARM64/Arm64Jit.cpp +++ b/Core/MIPS/ARM64/Arm64Jit.cpp @@ -88,7 +88,7 @@ static u32 JitMemCheck(u32 pc) { u32 addr = currentMIPS->r[MIPS_GET_RS(op)] + offset; g_breakpoints.ExecOpMemCheck(addr, pc); - return coreState == CORE_RUNNING || coreState == CORE_NEXTFRAME ? 0 : 1; + return coreState == CORE_RUNNING_CPU || coreState == CORE_NEXTFRAME ? 0 : 1; } namespace MIPSComp diff --git a/Core/MIPS/IR/IRInterpreter.cpp b/Core/MIPS/IR/IRInterpreter.cpp index 45cfefd351..766afe6690 100644 --- a/Core/MIPS/IR/IRInterpreter.cpp +++ b/Core/MIPS/IR/IRInterpreter.cpp @@ -69,11 +69,11 @@ u32 IRRunBreakpoint(u32 pc) { return 0; // Did we already hit one? - if (coreState != CORE_RUNNING && coreState != CORE_NEXTFRAME) + if (coreState != CORE_RUNNING_CPU && coreState != CORE_NEXTFRAME) return 1; g_breakpoints.ExecBreakPoint(pc); - return coreState != CORE_RUNNING ? 1 : 0; + return coreState != CORE_RUNNING_CPU ? 1 : 0; } u32 IRRunMemCheck(u32 pc, u32 addr) { @@ -83,11 +83,11 @@ u32 IRRunMemCheck(u32 pc, u32 addr) { return 0; // Did we already hit one? - if (coreState != CORE_RUNNING && coreState != CORE_NEXTFRAME) + if (coreState != CORE_RUNNING_CPU && coreState != CORE_NEXTFRAME) return 1; g_breakpoints.ExecOpMemCheck(addr, pc); - return coreState != CORE_RUNNING ? 1 : 0; + return coreState != CORE_RUNNING_CPU ? 1 : 0; } void IRApplyRounding(MIPSState *mips) { @@ -1148,7 +1148,7 @@ u32 IRInterpret(MIPSState *mips, const IRInst *inst) { { MIPSOpcode op(inst->constant); CallSyscall(op); - if (coreState != CORE_RUNNING) + if (coreState != CORE_RUNNING_CPU) CoreTiming::ForceCheck(); break; } diff --git a/Core/MIPS/IR/IRInterpreter.h b/Core/MIPS/IR/IRInterpreter.h index 0939e982d0..37309ca72c 100644 --- a/Core/MIPS/IR/IRInterpreter.h +++ b/Core/MIPS/IR/IRInterpreter.h @@ -18,7 +18,7 @@ template u32 RunValidateAddress(u32 pc, u32 addr, u32 isWrite) { const auto toss = [&](MemoryExceptionType t) { Core_MemoryException(addr, alignment, pc, t); - return coreState != CORE_RUNNING ? 1 : 0; + return coreState != CORE_RUNNING_CPU ? 1 : 0; }; if (!Memory::IsValidRange(addr, alignment)) { diff --git a/Core/MIPS/IR/IRNativeCommon.cpp b/Core/MIPS/IR/IRNativeCommon.cpp index 0c3d7ccc59..229bd88106 100644 --- a/Core/MIPS/IR/IRNativeCommon.cpp +++ b/Core/MIPS/IR/IRNativeCommon.cpp @@ -167,7 +167,7 @@ uint32_t IRNativeBackend::DoIRInst(uint64_t value) { int IRNativeBackend::ReportBadAddress(uint32_t addr, uint32_t alignment, uint32_t isWrite) { const auto toss = [&](MemoryExceptionType t) { Core_MemoryException(addr, alignment, currentMIPS->pc, t); - return coreState != CORE_RUNNING ? 1 : 0; + return coreState != CORE_RUNNING_CPU ? 1 : 0; }; if (!Memory::IsValidRange(addr, alignment)) { diff --git a/Core/MIPS/MIPS.cpp b/Core/MIPS/MIPS.cpp index 3993962999..03af89c732 100644 --- a/Core/MIPS/MIPS.cpp +++ b/Core/MIPS/MIPS.cpp @@ -378,7 +378,7 @@ void MIPSState::InvalidateICache(u32 address, int length) { void MIPSState::ClearJitCache() { std::lock_guard guard(MIPSComp::jitLock); if (MIPSComp::jit) { - if (coreState == CORE_RUNNING || insideJit) { + if (coreState == CORE_RUNNING_CPU || insideJit) { pendingClears.emplace_back(0, 0); hasPendingClears = true; CoreTiming::ForceCheck(); diff --git a/Core/MIPS/MIPSTables.cpp b/Core/MIPS/MIPSTables.cpp index 0eb4ebec33..362ecc0b02 100644 --- a/Core/MIPS/MIPSTables.cpp +++ b/Core/MIPS/MIPSTables.cpp @@ -970,7 +970,7 @@ void MIPSInterpret(MIPSOpcode op) { static inline void RunUntilFast() { MIPSState *curMips = currentMIPS; // NEVER stop in a delay slot! - while (curMips->downcount >= 0 && coreState == CORE_RUNNING) { + while (curMips->downcount >= 0 && coreState == CORE_RUNNING_CPU) { do { // Replacements and similar are processed here, intentionally. MIPSOpcode op = MIPSOpcode(Memory::Read_U32(curMips->pc)); @@ -994,7 +994,7 @@ static void RunUntilWithChecks(u64 globalTicks) { // NEVER stop in a delay slot! bool hasBPs = g_breakpoints.HasBreakPoints(); bool hasMCs = g_breakpoints.HasMemChecks(); - while (curMips->downcount >= 0 && coreState == CORE_RUNNING) { + while (curMips->downcount >= 0 && coreState == CORE_RUNNING_CPU) { do { // Replacements and similar are processed here, intentionally. MIPSOpcode op = MIPSOpcode(Memory::Read_U32(curMips->pc)); @@ -1022,7 +1022,7 @@ static void RunUntilWithChecks(u64 globalTicks) { g_breakpoints.ExecMemCheck(addr, true, sz, curMips->pc, "interpret"); // If it tripped, bail without running. - if (coreState == CORE_STEPPING) + if (coreState == CORE_STEPPING_CPU) break; } @@ -1044,7 +1044,7 @@ static void RunUntilWithChecks(u64 globalTicks) { int MIPSInterpret_RunUntil(u64 globalTicks) { MIPSState *curMips = currentMIPS; - while (coreState == CORE_RUNNING) { + while (coreState == CORE_RUNNING_CPU) { CoreTiming::Advance(); uint64_t ticksLeft = globalTicks - CoreTiming::GetTicks(); diff --git a/Core/MIPS/x86/Jit.cpp b/Core/MIPS/x86/Jit.cpp index 085b4525cf..c6399b1381 100644 --- a/Core/MIPS/x86/Jit.cpp +++ b/Core/MIPS/x86/Jit.cpp @@ -97,12 +97,12 @@ static u32 JitMemCheck(u32 addr, u32 pc) { return 0; // Did we already hit one? - if (coreState != CORE_RUNNING && coreState != CORE_NEXTFRAME) + if (coreState != CORE_RUNNING_CPU && coreState != CORE_NEXTFRAME) return 1; // Note: pc may be the delay slot. g_breakpoints.ExecOpMemCheck(addr, pc); - return coreState == CORE_RUNNING || coreState == CORE_NEXTFRAME ? 0 : 1; + return coreState == CORE_RUNNING_CPU || coreState == CORE_NEXTFRAME ? 0 : 1; } static void JitLogMiss(MIPSOpcode op) diff --git a/Core/PSPLoaders.cpp b/Core/PSPLoaders.cpp index 77f3cbfa42..9e57cb18c1 100644 --- a/Core/PSPLoaders.cpp +++ b/Core/PSPLoaders.cpp @@ -328,7 +328,7 @@ bool Load_PSP_ISO(FileLoader *fileLoader, std::string *error_string) { if (PSP_CoreParameter().startBreak) { Core_Break("start-break"); } else { - coreState = CORE_RUNNING; + coreState = CORE_RUNNING_CPU; } } else { coreState = CORE_BOOT_ERROR; @@ -489,7 +489,7 @@ bool Load_PSP_ELF_PBP(FileLoader *fileLoader, std::string *error_string) { if (PSP_CoreParameter().startBreak) { Core_Break("start-break"); } else { - coreState = CORE_RUNNING; + coreState = CORE_RUNNING_CPU; } } else { coreState = CORE_BOOT_ERROR; @@ -519,7 +519,7 @@ bool Load_PSP_GE_Dump(FileLoader *fileLoader, std::string *error_string) { if (PSP_CoreParameter().startBreak) { Core_Break("start-break"); } else { - coreState = CORE_RUNNING; + coreState = CORE_RUNNING_CPU; } } else { coreState = CORE_BOOT_ERROR; diff --git a/Core/SaveState.cpp b/Core/SaveState.cpp index 680d691e1e..78107463ca 100644 --- a/Core/SaveState.cpp +++ b/Core/SaveState.cpp @@ -275,7 +275,7 @@ namespace SaveState if (g_Config.iRewindSnapshotInterval <= 0) { return; } - if (coreState != CORE_RUNNING) { + if (coreState != CORE_RUNNING_CPU) { return; } diff --git a/Core/System.cpp b/Core/System.cpp index b2cba6f185..3e0a0dba40 100644 --- a/Core/System.cpp +++ b/Core/System.cpp @@ -105,7 +105,7 @@ bool coreCollectDebugStats = false; static int coreCollectDebugStatsCounter = 0; // This can be read and written from ANYWHERE. -volatile CoreState coreState = CORE_STEPPING; +volatile CoreState coreState = CORE_STEPPING_CPU; // If true, core state has been changed, but JIT has probably not noticed yet. volatile bool coreStatePending = false; @@ -388,7 +388,7 @@ void UpdateLoadedFile(FileLoader *fileLoader) { } void Core_UpdateState(CoreState newState) { - if ((coreState == CORE_RUNNING || coreState == CORE_NEXTFRAME) && newState != CORE_RUNNING) + if ((coreState == CORE_RUNNING_CPU || coreState == CORE_NEXTFRAME) && newState != CORE_RUNNING_CPU) coreStatePending = true; coreState = newState; } @@ -569,7 +569,7 @@ void PSP_Shutdown() { // Make sure things know right away that PSP memory, etc. is going away. pspIsQuitting = !pspIsRebooting; - if (coreState == CORE_RUNNING) + if (coreState == CORE_RUNNING_CPU) Core_Stop(); if (g_Config.bFuncHashMap) { @@ -620,27 +620,32 @@ void PSP_RunLoopWhileState() { // We just run the CPU until we get to vblank. This will quickly sync up pretty nicely. // The actual number of cycles doesn't matter so much here as we will break due to CORE_NEXTFRAME, most of the time hopefully... int blockTicks = usToCycles(1000000 / 10); - // Run until CORE_NEXTFRAME - while (coreState == CORE_RUNNING || coreState == CORE_STEPPING) { - PSP_RunLoopFor(blockTicks); - if (coreState == CORE_STEPPING) { - // Keep the UI responsive. - break; - } - } + PSP_RunLoopFor(blockTicks); } void PSP_RunLoopUntil(u64 globalticks) { - if (coreState == CORE_POWERDOWN || coreState == CORE_BOOT_ERROR || coreState == CORE_RUNTIME_ERROR) { - return; - } else if (coreState == CORE_STEPPING) { - Core_ProcessStepping(currentDebugMIPS); - return; - } - - if (coreState != CORE_NEXTFRAME) { // Can be set by SaveState as well as by sceDisplay - mipsr4k.RunLoopUntil(globalticks); + while (true) { + switch (coreState) { + case CORE_POWERDOWN: + case CORE_BOOT_ERROR: + case CORE_RUNTIME_ERROR: + case CORE_NEXTFRAME: + return; + case CORE_STEPPING_CPU: + Core_ProcessStepping(currentDebugMIPS); + return; + case CORE_RUNNING_CPU: + mipsr4k.RunLoopUntil(globalticks); + break; // Will loop around to go to RUNNING_GE or NEXTFRAME, which will exit. + case CORE_STEPPING_GE: + _dbg_assert_(false); + break; + case CORE_RUNNING_GE: + gpu->ProcessDLQueue(); + coreState = CORE_RUNNING_CPU; + break; + } } } diff --git a/Core/System.h b/Core/System.h index c6bc27ffc1..e2f75f6156 100644 --- a/Core/System.h +++ b/Core/System.h @@ -111,11 +111,11 @@ bool CreateSysDirectories(); // RUNNING must be at 0, NEXTFRAME must be at 1. enum CoreState { // Emulation is running normally. - CORE_RUNNING = 0, + CORE_RUNNING_CPU = 0, // Emulation was running normally, just reached the end of a frame. CORE_NEXTFRAME = 1, // Emulation is paused, CPU thread is sleeping. - CORE_STEPPING, // Can be used for recoverable runtime errors (ignored memory exceptions) + CORE_STEPPING_CPU, // Can be used for recoverable runtime errors (ignored memory exceptions) // Core is being powered up. CORE_POWERUP, // Core is being powered down. @@ -124,6 +124,10 @@ enum CoreState { CORE_BOOT_ERROR, // Unrecoverable runtime error. Recoverable errors should use CORE_STEPPING. CORE_RUNTIME_ERROR, + // Stepping the GPU. When done, will switch over to STEPPING_CPU. + CORE_STEPPING_GE, + // Running the GPU. When done, will switch over to RUNNING_CPU. + CORE_RUNNING_GE, }; extern bool coreCollectDebugStats; diff --git a/Core/ThreadEventQueue.h b/Core/ThreadEventQueue.h index 161e06753c..7b88d1a897 100644 --- a/Core/ThreadEventQueue.h +++ b/Core/ThreadEventQueue.h @@ -136,7 +136,7 @@ struct ThreadEventQueue : public B { inline bool ShouldSyncThread(bool force) { if (!HasEvents()) return false; - if (coreState != CORE_RUNNING && !force) + if (coreState != CORE_RUNNING_CPU && !force) return false; // Don't run if it's not running, but wait for startup. diff --git a/GPU/Debugger/Record.cpp b/GPU/Debugger/Record.cpp index d9e17c7550..347e581f5a 100644 --- a/GPU/Debugger/Record.cpp +++ b/GPU/Debugger/Record.cpp @@ -207,7 +207,7 @@ static Path WriteRecording() { FILE *fp = File::OpenCFile(filename, "wb"); Header header{}; - strncpy(header.magic, HEADER_MAGIC, sizeof(header.magic)); + memcpy(header.magic, HEADER_MAGIC, sizeof(header.magic)); header.version = VERSION; strncpy(header.gameID, g_paramSFO.GetDiscID().c_str(), sizeof(header.gameID)); fwrite(&header, sizeof(header), 1, fp); diff --git a/GPU/Debugger/Stepping.cpp b/GPU/Debugger/Stepping.cpp index 1898bce1e8..5774bfabe7 100644 --- a/GPU/Debugger/Stepping.cpp +++ b/GPU/Debugger/Stepping.cpp @@ -154,7 +154,7 @@ static void StopStepping() { bool SingleStep() { std::unique_lock guard(pauseLock); - if (coreState != CORE_RUNNING && coreState != CORE_NEXTFRAME && coreState != CORE_STEPPING) { + if (coreState != CORE_RUNNING_CPU && coreState != CORE_NEXTFRAME && coreState != CORE_STEPPING_CPU) { // Shutting down, don't try to step. actionComplete = true; actionWait.notify_all(); @@ -174,7 +174,7 @@ bool SingleStep() { bool EnterStepping() { std::unique_lock guard(pauseLock); - if (coreState != CORE_RUNNING && coreState != CORE_NEXTFRAME && coreState != CORE_STEPPING) { + if (coreState != CORE_RUNNING_CPU && coreState != CORE_NEXTFRAME && coreState != CORE_STEPPING_CPU) { // Shutting down, don't try to step. actionComplete = true; actionWait.notify_all(); @@ -212,7 +212,7 @@ int GetSteppingCounter() { } static bool GetBuffer(const GPUDebugBuffer *&buffer, PauseAction type, const GPUDebugBuffer &resultBuffer) { - if (!isStepping && coreState != CORE_STEPPING) { + if (!isStepping && coreState != CORE_STEPPING_CPU) { return false; } @@ -250,7 +250,7 @@ bool GPU_GetCurrentClut(const GPUDebugBuffer *&buffer) { } bool GPU_SetCmdValue(u32 op) { - if (!isStepping && coreState != CORE_STEPPING) { + if (!isStepping && coreState != CORE_STEPPING_CPU) { return false; } @@ -260,7 +260,7 @@ bool GPU_SetCmdValue(u32 op) { } bool GPU_FlushDrawing() { - if (!isStepping && coreState != CORE_STEPPING) { + if (!isStepping && coreState != CORE_STEPPING_CPU) { return false; } diff --git a/GPU/GLES/GPU_GLES.cpp b/GPU/GLES/GPU_GLES.cpp index b70d429c1c..98e64c1eb8 100644 --- a/GPU/GLES/GPU_GLES.cpp +++ b/GPU/GLES/GPU_GLES.cpp @@ -247,7 +247,7 @@ void GPU_GLES::BeginHostFrame() { // Save the cache from time to time. TODO: How often? We save on exit, so shouldn't need to do this all that often. const int saveShaderCacheFrameInterval = 32767; // power of 2 - 1. About every 10 minutes at 60fps. - if (shaderCachePath_.Valid() && !(gpuStats.numFlips & saveShaderCacheFrameInterval) && coreState == CORE_RUNNING) { + if (shaderCachePath_.Valid() && !(gpuStats.numFlips & saveShaderCacheFrameInterval) && coreState == CORE_RUNNING_CPU) { shaderManagerGL_->SaveCache(shaderCachePath_, &drawEngine_); } shaderManagerGL_->DirtyLastShader(); diff --git a/GPU/GPUCommon.cpp b/GPU/GPUCommon.cpp index 6f024b25dd..3bc7a42c4d 100644 --- a/GPU/GPUCommon.cpp +++ b/GPU/GPUCommon.cpp @@ -13,6 +13,7 @@ #include +#include "ext/imgui/imgui.h" #include "Common/Profiler/Profiler.h" #include "Common/GraphicsContext.h" @@ -26,6 +27,7 @@ #include "GPU/GPUCommon.h" #include "GPU/GPUState.h" #include "Core/Config.h" +#include "Core/Core.h" #include "Core/CoreTiming.h" #include "Core/Debugger/MemBlockInfo.h" #include "Core/MemMap.h" @@ -465,7 +467,7 @@ u32 GPUCommon::EnqueueList(u32 listpc, u32 stall, int subIntrBase, PSPPointer 1) return SCE_KERNEL_ERROR_INVALID_MODE; @@ -829,6 +839,8 @@ int GPUCommon::GetNextListIndex() { } } +// This is now called when coreState == CORE_RUNNING_GE. +// TODO: It should return the next action.. (break into debugger or continue running) void GPUCommon::ProcessDLQueue() { startingTicks = CoreTiming::GetTicks(); cyclesExecuted = 0; @@ -861,6 +873,7 @@ void GPUCommon::ProcessDLQueue() { drawCompleteTicks = startingTicks + cyclesExecuted; busyTicks = std::max(busyTicks, drawCompleteTicks); + __GeTriggerSync(GPU_SYNC_DRAW, 1, drawCompleteTicks); // Since the event is in CoreTiming, we're in sync. Just set 0 now. } @@ -1528,7 +1541,7 @@ void GPUCommon::InterruptEnd(int listid) { } } - ProcessDLQueue(); + SwitchToGe(); } // TODO: Maybe cleaner to keep this in GE and trigger the clear directly? @@ -1697,7 +1710,7 @@ void GPUCommon::DoBlockTransfer(u32 skipDrawReason) { bool dstWraps = Memory::IsVRAMAddress(dstBasePtr) && !dstValid; char tag[128]; - size_t tagSize; + size_t tagSize = 0; // Tell the framebuffer manager to take action if possible. If it does the entire thing, let's just return. if (!framebufferManager_ || !framebufferManager_->NotifyBlockTransferBefore(dstBasePtr, dstStride, dstX, dstY, srcBasePtr, srcStride, srcX, srcY, width, height, bpp, skipDrawReason)) { @@ -1963,3 +1976,14 @@ bool GPUCommon::DescribeCodePtr(const u8 *ptr, std::string &name) { // which is owned by the drawengine. return drawEngineCommon_->DescribeCodePtr(ptr, name); } + +void GPUCommon::DrawImGuiDebugger() { + // First, let's list any active display lists. + ImGui::Text("Next list ID: %d", nextListID); + for (auto index : dlQueue) { + const auto &list = dls[index]; + ImGui::Text("List %d", list.id); + ImGui::Text("pc: %08x (start: %08x)", list.pc, list.startpc); + ImGui::Text("bbox: %d", (int)list.bboxResult); + } +} diff --git a/GPU/GPUCommon.h b/GPU/GPUCommon.h index ece0385ab8..62354af6fb 100644 --- a/GPU/GPUCommon.h +++ b/GPU/GPUCommon.h @@ -114,7 +114,7 @@ public: virtual void PreExecuteOp(u32 op, u32 diff) {} bool InterpretList(DisplayList &list); - void ProcessDLQueue(); + void ProcessDLQueue() override; u32 UpdateStall(int listid, u32 newstall) override; u32 EnqueueList(u32 listpc, u32 stall, int subIntrBase, PSPPointer args, bool head) override; u32 DequeueList(int listid) override; @@ -128,6 +128,11 @@ public: u32 Continue() override; u32 Break(int mode) override; void ReapplyGfxState() override; + + void SwitchToGe(); + + void DrawImGuiDebugger() override; + uint32_t SetAddrTranslation(uint32_t value) override; uint32_t GetAddrTranslation() override; diff --git a/GPU/GPUInterface.h b/GPU/GPUInterface.h index efaf4f776d..beab46ab6c 100644 --- a/GPU/GPUInterface.h +++ b/GPU/GPUInterface.h @@ -197,6 +197,8 @@ public: virtual u32 EnqueueList(u32 listpc, u32 stall, int subIntrBase, PSPPointer args, bool head) = 0; virtual u32 DequeueList(int listid) = 0; virtual u32 UpdateStall(int listid, u32 newstall) = 0; + virtual void ProcessDLQueue() = 0; + virtual u32 DrawSync(int mode) = 0; virtual int ListSync(int listid, int mode) = 0; virtual u32 Continue() = 0; @@ -219,6 +221,7 @@ public: // Tells the GPU to update the gpuStats structure. virtual void GetStats(char *buffer, size_t bufsize) = 0; + virtual void DrawImGuiDebugger() = 0; // Invalidate any cached content sourced from the specified range. // If size = -1, invalidate everything. diff --git a/Qt/mainwindow.cpp b/Qt/mainwindow.cpp index e982aff696..a41fb1b76f 100644 --- a/Qt/mainwindow.cpp +++ b/Qt/mainwindow.cpp @@ -117,7 +117,7 @@ void MainWindow::updateMenus() void MainWindow::bootDone() { - if (nextState == CORE_RUNNING) + if (nextState == CORE_RUNNING_CPU) runAct(); updateMenus(); } diff --git a/Tools/langtool/Cargo.lock b/Tools/langtool/Cargo.lock index d8892586b3..93dc29b98f 100644 --- a/Tools/langtool/Cargo.lock +++ b/Tools/langtool/Cargo.lock @@ -1,6 +1,6 @@ # This file is automatically @generated by Cargo. # It is not intended for manual editing. -version = 3 +version = 4 [[package]] name = "anstream" @@ -118,9 +118,9 @@ dependencies = [ [[package]] name = "proc-macro2" -version = "1.0.91" +version = "1.0.92" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "307e3004becf10f5a6e0d59d20f3cd28231b0e0827a96cd3e0ce6d14bc1e4bb3" +checksum = "37d3544b3f2748c54e147655edb5025752e2303145b5aefb3c3ea2c78b973bb0" dependencies = [ "unicode-ident", ] @@ -142,9 +142,9 @@ checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f" [[package]] name = "syn" -version = "2.0.89" +version = "2.0.90" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "44d46482f1c1c87acd84dea20c1bf5ebff4c757009ed6bf19cfd36fb10e92c4e" +checksum = "919d3b74a5dd0ccd15aeb8f93e7006bd9e14c295087c9896a110f490752bcf31" dependencies = [ "proc-macro2", "quote", diff --git a/Tools/langtool/src/main.rs b/Tools/langtool/src/main.rs index dcc736ac9e..fc9b12ca03 100644 --- a/Tools/langtool/src/main.rs +++ b/Tools/langtool/src/main.rs @@ -42,6 +42,11 @@ enum Command { new: String, key: String, }, + DupeKey { + section: String, + old: String, + new: String, + }, RenameKey { section: String, old: String, @@ -161,6 +166,15 @@ fn rename_key(target_ini: &mut IniFile, section: &str, old: &str, new: &str) -> Ok(()) } +fn dupe_key(target_ini: &mut IniFile, section: &str, old: &str, new: &str) -> io::Result<()> { + if let Some(section) = target_ini.get_section_mut(section) { + section.dupe_key(old, new); + } else { + println!("No section {}", section); + } + Ok(()) +} + fn sort_section(target_ini: &mut IniFile, section: &str) -> io::Result<()> { if let Some(section) = target_ini.get_section_mut(section) { section.sort(); @@ -247,12 +261,20 @@ fn main() { move_key(&mut target_ini, old, new, key).unwrap(); } Command::CopyKey { + // Copies between sections ref old, ref new, ref key, } => { copy_key(&mut target_ini, old, new, key).unwrap(); } + Command::DupeKey { + ref section, + ref old, + ref new, + } => { + dupe_key(&mut target_ini, section, old, new).unwrap(); + } Command::RemoveKey { ref section, ref key, @@ -302,12 +324,21 @@ fn main() { move_key(&mut reference_ini, old, new, key).unwrap(); } Command::CopyKey { + // between sections ref old, ref new, ref key, } => { copy_key(&mut reference_ini, old, new, key).unwrap(); } + Command::DupeKey { + // Inside a section, preserving a value + ref section, + ref old, + ref new, + } => { + dupe_key(&mut reference_ini, section, old, new).unwrap(); + } Command::RemoveKey { ref section, ref key, diff --git a/Tools/langtool/src/section.rs b/Tools/langtool/src/section.rs index 6d103557d0..d3a2e78778 100644 --- a/Tools/langtool/src/section.rs +++ b/Tools/langtool/src/section.rs @@ -116,7 +116,30 @@ impl Section { self.insert_line_if_missing(&line); } else { let name = &self.name; - println!("didn't find a line starting with {prefix} in section {name}"); + println!("rename_key: didn't find a line starting with {prefix} in section {name}"); + } + } + + pub fn dupe_key(&mut self, old: &str, new: &str) { + let prefix = old.to_owned() + " ="; + let mut found_index = None; + for (index, line) in self.lines.iter().enumerate() { + if line.starts_with(&prefix) { + found_index = Some(index); + } + } + if let Some(index) = found_index { + let line = self.lines.get(index).unwrap(); + let mut right_part = line.strip_prefix(&prefix).unwrap().to_string(); + if right_part.trim() == old.trim() { + // Was still untranslated - replace the translation too. + right_part = format!(" {}", new); + } + let line = new.to_owned() + " =" + &right_part; + self.insert_line_if_missing(&line); + } else { + let name = &self.name; + println!("dupe_key: didn't find a line starting with {prefix} in section {name}"); } } diff --git a/UI/EmuScreen.cpp b/UI/EmuScreen.cpp index 12ec9a6432..0aa96f7249 100644 --- a/UI/EmuScreen.cpp +++ b/UI/EmuScreen.cpp @@ -195,7 +195,7 @@ EmuScreen::EmuScreen(const Path &filename) // Make sure we don't leave it at powerdown after the last game. // TODO: This really should be handled elsewhere if it isn't. if (coreState == CORE_POWERDOWN) - coreState = CORE_STEPPING; + coreState = CORE_STEPPING_CPU; OnDevMenu.Handle(this, &EmuScreen::OnDevTools); OnChatMenu.Handle(this, &EmuScreen::OnChat); @@ -678,7 +678,7 @@ void EmuScreen::onVKey(int virtualKeyCode, bool down) { break; case VIRTKEY_FASTFORWARD: if (down) { - if (coreState == CORE_STEPPING) { + if (coreState == CORE_STEPPING_CPU) { Core_Resume(); } PSP_CoreParameter().fastForward = true; @@ -1261,7 +1261,7 @@ UI::EventReturn EmuScreen::OnResume(UI::EventParams ¶ms) { if (coreState == CoreState::CORE_RUNTIME_ERROR) { // Force it! Memory::MemFault_IgnoreLastCrash(); - coreState = CoreState::CORE_RUNNING; + coreState = CoreState::CORE_RUNNING_CPU; } return UI::EVENT_DONE; } @@ -1566,10 +1566,10 @@ ScreenRenderFlags EmuScreen::render(ScreenRenderMode mode) { switch (coreState) { case CORE_NEXTFRAME: // Reached the end of the frame, all good. Set back to running for the next frame - coreState = CORE_RUNNING; + coreState = CORE_RUNNING_CPU; flags |= ScreenRenderFlags::HANDLED_THROTTLING; break; - case CORE_STEPPING: + case CORE_STEPPING_CPU: case CORE_RUNTIME_ERROR: { // If there's an exception, display information. @@ -1719,7 +1719,7 @@ bool EmuScreen::hasVisibleUI() { return true; // Exception information. - if (coreState == CORE_RUNTIME_ERROR || coreState == CORE_STEPPING) { + if (coreState == CORE_RUNTIME_ERROR || coreState == CORE_STEPPING_CPU) { return true; } @@ -1784,7 +1784,7 @@ void EmuScreen::renderUI() { ctx->Flush(); } - if (coreState == CORE_RUNTIME_ERROR || coreState == CORE_STEPPING) { + if (coreState == CORE_RUNTIME_ERROR || coreState == CORE_STEPPING_CPU) { const MIPSExceptionInfo &info = Core_GetExceptionInfo(); if (info.type != MIPSExceptionType::NONE) { DrawCrashDump(ctx, gamePath_); diff --git a/UI/GamepadEmu.cpp b/UI/GamepadEmu.cpp index e0f0c03038..aecb6a4a85 100644 --- a/UI/GamepadEmu.cpp +++ b/UI/GamepadEmu.cpp @@ -47,7 +47,7 @@ void GamepadUpdateOpacity(float force) { g_gamepadOpacity = force; return; } - if (coreState != CORE_RUNNING) { + if (coreState != CORE_RUNNING_CPU) { g_gamepadOpacity = 0.0f; return; } @@ -921,7 +921,7 @@ UI::ViewGroup *CreatePadLayout(float xres, float yres, bool *pause, bool showPau if (fastForward) { fastForward->SetAngle(180.0f); fastForward->OnChange.Add([](UI::EventParams &e) { - if (e.a && coreState == CORE_STEPPING) { + if (e.a && coreState == CORE_STEPPING_CPU) { Core_Resume(); } return UI::EVENT_DONE; diff --git a/UI/ImDebugger/ImDebugger.cpp b/UI/ImDebugger/ImDebugger.cpp index 314ef6ef39..49f4959960 100644 --- a/UI/ImDebugger/ImDebugger.cpp +++ b/UI/ImDebugger/ImDebugger.cpp @@ -753,7 +753,7 @@ void ImDebugger::Frame(MIPSDebugInterface *mipsDebug, GPUDebugInterface *gpuDebu if (ImGui::BeginMainMenuBar()) { if (ImGui::BeginMenu("Debug")) { - if (coreState == CoreState::CORE_STEPPING) { + if (coreState == CoreState::CORE_STEPPING_CPU) { if (ImGui::MenuItem("Run")) { Core_Resume(); } @@ -821,6 +821,7 @@ void ImDebugger::Frame(MIPSDebugInterface *mipsDebug, GPUDebugInterface *gpuDebu ImGui::EndMenu(); } if (ImGui::BeginMenu("Graphics")) { + ImGui::MenuItem("Ge Debugger", nullptr, &cfg_.geDebuggerOpen); ImGui::MenuItem("Display Output", nullptr, &cfg_.displayOpen); ImGui::MenuItem("Textures", nullptr, &cfg_.texturesOpen); ImGui::MenuItem("Framebuffers", nullptr, &cfg_.framebuffersOpen); @@ -919,6 +920,10 @@ void ImDebugger::Frame(MIPSDebugInterface *mipsDebug, GPUDebugInterface *gpuDebu if (cfg_.structViewerOpen) { structViewer_.Draw(mipsDebug, &cfg_.structViewerOpen); } + + if (cfg_.geDebuggerOpen) { + DrawGeDebuggerWindow(cfg_); + } } void ImDisasmWindow::Draw(MIPSDebugInterface *mipsDebug, bool *open, CoreState coreState) { @@ -945,19 +950,25 @@ void ImDisasmWindow::Draw(MIPSDebugInterface *mipsDebug, bool *open, CoreState c } } - ImGui::BeginDisabled(coreState != CORE_STEPPING); + if (coreState == CORE_STEPPING_GE || coreState == CORE_RUNNING_GE) { + ImGui::Text("!!! Currently stepping the Ge. See that window (when implemented)"); + } + + ImGui::BeginDisabled(coreState != CORE_STEPPING_CPU); if (ImGui::SmallButton("Run")) { Core_Resume(); } ImGui::EndDisabled(); ImGui::SameLine(); - ImGui::BeginDisabled(coreState != CORE_RUNNING); + ImGui::BeginDisabled(coreState != CORE_RUNNING_CPU); if (ImGui::SmallButton("Pause")) { Core_Break("Pause"); } ImGui::EndDisabled(); + ImGui::BeginDisabled(coreState != CORE_STEPPING_CPU); + ImGui::SameLine(); if (ImGui::SmallButton("Step Into")) { u32 stepSize = disasmView_.getInstructionSizeAt(mipsDebug->GetPC()); @@ -975,6 +986,8 @@ void ImDisasmWindow::Draw(MIPSDebugInterface *mipsDebug, bool *open, CoreState c Core_RequestSingleStep(CPUStepType::Out, 0); } + ImGui::EndDisabled(); + ImGui::SameLine(); if (ImGui::SmallButton("Goto PC")) { disasmView_.gotoPC(); diff --git a/UI/ImDebugger/ImDebugger.h b/UI/ImDebugger/ImDebugger.h index 0c4bc35981..9c774d72ec 100644 --- a/UI/ImDebugger/ImDebugger.h +++ b/UI/ImDebugger/ImDebugger.h @@ -78,6 +78,7 @@ struct ImConfig { bool kernelObjectsOpen; bool audioChannelsOpen; bool debugStatsOpen; + bool geDebuggerOpen; // HLE explorer settings // bool filterByUsed = true; diff --git a/UI/ImDebugger/ImGe.cpp b/UI/ImDebugger/ImGe.cpp index 54b1e648f1..d686cfc1fd 100644 --- a/UI/ImDebugger/ImGe.cpp +++ b/UI/ImDebugger/ImGe.cpp @@ -68,3 +68,15 @@ void DrawDebugStatsWindow(ImConfig &cfg) { ImGui::TextUnformatted(statbuf); ImGui::End(); } + +// Stub +void DrawGeDebuggerWindow(ImConfig &cfg) { + if (!ImGui::Begin("Debug Stats", &cfg.geDebuggerOpen)) { + ImGui::End(); + return; + } + + gpu->DrawImGuiDebugger(); + + ImGui::End(); +} diff --git a/UI/ImDebugger/ImGe.h b/UI/ImDebugger/ImGe.h index 849ec8e5a2..f75d1acf12 100644 --- a/UI/ImDebugger/ImGe.h +++ b/UI/ImDebugger/ImGe.h @@ -11,6 +11,7 @@ void DrawFramebuffersWindow(ImConfig &cfg, FramebufferManagerCommon *framebuffer void DrawTexturesWindow(ImConfig &cfg, TextureCacheCommon *textureCache); void DrawDisplayWindow(ImConfig &cfg, FramebufferManagerCommon *framebufferManager); void DrawDebugStatsWindow(ImConfig &cfg); +void DrawGeDebuggerWindow(ImConfig &cfg); class ImGeDebugger { public: diff --git a/UI/InstallZipScreen.cpp b/UI/InstallZipScreen.cpp index 72833ce3ee..7256295e42 100644 --- a/UI/InstallZipScreen.cpp +++ b/UI/InstallZipScreen.cpp @@ -164,7 +164,7 @@ void InstallZipScreen::CreateViews() { leftColumn->Add(new TextView(iz->T("Zip file does not contain PSP software"), ALIGN_LEFT, false, new AnchorLayoutParams(10, 10, NONE, NONE))); } } else { - leftColumn->Add(new TextView(er->T("Error reading file"), ALIGN_LEFT, false, new AnchorLayoutParams(10, 10, NONE, NONE))); + leftColumn->Add(new TextView(er->T("The file is not a valid zip file"), ALIGN_LEFT, false, new AnchorLayoutParams(10, 10, NONE, NONE))); } if (destFolders_.size() > 1) { diff --git a/UI/NativeApp.cpp b/UI/NativeApp.cpp index b45647ffc5..e222fa4388 100644 --- a/UI/NativeApp.cpp +++ b/UI/NativeApp.cpp @@ -993,7 +993,7 @@ static void TakeScreenshot(Draw::DrawContext *draw) { bool success = TakeGameScreenshot(draw, filename, g_Config.bScreenshotsAsPNG ? ScreenshotFormat::PNG : ScreenshotFormat::JPG, SCREENSHOT_OUTPUT); if (success) { - g_OSD.Show(OSDType::MESSAGE_FILE_LINK, filename.ToString(), 0.0f, "screenshot_link"); + g_OSD.Show(OSDType::MESSAGE_FILE_LINK, filename.ToVisualString(), 0.0f, "screenshot_link"); if (System_GetPropertyBool(SYSPROP_CAN_SHOW_FILE)) { g_OSD.SetClickCallback("screenshot_link", [](bool clicked, void *data) -> void { Path *path = reinterpret_cast(data); diff --git a/android/jni/TestRunner.cpp b/android/jni/TestRunner.cpp index 2be5918de2..cce6e5b745 100644 --- a/android/jni/TestRunner.cpp +++ b/android/jni/TestRunner.cpp @@ -133,13 +133,13 @@ bool RunTests() { INFO_LOG(Log::System, "Test: Entering runloop."); while (true) { int blockTicks = (int)usToCycles(1000000 / 10); - while (coreState == CORE_RUNNING) { + while (coreState == CORE_RUNNING_CPU) { PSP_RunLoopFor(blockTicks); } // Hopefully coreState is now CORE_NEXTFRAME if (coreState == CORE_NEXTFRAME) { // set back to running for the next frame - coreState = CORE_RUNNING; + coreState = CORE_RUNNING_CPU; } else if (coreState == CORE_POWERDOWN) { INFO_LOG(Log::System, "Finished running test %s", testName.c_str()); break; diff --git a/assets/lang/ar_AE.ini b/assets/lang/ar_AE.ini index d53e06fd56..a0407ea601 100644 --- a/assets/lang/ar_AE.ini +++ b/assets/lang/ar_AE.ini @@ -517,6 +517,7 @@ Running slow: try frameskip, sound is choppy when slow = Running slow: try frame Running slow: Try turning off Software Rendering = Running slow: try turning off "software rendering" Save encryption failed. This save won't work on real PSP = Save encryption failed. This save won't work on real PSP textures.ini filenames may not be cross-platform = "textures.ini" filenames may not be cross-platform. +The file is not a valid zip file = ‎خطأ في قرأة الملف. This is a saved state, not a game. = This is a saved state, not a game. This is save data, not a game. = هذا ملف التخزين،ليست لعبة. Unable to create cheat file, disk may be full = Unable to create cheat file, disk may be full. diff --git a/assets/lang/az_AZ.ini b/assets/lang/az_AZ.ini index 8309f98861..756c6fd5bd 100644 --- a/assets/lang/az_AZ.ini +++ b/assets/lang/az_AZ.ini @@ -509,6 +509,7 @@ Running slow: try frameskip, sound is choppy when slow = Running slow: try frame Running slow: Try turning off Software Rendering = Running slow: try turning off "software rendering" Save encryption failed. This save won't work on real PSP = Save encryption failed. This save won't work on real PSP textures.ini filenames may not be cross-platform = "textures.ini" filenames may not be cross-platform. +The file is not a valid zip file = The file is not a valid zip file This is a saved state, not a game. = This is a saved state, not a game. This is save data, not a game. = This is save data, not a game. Unable to create cheat file, disk may be full = Unable to create cheat file, disk may be full. diff --git a/assets/lang/bg_BG.ini b/assets/lang/bg_BG.ini index 4581c394d2..129e226813 100644 --- a/assets/lang/bg_BG.ini +++ b/assets/lang/bg_BG.ini @@ -509,6 +509,7 @@ Running slow: try frameskip, sound is choppy when slow = Running slow: try frame Running slow: Try turning off Software Rendering = Running slow: try turning off "software rendering" Save encryption failed. This save won't work on real PSP = Save encryption failed. This save won't work on real PSP textures.ini filenames may not be cross-platform = "textures.ini" filenames may not be cross-platform. +The file is not a valid zip file = Грешка при четенето на файла. This is a saved state, not a game. = This is a saved state, not a game. This is save data, not a game. = This is save data, not a game. Unable to create cheat file, disk may be full = Unable to create cheat file, disk may be full. diff --git a/assets/lang/ca_ES.ini b/assets/lang/ca_ES.ini index 6bcd9e261e..ecbc283bd3 100644 --- a/assets/lang/ca_ES.ini +++ b/assets/lang/ca_ES.ini @@ -509,6 +509,7 @@ Running slow: try frameskip, sound is choppy when slow = Running slow: try frame Running slow: Try turning off Software Rendering = Running slow: try turning off "software rendering" Save encryption failed. This save won't work on real PSP = Save encryption failed. This save won't work on real PSP textures.ini filenames may not be cross-platform = "textures.ini" filenames may not be cross-platform. +The file is not a valid zip file = error reading file. This is a saved state, not a game. = This is a saved state, not a game. This is save data, not a game. = This is save data, not a game. Unable to create cheat file, disk may be full = Unable to create cheat file, disk may be full. diff --git a/assets/lang/cz_CZ.ini b/assets/lang/cz_CZ.ini index 16afbe6072..948765a482 100644 --- a/assets/lang/cz_CZ.ini +++ b/assets/lang/cz_CZ.ini @@ -509,6 +509,7 @@ Running slow: try frameskip, sound is choppy when slow = Running slow: try frame Running slow: Try turning off Software Rendering = Running slow: try turning off "software rendering" Save encryption failed. This save won't work on real PSP = Zašifrování uložené hry selhalo. Tato uložená hra nebude fungovat na skutečném PSP textures.ini filenames may not be cross-platform = "textures.ini" filenames may not be cross-platform. +The file is not a valid zip file = Chyba při čtení souboru. This is a saved state, not a game. = This is a saved state, not a game. This is save data, not a game. = This is save data, not a game. Unable to create cheat file, disk may be full = Nelze vytvořit soubor s cheaty, disk může být plný. diff --git a/assets/lang/da_DK.ini b/assets/lang/da_DK.ini index fd098f633c..a348dcd9a0 100644 --- a/assets/lang/da_DK.ini +++ b/assets/lang/da_DK.ini @@ -509,6 +509,7 @@ Running slow: try frameskip, sound is choppy when slow = Kører langsomt: prøv Running slow: Try turning off Software Rendering = Running slow: try turning off "software rendering" Save encryption failed. This save won't work on real PSP = Save encryption failed. This save won't work on real PSP textures.ini filenames may not be cross-platform = "textures.ini" filenames may not be cross-platform. +The file is not a valid zip file = Fejl ved læsning af fil. This is a saved state, not a game. = This is a saved state, not a game. This is save data, not a game. = This is save data, not a game. Unable to create cheat file, disk may be full = Ikke muligt at oprette snydefil, disken kan være fuld. diff --git a/assets/lang/de_DE.ini b/assets/lang/de_DE.ini index 158dac562c..d57ac6d84b 100644 --- a/assets/lang/de_DE.ini +++ b/assets/lang/de_DE.ini @@ -509,6 +509,7 @@ Running slow: try frameskip, sound is choppy when slow = Schlechte Bildrate: Ben Running slow: Try turning off Software Rendering = Schlechte Bildrate: Versuchen Sie "Software Rendering" auszuschalten Save encryption failed. This save won't work on real PSP = Speicherstand-Verschlüsselung fehlgeschlagen. Diese Speicherstand wird nicht auf einer echten PSP funktionieren. textures.ini filenames may not be cross-platform = "textures.ini" Dateinamen sind eventuell nicht plattformübergreifend. +The file is not a valid zip file = Fehler beim Lesen der Datei. This is a saved state, not a game. = Dies ist kein Spiel sondern ein Speicherstand. This is save data, not a game. = Dies ist kein Spiel sondern Speicherdaten. Unable to create cheat file, disk may be full = Cheatdatei konnte nicht geschrieben werden, eventuell volle Festplatte. diff --git a/assets/lang/dr_ID.ini b/assets/lang/dr_ID.ini index 56227086ad..8a44c90b10 100644 --- a/assets/lang/dr_ID.ini +++ b/assets/lang/dr_ID.ini @@ -509,6 +509,7 @@ Running slow: try frameskip, sound is choppy when slow = Running slow: try frame Running slow: Try turning off Software Rendering = Running slow: try turning off "software rendering" Save encryption failed. This save won't work on real PSP = Save encryption failed. This save won't work on real PSP textures.ini filenames may not be cross-platform = "textures.ini" filenames may not be cross-platform. +The file is not a valid zip file = erormi te' fail mane. This is a saved state, not a game. = This is a saved state, not a game. This is save data, not a game. = This is save data, not a game. Unable to create cheat file, disk may be full = Unable to create cheat file, disk may be full. diff --git a/assets/lang/en_US.ini b/assets/lang/en_US.ini index 15b5129dc2..9a18c41290 100644 --- a/assets/lang/en_US.ini +++ b/assets/lang/en_US.ini @@ -533,6 +533,7 @@ Running slow: try frameskip, sound is choppy when slow = Running slow: try frame Running slow: Try turning off Software Rendering = Running slow: try turning off "software rendering" Save encryption failed. This save won't work on real PSP = Save encryption failed. This save won't work on real PSP textures.ini filenames may not be cross-platform = "textures.ini" filenames may not be cross-platform. +The file is not a valid zip file = Error reading file. This is a saved state, not a game. = This is a saved state, not a game. This is save data, not a game. = This is save data, not a game. Unable to create cheat file, disk may be full = Unable to create cheat file, disk may be full. diff --git a/assets/lang/es_ES.ini b/assets/lang/es_ES.ini index 6383a78275..1a46d2320e 100644 --- a/assets/lang/es_ES.ini +++ b/assets/lang/es_ES.ini @@ -509,6 +509,7 @@ Running slow: try frameskip, sound is choppy when slow = Funcionando lento: prue Running slow: Try turning off Software Rendering = Funcionando lento: prueba a desactivar el renderizado por software. Save encryption failed. This save won't work on real PSP = Error al cifrar los datos guardados. No funcionarán en una PSP real. textures.ini filenames may not be cross-platform = Los nombres del archivo textures.ini no pueden ser multiplataforma. +The file is not a valid zip file = Error al leer el archivo. This is a saved state, not a game. = Esto es un estado de guardado, no un juego. This is save data, not a game. = Esto es un dato de guardado, no un juego. Unable to create cheat file, disk may be full = No se pudo crear el archivo de trucos, el dico podría estar lleno. diff --git a/assets/lang/es_LA.ini b/assets/lang/es_LA.ini index d3cb7f3f16..8e34a144e7 100644 --- a/assets/lang/es_LA.ini +++ b/assets/lang/es_LA.ini @@ -509,6 +509,7 @@ Running slow: try frameskip, sound is choppy when slow = Se ejecuta lento: Inten Running slow: Try turning off Software Rendering = Se ejecuta lento: Intenta desactivar renderizado por software. Save encryption failed. This save won't work on real PSP = Falló al encriptar los datos guardados. No funcionarán en una PSP real. textures.ini filenames may not be cross-platform = Los nombres del archivo textures.ini pueden no ser multiplataforma. +The file is not a valid zip file = Error al leer el archivo. This is a saved state, not a game. = Este es un estado guardado en vez de un juego. This is save data, not a game. = Esta es una carpeta de datos guardado en vez de un juego. Unable to create cheat file, disk may be full = No se pudo crear el archivo de trucos, el disco podría estar lleno. diff --git a/assets/lang/fa_IR.ini b/assets/lang/fa_IR.ini index acb9b4fb6a..4251ad6218 100644 --- a/assets/lang/fa_IR.ini +++ b/assets/lang/fa_IR.ini @@ -509,6 +509,7 @@ Running slow: try frameskip, sound is choppy when slow = اجرای آهسته: Running slow: Try turning off Software Rendering = اجرای آهسته: خاموش کردن «رندر نرم‌افزاری» را امتحان کنید Save encryption failed. This save won't work on real PSP = Save encryption failed. This save won't work on real PSP textures.ini filenames may not be cross-platform = "textures.ini" filenames may not be cross-platform. +The file is not a valid zip file = ‎.خطا در خواندن فایل This is a saved state, not a game. = This is a saved state, not a game. This is save data, not a game. = This is save data, not a game. Unable to create cheat file, disk may be full = Unable to create cheat file, disk may be full. diff --git a/assets/lang/fi_FI.ini b/assets/lang/fi_FI.ini index 570ef8f060..0163d83d12 100644 --- a/assets/lang/fi_FI.ini +++ b/assets/lang/fi_FI.ini @@ -509,6 +509,7 @@ Running slow: try frameskip, sound is choppy when slow = Running slow: try frame Running slow: Try turning off Software Rendering = Running slow: try turning off "software rendering" Save encryption failed. This save won't work on real PSP = Save encryption failed. This save won't work on real PSP textures.ini filenames may not be cross-platform = "textures.ini" filenames may not be cross-platform. +The file is not a valid zip file = The file is not a valid zip file This is a saved state, not a game. = This is a saved state, not a game. This is save data, not a game. = This is save data, not a game. Unable to create cheat file, disk may be full = Unable to create cheat file, disk may be full. diff --git a/assets/lang/fr_FR.ini b/assets/lang/fr_FR.ini index 5b75ccc9e1..4c57c60a66 100644 --- a/assets/lang/fr_FR.ini +++ b/assets/lang/fr_FR.ini @@ -509,6 +509,7 @@ Running slow: try frameskip, sound is choppy when slow = Exécution lente : Essa Running slow: Try turning off Software Rendering = Exécution lente : Essayez de désactiver "rendu logiciel" Save encryption failed. This save won't work on real PSP = Chiffrement de la sauvegarde échoué. Cette sauvegarde ne fonctionnera pas sur une PSP. textures.ini filenames may not be cross-platform = Les noms des fichiers "textures.ini" peuvent ne pas être multiplateformes. +The file is not a valid zip file = Erreur lors de la lecture du fichier. This is a saved state, not a game. = Ceci est un état sauvegardé, pas un jeu. This is save data, not a game. = Ceci est une sauvegarde, pas un jeu. Unable to create cheat file, disk may be full = Impossible de créer le fichier de codes de triche, le disque dur est peut-être plein. diff --git a/assets/lang/gl_ES.ini b/assets/lang/gl_ES.ini index 9681bda14c..bb44ac584e 100644 --- a/assets/lang/gl_ES.ini +++ b/assets/lang/gl_ES.ini @@ -509,6 +509,7 @@ Running slow: try frameskip, sound is choppy when slow = Running slow: try frame Running slow: Try turning off Software Rendering = Running slow: try turning off "software rendering" Save encryption failed. This save won't work on real PSP = Erro ó cifrar os datos gardados. Non funcionarán nunha PSP real. textures.ini filenames may not be cross-platform = "textures.ini" filenames may not be cross-platform. +The file is not a valid zip file = Erro o ler o arquivo This is a saved state, not a game. = This is a saved state, not a game. This is save data, not a game. = This is save data, not a game. Unable to create cheat file, disk may be full = Non se puido crear o arquivo de trucos, o disco podería estar cheo. diff --git a/assets/lang/gr_EL.ini b/assets/lang/gr_EL.ini index 7d01bba008..d2ea776c31 100644 --- a/assets/lang/gr_EL.ini +++ b/assets/lang/gr_EL.ini @@ -509,6 +509,7 @@ Running slow: try frameskip, sound is choppy when slow = Αργή εξομοίω Running slow: Try turning off Software Rendering = Αργή εξομοίωση: δοκιμάστε να απενεργοποιήσετε την "απόδοση λογισμικού" Save encryption failed. This save won't work on real PSP = Αποτυχία κρυπτογράφησης του αρχείου αποθήκευσης. Αυτό το αρχείο δέν θα δουλέψει σε ένα πραγματικό PSP textures.ini filenames may not be cross-platform = Τα όνοματα αρχείων "textures.ini" ενδέχεται να μην είναι cross-platform. +The file is not a valid zip file = Σφάλμα ανάγνωσης αρχείου. This is a saved state, not a game. = Αυτό είναι ένα σημείου αποθήκευσης, όχι παιχνίδι. This is save data, not a game. = Αυτό είναι ένα αρχείο αποθήκευσης, όχι παιχνίδι. Unable to create cheat file, disk may be full = Αδυναμία δημιουργίας αρχείου cheat, Ο δίσκος ενδέχεται να είναι γεμάτος. diff --git a/assets/lang/he_IL.ini b/assets/lang/he_IL.ini index b2d020ac35..ef31696eb5 100644 --- a/assets/lang/he_IL.ini +++ b/assets/lang/he_IL.ini @@ -509,6 +509,7 @@ Running slow: try frameskip, sound is choppy when slow = Running slow: try frame Running slow: Try turning off Software Rendering = Running slow: try turning off "software rendering" Save encryption failed. This save won't work on real PSP = Save encryption failed. This save won't work on real PSP textures.ini filenames may not be cross-platform = "textures.ini" filenames may not be cross-platform. +The file is not a valid zip file = קריאת קובץ נכשלה. This is a saved state, not a game. = This is a saved state, not a game. This is save data, not a game. = This is save data, not a game. Unable to create cheat file, disk may be full = Unable to create cheat file, disk may be full. diff --git a/assets/lang/he_IL_invert.ini b/assets/lang/he_IL_invert.ini index 34ae3ae00f..2b57a897c1 100644 --- a/assets/lang/he_IL_invert.ini +++ b/assets/lang/he_IL_invert.ini @@ -509,6 +509,7 @@ Running slow: try frameskip, sound is choppy when slow = Running slow: try frame Running slow: Try turning off Software Rendering = Running slow: try turning off "software rendering" Save encryption failed. This save won't work on real PSP = Save encryption failed. This save won't work on real PSP textures.ini filenames may not be cross-platform = "textures.ini" filenames may not be cross-platform. +The file is not a valid zip file = .הלשכנ ץבוק תאירק This is a saved state, not a game. = This is a saved state, not a game. This is save data, not a game. = This is save data, not a game. Unable to create cheat file, disk may be full = Unable to create cheat file, disk may be full. diff --git a/assets/lang/hr_HR.ini b/assets/lang/hr_HR.ini index e26c97d4a8..5b616d5b5e 100644 --- a/assets/lang/hr_HR.ini +++ b/assets/lang/hr_HR.ini @@ -509,6 +509,7 @@ Running slow: try frameskip, sound is choppy when slow = Trenutno sporo: probaj Running slow: Try turning off Software Rendering = Trenutno sporo: probaj isključiti "žbukanje softvera" Save encryption failed. This save won't work on real PSP = Greška u šifriranju save-a. Ovaj save nece raditi na pravom PSP-u textures.ini filenames may not be cross-platform = Nazivi "textures.ini" datoteke možda neće biti cross-platform. +The file is not a valid zip file = Greška tijekom čitanja datoteke. This is a saved state, not a game. = Ovo je spremljen state, ne igra. This is save data, not a game. = Ovo je save data, ne igra. Unable to create cheat file, disk may be full = Nije moguće kreirati cheat datoteku, disk je možda pun. diff --git a/assets/lang/hu_HU.ini b/assets/lang/hu_HU.ini index ac3e1a8b27..6f59c97ddf 100644 --- a/assets/lang/hu_HU.ini +++ b/assets/lang/hu_HU.ini @@ -509,6 +509,7 @@ Running slow: try frameskip, sound is choppy when slow = Lassú futás észlelve Running slow: Try turning off Software Rendering = Lassú futás észlelve: próbáld kikapcoslni a "Szoftveres Renderelést"! Save encryption failed. This save won't work on real PSP = Mentés titkosítás sikertelen. A mentés nem fog működni egy valódi PSP-n. textures.ini filenames may not be cross-platform = A "textures.ini" fájlnevek nem lehetnek platformfüggetlenek. +The file is not a valid zip file = Fájl olvasási hiba. This is a saved state, not a game. = Ez egy állapotmentés, nem egy játék. This is save data, not a game. = Ez egy mentés, nem egy játék. Unable to create cheat file, disk may be full = Csalás fájl létrehozása sikertelen, talán megtelt a lemez. diff --git a/assets/lang/id_ID.ini b/assets/lang/id_ID.ini index 38be100ab4..7140b634d7 100644 --- a/assets/lang/id_ID.ini +++ b/assets/lang/id_ID.ini @@ -509,6 +509,7 @@ Running slow: try frameskip, sound is choppy when slow = Berjalan lambat: coba l Running slow: Try turning off Software Rendering = Berjalan lambat: coba matikan "Pelukisan perangkat lunak" Save encryption failed. This save won't work on real PSP = Enkripsi simpanan gagal. Simpanan ini tidak akan bekerja pada PSP asli. textures.ini filenames may not be cross-platform = Nama berkas "textures.ini" tidak boleh lintas platform. +The file is not a valid zip file = Kesalahan saat membaca berkas. This is a saved state, not a game. = Ini adalah status yang disimpan, bukan permainan. This is save data, not a game. = Ini adalah simpanan data, bukan permainan. Unable to create cheat file, disk may be full = Tidak dapat membuat berkas pengecoh, penyimpanan mungkin penuh. diff --git a/assets/lang/it_IT.ini b/assets/lang/it_IT.ini index ad38ab5740..d1851a79b5 100644 --- a/assets/lang/it_IT.ini +++ b/assets/lang/it_IT.ini @@ -509,6 +509,7 @@ Running slow: try frameskip, sound is choppy when slow = Emulazione lenta: prova Running slow: Try turning off Software Rendering = Emulazione lenta: prova a disattivare "rendering software" Save encryption failed. This save won't work on real PSP = Criptazione salvataggio fallita. Questo salvataggio non funzionerà su una PSP reale textures.ini filenames may not be cross-platform = I nomi dei file "textures.ini" potrebbero non essere multi-piattaforma. +The file is not a valid zip file = Errore nella Lettura del File. This is a saved state, not a game. = Questo è uno stato salvato, non un gioco. This is save data, not a game. = Questi sono dati salvati, non un gioco. Unable to create cheat file, disk may be full = Impossibile creare il file cheat, il disco potrebbe essere pieno. diff --git a/assets/lang/ja_JP.ini b/assets/lang/ja_JP.ini index be9a92894f..9da195bad1 100644 --- a/assets/lang/ja_JP.ini +++ b/assets/lang/ja_JP.ini @@ -509,6 +509,7 @@ Running slow: try frameskip, sound is choppy when slow = 低速です: フレー Running slow: Try turning off Software Rendering = 低速です: 「ソフトウェアレンダリング」を無効にしてみてください Save encryption failed. This save won't work on real PSP = 暗号化セーブに失敗しました。このセーブはPSP実機では使えません textures.ini filenames may not be cross-platform = textures.ini のファイル名がクロスプラットフォーム向けではないかもしれません +The file is not a valid zip file = ファイルを読み込めません。 This is a saved state, not a game. = これはセーブステートです。ゲームではありません。 This is save data, not a game. = これはセーブデータです。ゲームではありません。 Unable to create cheat file, disk may be full = チートファイルを作成できません。ディスクが一杯のようです。 diff --git a/assets/lang/jv_ID.ini b/assets/lang/jv_ID.ini index 9660222ce9..8affd07807 100644 --- a/assets/lang/jv_ID.ini +++ b/assets/lang/jv_ID.ini @@ -509,6 +509,7 @@ Running slow: try frameskip, sound is choppy when slow = Running slow: try frame Running slow: Try turning off Software Rendering = Running slow: try turning off "software rendering" Save encryption failed. This save won't work on real PSP = Simpenan terenkripsi gagal. Simpenan iki ora dapat berfungsi ing PSP asli. textures.ini filenames may not be cross-platform = "textures.ini" filenames may not be cross-platform. +The file is not a valid zip file = Galat nalika maca berkas. This is a saved state, not a game. = This is a saved state, not a game. This is save data, not a game. = This is save data, not a game. Unable to create cheat file, disk may be full = ora dapat ngawe berkas cheat, penyimpenan lengkap. diff --git a/assets/lang/ko_KR.ini b/assets/lang/ko_KR.ini index 3c43a22116..710673b5bf 100644 --- a/assets/lang/ko_KR.ini +++ b/assets/lang/ko_KR.ini @@ -509,6 +509,7 @@ Running slow: try frameskip, sound is choppy when slow = 느리게 실행: 프 Running slow: Try turning off Software Rendering = 느리게 실행: "소프트웨어 렌더링" 끄기 시도 Save encryption failed. This save won't work on real PSP = 저장 암호화에 실패했습니다. 이 저장은 실제 PSP에서 작동하지 않습니다. textures.ini filenames may not be cross-platform = "textures.ini" 파일 이름은 크로스 플랫폼이 아닐 수 있습니다. +The file is not a valid zip file = 파일 읽기 오류입니다. This is a saved state, not a game. = 이것은 게임이 아닌 저장된 상태입니다. This is save data, not a game. = 이것은 게임이 아닌 세이브 데이터입니다. Unable to create cheat file, disk may be full = 치트 파일을 생성할 수 없습니다. 디스크가 가득 찼을 수 있습니다. diff --git a/assets/lang/ku_SO.ini b/assets/lang/ku_SO.ini index 41d2b3825b..92dbde71dd 100644 --- a/assets/lang/ku_SO.ini +++ b/assets/lang/ku_SO.ini @@ -523,6 +523,7 @@ Running slow: try frameskip, sound is choppy when slow = Running slow: try frame Running slow: Try turning off Software Rendering = Running slow: try turning off "software rendering" Save encryption failed. This save won't work on real PSP = Save encryption failed. This save won't work on real PSP textures.ini filenames may not be cross-platform = "textures.ini" filenames may not be cross-platform. +The file is not a valid zip file = The file is not a valid zip file This is a saved state, not a game. = This is a saved state, not a game. This is save data, not a game. = This is save data, not a game. Unable to create cheat file, disk may be full = Unable to create cheat file, disk may be full. diff --git a/assets/lang/lo_LA.ini b/assets/lang/lo_LA.ini index 9dd179fff3..ae5482fcf3 100644 --- a/assets/lang/lo_LA.ini +++ b/assets/lang/lo_LA.ini @@ -509,6 +509,7 @@ Running slow: try frameskip, sound is choppy when slow = ເກມເປີດ Running slow: Try turning off Software Rendering = Running slow: try turning off "software rendering" Save encryption failed. This save won't work on real PSP = ການບັນທຶກແບບເຂົ້າລະຫັດລົ້ມເຫຼວ. ເຊບນີ້ບໍ່ສາມາດນຳໄປໃຊ້ກັບເຄື່ອງ PSP ແທ້ໆໄດ້ textures.ini filenames may not be cross-platform = "textures.ini" filenames may not be cross-platform. +The file is not a valid zip file = ເກີດຂໍ້ຜິດພາດໃນການອ່ານໄຟລ໌ This is a saved state, not a game. = This is a saved state, not a game. This is save data, not a game. = This is save data, not a game. Unable to create cheat file, disk may be full = ບໍ່ສາມາດສ້າງໄຟລ໌ສູດໂກງ, ພື້ນທີ່ອາດຈະເຕັມ. diff --git a/assets/lang/lt-LT.ini b/assets/lang/lt-LT.ini index aa512930dc..0c2f5200ed 100644 --- a/assets/lang/lt-LT.ini +++ b/assets/lang/lt-LT.ini @@ -509,6 +509,7 @@ Running slow: try frameskip, sound is choppy when slow = Running slow: try frame Running slow: Try turning off Software Rendering = Running slow: try turning off "software rendering" Save encryption failed. This save won't work on real PSP = Save encryption failed. This save won't work on real PSP textures.ini filenames may not be cross-platform = "textures.ini" filenames may not be cross-platform. +The file is not a valid zip file = Klaida skaitant failą. This is a saved state, not a game. = This is a saved state, not a game. This is save data, not a game. = This is save data, not a game. Unable to create cheat file, disk may be full = Unable to create cheat file, disk may be full. diff --git a/assets/lang/ms_MY.ini b/assets/lang/ms_MY.ini index ba592523df..3234b66338 100644 --- a/assets/lang/ms_MY.ini +++ b/assets/lang/ms_MY.ini @@ -509,6 +509,7 @@ Running slow: try frameskip, sound is choppy when slow = Running slow: try frame Running slow: Try turning off Software Rendering = Running slow: try turning off "software rendering" Save encryption failed. This save won't work on real PSP = Save encryption failed. This save won't work on real PSP textures.ini filenames may not be cross-platform = "textures.ini" filenames may not be cross-platform. +The file is not a valid zip file = Pembacaan fail bermasalah. This is a saved state, not a game. = This is a saved state, not a game. This is save data, not a game. = This is save data, not a game. Unable to create cheat file, disk may be full = Unable to create cheat file, disk may be full. diff --git a/assets/lang/nl_NL.ini b/assets/lang/nl_NL.ini index 2bfe1777f8..0937772a05 100644 --- a/assets/lang/nl_NL.ini +++ b/assets/lang/nl_NL.ini @@ -509,6 +509,7 @@ Running slow: try frameskip, sound is choppy when slow = Trage prestaties: probe Running slow: Try turning off Software Rendering = Trage prestaties: probeer "Renderen via software" uit te schakelen Save encryption failed. This save won't work on real PSP = Versleutelen van savedata mislukt. De savedata zal\nniet werken op echte PSP-systemen. textures.ini filenames may not be cross-platform = "textures.ini" filenames may not be cross-platform. +The file is not a valid zip file = Kan het bestand niet lezen. This is a saved state, not a game. = This is a saved state, not a game. This is save data, not a game. = This is save data, not a game. Unable to create cheat file, disk may be full = Kon het cheatbestand niet aanmaken, wellicht is de schijf vol. diff --git a/assets/lang/no_NO.ini b/assets/lang/no_NO.ini index e0762d3a65..c1f6382bf7 100644 --- a/assets/lang/no_NO.ini +++ b/assets/lang/no_NO.ini @@ -509,6 +509,7 @@ Running slow: try frameskip, sound is choppy when slow = Running slow: try frame Running slow: Try turning off Software Rendering = Running slow: try turning off "software rendering" Save encryption failed. This save won't work on real PSP = Save encryption failed. This save won't work on real PSP textures.ini filenames may not be cross-platform = "textures.ini" filenames may not be cross-platform. +The file is not a valid zip file = The file is not a valid zip file This is a saved state, not a game. = This is a saved state, not a game. This is save data, not a game. = This is save data, not a game. Unable to create cheat file, disk may be full = Unable to create cheat file, disk may be full. diff --git a/assets/lang/pl_PL.ini b/assets/lang/pl_PL.ini index 858fa15696..c8ab1ac8d0 100644 --- a/assets/lang/pl_PL.ini +++ b/assets/lang/pl_PL.ini @@ -511,6 +511,7 @@ Running slow: Wolne działanie: spróbuj pomijania klatek, dźwięk zacina przy Running slow: Wolne działanie: spróbuj wyłączyć "Renderowanie programowe" Save encryption failed. This save won't work on real PSP = Nie można zaszyfrować pliku zapisu gry. Ten zapis gry nie zadziała na prawdziwym PSP. textures.ini filenames may not be cross-platform = Nazwy plików w "textures.ini" mogą nie być kompatybilne między platformami. +The file is not a valid zip file = Błąd podczas odczytywania pliku. This is a saved state, not a game. = To jest zapis stanu, a nie gra. This is save data, not a game. = To jest zapis gry, a nie gra. Unable to create cheat file, disk may be full = Nie można utworzyć pliku kodów, dysk może być już zapełniony. diff --git a/assets/lang/pt_BR.ini b/assets/lang/pt_BR.ini index 10222bda1d..1d87195fea 100644 --- a/assets/lang/pt_BR.ini +++ b/assets/lang/pt_BR.ini @@ -533,6 +533,7 @@ Running slow: try frameskip, sound is choppy when slow = Rodando lento: tente o Running slow: Try turning off Software Rendering = Rodando lento: Tente desligar a "renderização por software" Save encryption failed. This save won't work on real PSP = Falhou em encriptar o save. Este save não funcionará num PSP de verdade textures.ini filenames may not be cross-platform = Os nomes dos arquivos em "textures.ini" podem não ser multi-plataforma. +The file is not a valid zip file = Erro ao ler o arquivo. This is a saved state, not a game. = Este é um state salvo, não um jogo. This is save data, not a game. = Isto são dados do save, não um jogo. Unable to create cheat file, disk may be full = Incapaz de criar arquivo de trapaça. O disco pode estar cheio. diff --git a/assets/lang/pt_PT.ini b/assets/lang/pt_PT.ini index 8feb2313b6..d6a8852543 100644 --- a/assets/lang/pt_PT.ini +++ b/assets/lang/pt_PT.ini @@ -533,6 +533,7 @@ Running slow: try frameskip, sound is choppy when slow = Rodando lento: Tenta "f Running slow: Try turning off Software Rendering = Rodando lento: Tenta desativar a "Renderização por Software" Save encryption failed. This save won't work on real PSP = Erro ao encriptar o salvamento. Este salvamento não funcionará num PSP. textures.ini filenames may not be cross-platform = Os nomes dos ficheiros em "textures.ini" podem não ser multi-plataforma. +The file is not a valid zip file = Erro ao ler o ficheiro. This is a saved state, not a game. = Este é um estado salvo, não um jogo. This is save data, not a game. = Isto são dados salvos, não um jogo. Unable to create cheat file, disk may be full = Não foi possível criar um ficheiro de Cheat. O disco poderá estar cheio. diff --git a/assets/lang/ro_RO.ini b/assets/lang/ro_RO.ini index 4fb95ee171..8bd98f1640 100644 --- a/assets/lang/ro_RO.ini +++ b/assets/lang/ro_RO.ini @@ -510,6 +510,7 @@ Running slow: try frameskip, sound is choppy when slow = Running slow: try frame Running slow: Try turning off Software Rendering = Running slow: try turning off "software rendering" Save encryption failed. This save won't work on real PSP = Încodarea salvării ratată. Această salvare nu va funcționa pe un PSP real. textures.ini filenames may not be cross-platform = "textures.ini" filenames may not be cross-platform. +The file is not a valid zip file = Eroare la citire fișier. This is a saved state, not a game. = This is a saved state, not a game. This is save data, not a game. = This is save data, not a game. Unable to create cheat file, disk may be full = Imposibil de creat fișier trișare, diskul poate fi plin. diff --git a/assets/lang/ru_RU.ini b/assets/lang/ru_RU.ini index 603543a1e5..ca949e4d40 100644 --- a/assets/lang/ru_RU.ini +++ b/assets/lang/ru_RU.ini @@ -509,6 +509,7 @@ Running slow: try frameskip, sound is choppy when slow = Медленная ра Running slow: Try turning off Software Rendering = Медленная работа: попробуйте отключить "программный рендеринг" Save encryption failed. This save won't work on real PSP = Кодирование сохранения не удалось. Этот файл не будет работать на PSP textures.ini filenames may not be cross-platform = Имена файлов в "textures.ini" могут работать не на всех платформах. +The file is not a valid zip file = Ошибка при чтении файла. This is a saved state, not a game. = Это — сохраненное состояние, а не игра. This is save data, not a game. = Это — данные сохранения, а не игра. Unable to create cheat file, disk may be full = Не удалось создать файл читов: не хватает места. diff --git a/assets/lang/sv_SE.ini b/assets/lang/sv_SE.ini index 48abdc9658..ded1ceaf09 100644 --- a/assets/lang/sv_SE.ini +++ b/assets/lang/sv_SE.ini @@ -510,6 +510,7 @@ Running slow: try frameskip, sound is choppy when slow = Running slow: try frame Running slow: Try turning off Software Rendering = Running slow: try turning off "software rendering" Save encryption failed. This save won't work on real PSP = Save encryption failed. This save won't work on real PSP textures.ini filenames may not be cross-platform = "textures.ini" filenames may not be cross-platform. +The file is not a valid zip file = Filen är inte en zip-fil. This is a saved state, not a game. = Detta är ett sparat state, inte ett spel. This is save data, not a game. = Detta är sparad data, inte ett spel. Unable to create cheat file, disk may be full = Kunde inte skapa fusk-file, disk full? diff --git a/assets/lang/tg_PH.ini b/assets/lang/tg_PH.ini index cd33ea4990..49a9735bf4 100644 --- a/assets/lang/tg_PH.ini +++ b/assets/lang/tg_PH.ini @@ -510,6 +510,7 @@ Running slow: try frameskip, sound is choppy when slow = Hindi kinakaya tumakbo Running slow: Try turning off Software Rendering = Hindi kinakaya tumakbo ng maayos: subukan patayin ang "software rendering". Save encryption failed. This save won't work on real PSP = Pumalya ang enkripsiyon ng sineyb. Itong sineyb ay hindi gagana sa totoong PSP textures.ini filenames may not be cross-platform = Maaaring hindi cross-platform ang mga filename sa loob ng "textures.ini." +The file is not a valid zip file = Mali sa pagbasa ng file This is a saved state, not a game. = Ito ay isang naka-save na estado, hindi isang laro. This is save data, not a game. = Ito ay isang naka-save na datos, hindi isang laro. Unable to create cheat file, disk may be full = Hindi maka-create ng cheat file, baka ang disk ay puno na. diff --git a/assets/lang/th_TH.ini b/assets/lang/th_TH.ini index 6b5086edc0..0d00db444d 100644 --- a/assets/lang/th_TH.ini +++ b/assets/lang/th_TH.ini @@ -519,6 +519,7 @@ Running slow: try frameskip, sound is choppy when slow = เกมรันช Running slow: Try turning off Software Rendering = เกมรันช้า: ให้ลองปิดการทำงาน "ใช้ซอฟท์แวร์ในการแสดงผล" Save encryption failed. This save won't work on real PSP = การบันทึกข้อมูลแบบเข้ารหัสล้มเหลว เซฟนี้ไม่สามารถนำไปใช้งานบนเครื่อง PSP ได้ textures.ini filenames may not be cross-platform = ชื่อของเท็คเจอร์ที่อยู่ในไฟล์ textures.ini อาจจะใช้ไม่ได้ทุกแพลตฟอร์ม +The file is not a valid zip file = เกิดข้อผิดพลาดในการอ่านไฟล์ This is a saved state, not a game. = นี่คือข้อมูลเซฟเตท, ไม่ใช่เกมนะจ้ะ This is save data, not a game. = นี่คือข้อมูลเซฟ, ไม่ใช่เกมนะจ้ะ Unable to create cheat file, disk may be full = ไม่สามารถสร้างไฟล์สูตรโกงได้, เนื่องจากดิสก์เต็ม diff --git a/assets/lang/tr_TR.ini b/assets/lang/tr_TR.ini index 2092f306bc..316d3235e5 100644 --- a/assets/lang/tr_TR.ini +++ b/assets/lang/tr_TR.ini @@ -511,6 +511,7 @@ Running slow: try frameskip, sound is choppy when slow = Yavaş çalışıyor : Running slow: Try turning off Software Rendering = Yavaş çalışıyor: Yazılımsal işlemeyi kapamayı deneyin. Save encryption failed. This save won't work on real PSP = Kayıt şifrelemesi başarısız oldu. Bu kayıt PSP'de çalışmayacak textures.ini filenames may not be cross-platform = "textures.ini" dosya adları çapraz platform olmayabilir. +The file is not a valid zip file = Dosya okumada hata. This is a saved state, not a game. = Bu bir durum kaydı, bir oyun değil This is save data, not a game. = Bu bir kayıt dosyası, bir oyun değil. Unable to create cheat file, disk may be full = Hile dosyası oluşturulamadı, belki de disk doludur. diff --git a/assets/lang/uk_UA.ini b/assets/lang/uk_UA.ini index 772c04423c..e2c119f9f2 100644 --- a/assets/lang/uk_UA.ini +++ b/assets/lang/uk_UA.ini @@ -509,6 +509,7 @@ Running slow: спробуйте пропуск кадрів, звук пори Running slow: Спробуйте вимкнути програмний рендеринг = Повільна робота: спробуйте вимкнути "програмний рендеринг" Save encryption failed. This save won't work on real PSP = Не вдалося зберегти шифрування. Це збереження не буде працювати на реальному PSP textures.ini filenames may not be cross-platform = Імена файлів в"textures.ini" можуть працювати не на всіх платформах. +The file is not a valid zip file = Помилка при читанні файлу. This is a saved state, not a game. = Це - збережений стан, а не гра. This is save data, not a game. = Це - збережені дані, а не гра. Unable to create cheat file, disk may be full = Неможливо створити чит-файлів: диск переповнено. diff --git a/assets/lang/vi_VN.ini b/assets/lang/vi_VN.ini index 676c4c28ff..110feade3c 100644 --- a/assets/lang/vi_VN.ini +++ b/assets/lang/vi_VN.ini @@ -509,6 +509,7 @@ Running slow: try frameskip, sound is choppy when slow = Chạy chậm: thử nh Running slow: Try turning off Software Rendering = Chạy chậm: thử tắt "kết xuất phần mềm" Save encryption failed. This save won't work on real PSP = Lưu file save mã hóa thất bại. File save này không thể hoạt động trên máy PSP thật textures.ini filenames may not be cross-platform = "textures.ini" không phải nền tảng nào cũng hỗ trợ tên file này. +The file is not a valid zip file = có lỗi khi đọc file. This is a saved state, not a game. = This is a saved state, not a game. This is save data, not a game. = Đây là một trạng thái được lưu, không phải là một trò chơi. Unable to create cheat file, disk may be full = Không thể tạo file cheat, ổ cứng của bạn có thể bị đầy. diff --git a/assets/lang/zh_CN.ini b/assets/lang/zh_CN.ini index dc9d1c9910..c5cfa36082 100644 --- a/assets/lang/zh_CN.ini +++ b/assets/lang/zh_CN.ini @@ -509,6 +509,7 @@ Running slow: try frameskip, sound is choppy when slow = 运行速度慢:可 Running slow: Try turning off Software Rendering = 运行速度慢:可以尝试关闭软件渲染 Save encryption failed. This save won't work on real PSP = 存档加密失败。此存档将无法在PSP实机使用 textures.ini filenames may not be cross-platform = “textures.ini”文件名可能不是多平台的。 +The file is not a valid zip file = 读取文件时出错。 This is a saved state, not a game. = 这是一个即时存档,不是游戏。 This is save data, not a game. = 这是一个存档,不是游戏。 Unable to create cheat file, disk may be full = 无法创建金手指文件,磁盘可能已满 diff --git a/assets/lang/zh_TW.ini b/assets/lang/zh_TW.ini index 0ee7cdc138..053aed8858 100644 --- a/assets/lang/zh_TW.ini +++ b/assets/lang/zh_TW.ini @@ -509,6 +509,7 @@ Running slow: try frameskip, sound is choppy when slow = 執行速度緩慢: Running slow: Try turning off Software Rendering = 執行速度緩慢:嘗試關閉「軟體轉譯」 Save encryption failed. This save won't work on real PSP = 存檔加密失敗,這個存檔將無法在真實 PSP 中運作 textures.ini filenames may not be cross-platform = 「textures.ini」檔案名稱可能無法跨平台 +The file is not a valid zip file = 無法讀取檔案 This is a saved state, not a game. = 這是一個存檔,並非遊戲 This is save data, not a game. = 這是一個存檔資料,並非遊戲 Unable to create cheat file, disk may be full = 無法建立密技檔案,磁碟可能已滿 diff --git a/headless/Headless.cpp b/headless/Headless.cpp index eeb8495593..f64d8e5d79 100644 --- a/headless/Headless.cpp +++ b/headless/Headless.cpp @@ -241,18 +241,18 @@ bool RunAutoTest(HeadlessHost *headlessHost, CoreParameter &coreParameter, const bool passed = true; double deadline = time_now_d() + opt.timeout; - coreState = coreParameter.startBreak ? CORE_STEPPING : CORE_RUNNING; - while (coreState == CORE_RUNNING || coreState == CORE_STEPPING) + coreState = coreParameter.startBreak ? CORE_STEPPING_CPU : CORE_RUNNING_CPU; + while (coreState == CORE_RUNNING_CPU || coreState == CORE_STEPPING_CPU) { int blockTicks = (int)usToCycles(1000000 / 10); PSP_RunLoopFor(blockTicks); // If we were rendering, this might be a nice time to do something about it. if (coreState == CORE_NEXTFRAME) { - coreState = CORE_RUNNING; + coreState = CORE_RUNNING_CPU; headlessHost->SwapBuffers(); } - if (coreState == CORE_STEPPING && !coreParameter.startBreak) { + if (coreState == CORE_STEPPING_CPU && !coreParameter.startBreak) { break; } if (time_now_d() > deadline) { diff --git a/libretro/libretro.cpp b/libretro/libretro.cpp index 6a05a9671a..244228745b 100644 --- a/libretro/libretro.cpp +++ b/libretro/libretro.cpp @@ -1354,7 +1354,7 @@ namespace Libretro gpu->BeginHostFrame(); - coreState = CORE_RUNNING; + coreState = CORE_RUNNING_CPU; PSP_RunLoopUntil(UINT64_MAX); gpu->EndHostFrame(); diff --git a/unittest/JitHarness.cpp b/unittest/JitHarness.cpp index 3640a96357..108f877e33 100644 --- a/unittest/JitHarness.cpp +++ b/unittest/JitHarness.cpp @@ -69,9 +69,9 @@ double ExecCPUTest(bool clearCache = true) { do { for (int j = 0; j < 1000; ++j) { currentMIPS->pc = PSP_GetUserMemoryBase(); - coreState = CORE_RUNNING; + coreState = CORE_RUNNING_CPU; - while (coreState == CORE_RUNNING) { + while (coreState == CORE_RUNNING_CPU) { mipsr4k.RunLoopUntil(blockTicks); } ++total;