diff options
| author | iwubcode <iwubcode@users.noreply.github.com> | 2017-11-01 23:07:24 -0500 |
|---|---|---|
| committer | iwubcode <iwubcode@users.noreply.github.com> | 2017-11-17 22:11:34 -0600 |
| commit | 8d1cbeb25e538efffc1053f1385ff39695e36404 (patch) | |
| tree | 58d49873145df7f324b6c49f08fa802e8bfb680e /Source/Core/VideoCommon/TextureCacheBase.cpp | |
| parent | 61541ab243552c755004e069ef392e68741966c8 (diff) | |
Hybrid XFB: Fix lint errors
Diffstat (limited to 'Source/Core/VideoCommon/TextureCacheBase.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/TextureCacheBase.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/Source/Core/VideoCommon/TextureCacheBase.cpp b/Source/Core/VideoCommon/TextureCacheBase.cpp index ee43fba30f..042dbd4e8a 100644 --- a/Source/Core/VideoCommon/TextureCacheBase.cpp +++ b/Source/Core/VideoCommon/TextureCacheBase.cpp @@ -986,12 +986,14 @@ TextureCacheBase::GetTexture(u32 address, u32 width, u32 height, const TextureFo dst_buffer = temp; if (!(texformat == TextureFormat::RGBA8 && from_tmem)) { - TexDecoder_Decode(dst_buffer, src_data, expandedWidth, expandedHeight, texformat, tlut, tlutfmt); + TexDecoder_Decode(dst_buffer, src_data, expandedWidth, expandedHeight, texformat, tlut, + tlutfmt); } else { u8* src_data_gb = &texMem[tmem_address_odd]; - TexDecoder_DecodeRGBA8FromTmem(dst_buffer, src_data, src_data_gb, expandedWidth, expandedHeight); + TexDecoder_DecodeRGBA8FromTmem(dst_buffer, src_data, src_data_gb, expandedWidth, + expandedHeight); } entry->texture->Load(0, width, height, expandedWidth, dst_buffer, decoded_texture_size); @@ -1148,8 +1150,7 @@ TextureCacheBase::GetXFBTexture(u32 address, u32 width, u32 height, TextureForma const std::string xfb_type = loaded_from_overlapping ? "combined" : "from_memory"; entry->texture->Save(StringFromFormat("%sxfb_%s_%i.png", File::GetUserPath(D_DUMPTEXTURES_IDX).c_str(), - xfb_type.c_str(), - xfb_count++), + xfb_type.c_str(), xfb_count++), 0); } |
