MetalDevice: Fix import of non-page-aligned buffers

This commit is contained in:
Stenzek 2024-11-10 14:01:54 +10:00
parent e3e0fe6445
commit 2bf0838634
No known key found for this signature in database

View File

@ -1290,6 +1290,7 @@ std::unique_ptr<MetalDownloadTexture> MetalDownloadTexture::Create(u32 width, u3
}
map_ptr = static_cast<u8*>(memory);
memory_offset = page_offset;
}
return std::unique_ptr<MetalDownloadTexture>(new MetalDownloadTexture(