mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Cleanup excess redefines and maybe fixed result in HLE sceIo::sceIoGetDevType()
This commit is contained in:
parent
83bd9fd665
commit
0f94ac9189
4 changed files with 2 additions and 4 deletions
|
@ -68,7 +68,6 @@ void ShaderLanguageDesc::Init(ShaderLanguage lang) {
|
|||
gles = true;
|
||||
forceMatrix4x4 = true;
|
||||
glslES30 = true;
|
||||
texelFetch = "texelFetch";
|
||||
break;
|
||||
case GLSL_VULKAN:
|
||||
fragColor0 = "fragColor0";
|
||||
|
|
|
@ -1325,7 +1325,8 @@ static u32 sceIoGetDevType(int id) {
|
|||
WARN_LOG(SCEIO, "sceIoGetDevType(%d - %s)", id, f->fullpath.c_str());
|
||||
if (f->isTTY)
|
||||
result = (u32)PSPDevType::FILE;
|
||||
result = (u32)pspFileSystem.DevType(f->handle) & (u32)PSPDevType::EMU_MASK;
|
||||
else
|
||||
result = (u32)pspFileSystem.DevType(f->handle) & (u32)PSPDevType::EMU_MASK;
|
||||
} else {
|
||||
ERROR_LOG(SCEIO, "sceIoGetDevType: unknown id %d", id);
|
||||
result = SCE_KERNEL_ERROR_BADF;
|
||||
|
|
|
@ -58,7 +58,6 @@ GPU_GLES::GPU_GLES(GraphicsContext *gfxCtx, Draw::DrawContext *draw)
|
|||
textureCache_ = textureCacheGL_;
|
||||
drawEngineCommon_ = &drawEngine_;
|
||||
shaderManager_ = shaderManagerGL_;
|
||||
drawEngineCommon_ = &drawEngine_;
|
||||
|
||||
drawEngine_.SetShaderManager(shaderManagerGL_);
|
||||
drawEngine_.SetTextureCache(textureCacheGL_);
|
||||
|
|
|
@ -338,7 +338,6 @@ void SavedataButton::Draw(UIContext &dc) {
|
|||
}
|
||||
|
||||
int txOffset = down_ ? 4 : 0;
|
||||
txOffset = 0;
|
||||
|
||||
Bounds overlayBounds = bounds_;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue