fix typo in texture decoder

This commit is contained in:
Samuliak 2024-12-22 10:15:13 +01:00
parent 967a74024a
commit 55d9436bf3
No known key found for this signature in database
2 changed files with 2 additions and 1 deletions

View file

@ -679,7 +679,7 @@ public:
}
};
class TextureDecoder_R4G4_UNORM_To_RG8 : public TextureDecoder, public SingletonClass<TextureDecoder_R4G4_UNORM_To_RGBA8>
class TextureDecoder_R4G4_UNORM_To_RG8 : public TextureDecoder, public SingletonClass<TextureDecoder_R4G4_UNORM_To_RG8>
{
public:
sint32 getBytesPerTexel(LatteTextureLoaderCtx* textureLoader) override

View file

@ -2481,6 +2481,7 @@ static void _emitTEXSampleTextureCode(LatteDecompilerShaderContext* shaderContex
cemu_assert_unimplemented();
}
}
// offset
if( texOpcode == GPU7_TEX_INST_SAMPLE_L || texOpcode == GPU7_TEX_INST_SAMPLE_LZ || texOpcode == GPU7_TEX_INST_SAMPLE_C_LZ || texOpcode == GPU7_TEX_INST_SAMPLE || texOpcode == GPU7_TEX_INST_SAMPLE_C )
{