mirror of
https://github.com/libretro/ppsspp.git
synced 2024-11-24 16:49:50 +00:00
Shrink the very common sceKernelThread.h include.
This commit is contained in:
parent
d65af7353b
commit
a843cbd580
@ -19,15 +19,16 @@
|
||||
#include <vector>
|
||||
#include <cstdio>
|
||||
|
||||
#include "MsgHandler.h"
|
||||
#include "StdMutex.h"
|
||||
#include "Atomics.h"
|
||||
#include "CoreTiming.h"
|
||||
#include "Core.h"
|
||||
#include "Config.h"
|
||||
#include "HLE/sceKernelThread.h"
|
||||
#include "../Common/ChunkFile.h"
|
||||
#include "HLE/sceDisplay.h"
|
||||
#include "Common/MsgHandler.h"
|
||||
#include "Common/StdMutex.h"
|
||||
#include "Common/Atomics.h"
|
||||
#include "Core/CoreTiming.h"
|
||||
#include "Core/Core.h"
|
||||
#include "Core/Config.h"
|
||||
#include "Core/HLE/sceKernelThread.h"
|
||||
#include "Core/HLE/sceDisplay.h"
|
||||
#include "Core/MIPS/MIPS.h"
|
||||
#include "Common/ChunkFile.h"
|
||||
|
||||
int CPU_HZ = 222000000;
|
||||
|
||||
|
@ -23,6 +23,7 @@
|
||||
#include "Core/MIPS/MIPS.h"
|
||||
#include "Core/MIPS/MIPSCodeUtils.h"
|
||||
#include "Core/MIPS/MIPSInt.h"
|
||||
#include "Core/MIPS/JitCommon/JitCommon.h"
|
||||
|
||||
#include "Common/LogManager.h"
|
||||
#include "Core/FileSystems/FileSystem.h"
|
||||
@ -50,6 +51,7 @@
|
||||
#include "sceKernelInterrupt.h"
|
||||
#include "sceKernelThread.h"
|
||||
#include "sceKernelMemory.h"
|
||||
#include "sceKernelModule.h"
|
||||
#include "sceKernelMutex.h"
|
||||
#include "sceKernelMbx.h"
|
||||
#include "sceKernelMsgPipe.h"
|
||||
|
@ -17,8 +17,10 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "sceKernel.h"
|
||||
#include "HLE.h"
|
||||
#include <string>
|
||||
#include "Core/HLE/sceKernel.h"
|
||||
|
||||
class PointerWrap;
|
||||
|
||||
KernelObject *__KernelModuleObject();
|
||||
void __KernelModuleDoState(PointerWrap &p);
|
||||
|
@ -20,12 +20,12 @@
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include "Common/CommonTypes.h"
|
||||
#include "Core/HLE/sceKernel.h"
|
||||
|
||||
// There's a good description of the thread scheduling rules in:
|
||||
// http://code.google.com/p/jpcsp/source/browse/trunk/src/jpcsp/HLE/modules150/ThreadManForUser.java
|
||||
|
||||
#include "sceKernelModule.h"
|
||||
#include "HLE.h"
|
||||
|
||||
int sceKernelChangeThreadPriority(SceUID threadID, int priority);
|
||||
int __KernelCreateThread(const char *threadName, SceUID moduleID, u32 entry, u32 prio, int stacksize, u32 attr, u32 optionAddr);
|
||||
int sceKernelCreateThread(const char *threadName, u32 entry, u32 prio, int stacksize, u32 attr, u32 optionAddr);
|
||||
|
@ -21,6 +21,7 @@
|
||||
#include <algorithm>
|
||||
|
||||
#include "Core/HLE/sceMpeg.h"
|
||||
#include "Core/HLE/sceKernelModule.h"
|
||||
#include "Core/HLE/sceKernelThread.h"
|
||||
#include "Core/HLE/HLE.h"
|
||||
#include "Core/HLE/FunctionWrappers.h"
|
||||
|
@ -18,6 +18,8 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "Common/Common.h"
|
||||
|
||||
struct JitBlock;
|
||||
|
||||
namespace MIPSComp {
|
||||
|
@ -17,9 +17,8 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "JitCommon/JitCommon.h"
|
||||
#include "Common/CommonTypes.h"
|
||||
#include "Core/HLE/HLE.h"
|
||||
#include "Core/MIPS/MIPS.h"
|
||||
|
||||
// Invalid branch target address
|
||||
#define INVALIDTARGET 0xFFFFFFFF
|
||||
|
@ -37,6 +37,7 @@
|
||||
#include "GPU/GLES/TransformPipeline.h"
|
||||
#include "GPU/GLES/TextureCache.h"
|
||||
|
||||
#include "Core/MIPS/MIPS.h"
|
||||
#include "Core/HLE/sceKernelThread.h"
|
||||
#include "Core/HLE/sceKernelInterrupt.h"
|
||||
#include "Core/HLE/sceGe.h"
|
||||
|
@ -25,6 +25,7 @@
|
||||
#include "Core/MemMap.h"
|
||||
#include "Core/HLE/sceKernelInterrupt.h"
|
||||
#include "Core/HLE/sceGe.h"
|
||||
#include "Core/MIPS/MIPS.h"
|
||||
#include "Core/Reporting.h"
|
||||
#include "gfx/gl_common.h"
|
||||
#include "gfx_es2/gl_state.h"
|
||||
|
@ -179,8 +179,8 @@ void CGEDebugger::UpdatePrimPreview(u32 op) {
|
||||
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
|
||||
glBlendEquation(GL_FUNC_ADD);
|
||||
glBindTexture(GL_TEXTURE_2D, 0);
|
||||
glViewport(x, y, fw, fh);
|
||||
glScissor(x, y, fw, fh);
|
||||
glViewport((GLint)x, (GLint)y, (GLsizei)fw, (GLsizei)fh);
|
||||
glScissor((GLint)x, (GLint)y, (GLsizei)fw, (GLsizei)fh);
|
||||
BindPreviewProgram(previewProgram);
|
||||
|
||||
float scale[] = {
|
||||
@ -209,8 +209,8 @@ void CGEDebugger::UpdatePrimPreview(u32 op) {
|
||||
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
|
||||
glBlendEquation(GL_FUNC_ADD);
|
||||
glBindTexture(GL_TEXTURE_2D, 0);
|
||||
glViewport(x, y, fw, fh);
|
||||
glScissor(x, y, fw, fh);
|
||||
glViewport((GLint)x, (GLint)y, (GLsizei)fw, (GLsizei)fh);
|
||||
glScissor((GLint)x, (GLint)y, (GLsizei)fw, (GLsizei)fh);
|
||||
BindPreviewProgram(texPreviewProgram);
|
||||
|
||||
// TODO: Probably there's a better way and place to do this.
|
||||
|
Loading…
Reference in New Issue
Block a user