mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-09 08:21:18 +12:00
Logging: Add TextureReadback logtype and clean up code
This commit is contained in:
parent
9bbfd33842
commit
387b712959
10 changed files with 112 additions and 96 deletions
|
@ -746,6 +746,8 @@ void LatteTextureLoader_writeReadbackTextureToMemory(LatteTextureDefinition* tex
|
|||
return;
|
||||
}
|
||||
|
||||
cemuLog_log(LogType::TextureReadback, "[WriteReadbackTex] PhysAddr {:08x} Res {}x{} Fmt {} Slice {} Mip {}", textureData->physAddress, textureData->width, textureData->height, textureData->format, sliceIndex, mipIndex);
|
||||
|
||||
if (textureData->tileMode == Latte::E_HWTILEMODE::TM_LINEAR_ALIGNED)
|
||||
{
|
||||
uint32 pitch = textureLoader.width;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue