diff --git a/CMakeLists.txt b/CMakeLists.txt index 9023872106..76aed46de5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1612,7 +1612,6 @@ set(GPU_SOURCES GPU/Common/TextureScalerCommon.h GPU/Common/PostShader.cpp GPU/Common/PostShader.h - GPU/Common/SplineCommon.h GPU/Debugger/Breakpoints.cpp GPU/Debugger/Breakpoints.h GPU/Debugger/Debugger.cpp @@ -1661,7 +1660,6 @@ set(GPU_SOURCES GPU/Software/SoftGpu.h GPU/Software/TransformUnit.cpp GPU/Software/TransformUnit.h - GPU/ge_constants.h ) # 'ppsspp_jni' on ANDROID, 'Core' everywhere else diff --git a/Common/GPU/ShaderWriter.h b/Common/GPU/ShaderWriter.h index 379e704319..b10c3169b0 100644 --- a/Common/GPU/ShaderWriter.h +++ b/Common/GPU/ShaderWriter.h @@ -3,8 +3,6 @@ #include #include "Common/GPU/Shader.h" -#include "GPU/ge_constants.h" -#include "GPU/GPUCommon.h" #include "Common/Data/Collections/Slice.h" #include "Common/GPU/thin3d.h" diff --git a/Core/CwCheat.h b/Core/CwCheat.h index 28ed82791a..a012054eae 100644 --- a/Core/CwCheat.h +++ b/Core/CwCheat.h @@ -1,5 +1,4 @@ // Rough and ready CwCheats implementation, disabled by default. -// Will not enable by default until the TOOD:s have been addressed. #pragma once diff --git a/Core/HLE/ReplaceTables.cpp b/Core/HLE/ReplaceTables.cpp index 65461ff902..f9ddbf7de7 100644 --- a/Core/HLE/ReplaceTables.cpp +++ b/Core/HLE/ReplaceTables.cpp @@ -1018,7 +1018,7 @@ static int Hook_kumonohatateni_download_frame() { if (Memory::IsVRAMAddress(fb_address)) { gpu->PerformReadbackToMemory(fb_address, 0x00088000); NotifyMemInfo(MemBlockFlags::WRITE, fb_address, 0x00088000, "kumonohatateni_download_frame"); -} + } return 0; } @@ -1027,7 +1027,7 @@ static int Hook_otomenoheihou_download_frame() { if (Memory::IsVRAMAddress(fb_address)) { gpu->PerformReadbackToMemory(fb_address, 0x00088000); NotifyMemInfo(MemBlockFlags::WRITE, fb_address, 0x00088000, "otomenoheihou_download_frame"); -} + } return 0; } @@ -1054,7 +1054,7 @@ static int Hook_toheart2_download_frame() { if (Memory::IsVRAMAddress(fb_address)) { gpu->PerformReadbackToMemory(fb_address, 0x00044000); NotifyMemInfo(MemBlockFlags::WRITE, fb_address, 0x00044000, "toheart2_download_frame"); -} + } return 0; } diff --git a/Core/HLE/sceIo.cpp b/Core/HLE/sceIo.cpp index d2cf9ec311..06fbdbf5d3 100644 --- a/Core/HLE/sceIo.cpp +++ b/Core/HLE/sceIo.cpp @@ -2173,7 +2173,7 @@ static u32 sceIoSetAsyncCallback(int id, u32 clbckId, u32 clbckArg) static u32 sceIoOpenAsync(const char *filename, int flags, int mode) { hleEatCycles(18000); - // TOOD: Use an internal method so as not to pollute the log? + // TODO: Use an internal method so as not to pollute the log? // Intentionally does not work when interrupts disabled. if (!__KernelIsDispatchEnabled()) sceKernelResumeDispatchThread(1); diff --git a/Core/HLE/sceKernel.cpp b/Core/HLE/sceKernel.cpp index a7f5b7cb82..f0e0456995 100644 --- a/Core/HLE/sceKernel.cpp +++ b/Core/HLE/sceKernel.cpp @@ -59,7 +59,6 @@ #include "sceKernelMutex.h" #include "sceKernelMbx.h" #include "sceKernelMsgPipe.h" -#include "sceKernelInterrupt.h" #include "sceKernelSemaphore.h" #include "sceKernelEventFlag.h" #include "sceKernelVTimer.h" diff --git a/Core/HLE/sceKernelMemory.cpp b/Core/HLE/sceKernelMemory.cpp index 55b7ff7044..23ff06c147 100644 --- a/Core/HLE/sceKernelMemory.cpp +++ b/Core/HLE/sceKernelMemory.cpp @@ -610,7 +610,7 @@ void __KernelFplEndCallback(SceUID threadID, SceUID prevCallbackId) { auto result = HLEKernel::WaitEndCallback(threadID, prevCallbackId, fplWaitTimer, __KernelUnlockFplForThread); if (result == HLEKernel::WAIT_CB_RESUMED_WAIT) - DEBUG_LOG(SCEKERNEL, "sceKernelReceiveMbxCB: Resuming mbx wait from callback"); + DEBUG_LOG(SCEKERNEL, "sceKernelAllocateFplCB: Resuming mbx wait from callback"); } static bool __FplThreadSortPriority(FplWaitingThread thread1, FplWaitingThread thread2) @@ -1452,7 +1452,7 @@ void __KernelVplEndCallback(SceUID threadID, SceUID prevCallbackId) { auto result = HLEKernel::WaitEndCallback(threadID, prevCallbackId, vplWaitTimer, __KernelUnlockVplForThread); if (result == HLEKernel::WAIT_CB_RESUMED_WAIT) - DEBUG_LOG(SCEKERNEL, "sceKernelReceiveMbxCB: Resuming mbx wait from callback"); + DEBUG_LOG(SCEKERNEL, "sceKernelAllocateVplCB: Resuming mbx wait from callback"); } static bool __VplThreadSortPriority(VplWaitingThread thread1, VplWaitingThread thread2) diff --git a/Core/MemMap.cpp b/Core/MemMap.cpp index 50a2d564fa..fab39b4bc7 100644 --- a/Core/MemMap.cpp +++ b/Core/MemMap.cpp @@ -44,7 +44,6 @@ #include "Core/MIPS/JitCommon/JitBlockCache.h" #include "Core/MIPS/JitCommon/JitCommon.h" #include "Common/Thread/ParallelLoop.h" -#include "UI/OnScreenDisplay.h" namespace Memory { diff --git a/GPU/D3D11/GPU_D3D11.cpp b/GPU/D3D11/GPU_D3D11.cpp index 124171978f..c8ac54053a 100644 --- a/GPU/D3D11/GPU_D3D11.cpp +++ b/GPU/D3D11/GPU_D3D11.cpp @@ -42,10 +42,6 @@ #include "GPU/D3D11/TextureCacheD3D11.h" #include "GPU/D3D11/D3D11Util.h" -#include "Core/HLE/sceKernelThread.h" -#include "Core/HLE/sceKernelInterrupt.h" -#include "Core/HLE/sceGe.h" - GPU_D3D11::GPU_D3D11(GraphicsContext *gfxCtx, Draw::DrawContext *draw) : GPUCommon(gfxCtx, draw), drawEngine_(draw, (ID3D11Device *)draw->GetNativeObject(Draw::NativeObject::DEVICE), diff --git a/GPU/Directx9/GPU_DX9.cpp b/GPU/Directx9/GPU_DX9.cpp index 2026b70989..e7c2b57ef9 100644 --- a/GPU/Directx9/GPU_DX9.cpp +++ b/GPU/Directx9/GPU_DX9.cpp @@ -44,10 +44,6 @@ #include "GPU/Directx9/DrawEngineDX9.h" #include "GPU/Directx9/TextureCacheDX9.h" -#include "Core/HLE/sceKernelThread.h" -#include "Core/HLE/sceKernelInterrupt.h" -#include "Core/HLE/sceGe.h" - GPU_DX9::GPU_DX9(GraphicsContext *gfxCtx, Draw::DrawContext *draw) : GPUCommon(gfxCtx, draw), drawEngine_(draw) { diff --git a/GPU/GLES/GPU_GLES.cpp b/GPU/GLES/GPU_GLES.cpp index 17f0f79552..636db741a9 100644 --- a/GPU/GLES/GPU_GLES.cpp +++ b/GPU/GLES/GPU_GLES.cpp @@ -43,11 +43,6 @@ #include "GPU/GLES/DrawEngineGLES.h" #include "GPU/GLES/TextureCacheGLES.h" -#include "Core/MIPS/MIPS.h" -#include "Core/HLE/sceKernelThread.h" -#include "Core/HLE/sceKernelInterrupt.h" -#include "Core/HLE/sceGe.h" - #ifdef _WIN32 #include "Windows/GPU/WindowsGLContext.h" #endif diff --git a/GPU/Vulkan/GPU_Vulkan.cpp b/GPU/Vulkan/GPU_Vulkan.cpp index b3ad3c7689..963482d0a6 100644 --- a/GPU/Vulkan/GPU_Vulkan.cpp +++ b/GPU/Vulkan/GPU_Vulkan.cpp @@ -45,11 +45,6 @@ #include "Common/GPU/Vulkan/VulkanRenderManager.h" #include "Common/GPU/Vulkan/VulkanQueueRunner.h" -#include "Core/MIPS/MIPS.h" -#include "Core/HLE/sceKernelThread.h" -#include "Core/HLE/sceKernelInterrupt.h" -#include "Core/HLE/sceGe.h" - GPU_Vulkan::GPU_Vulkan(GraphicsContext *gfxCtx, Draw::DrawContext *draw) : GPUCommon(gfxCtx, draw), drawEngine_(draw) { gstate_c.SetUseFlags(CheckGPUFeatures());