mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-08 07:51:28 +12:00
Clean vm::ps3 namespace use
This commit is contained in:
parent
76be7d40ac
commit
cce0ad0c35
176 changed files with 693 additions and 698 deletions
|
@ -147,7 +147,7 @@ std::vector<rsx_subresource_layout> get_subresources_layout_impl(const RsxTextur
|
|||
int format = texture.format() & ~(CELL_GCM_TEXTURE_LN | CELL_GCM_TEXTURE_UN);
|
||||
|
||||
const u32 texaddr = rsx::get_address(texture.offset(), texture.location());
|
||||
auto pixels = reinterpret_cast<const gsl::byte*>(vm::ps3::_ptr<const u8>(texaddr));
|
||||
auto pixels = reinterpret_cast<const gsl::byte*>(vm::_ptr<const u8>(texaddr));
|
||||
bool is_swizzled = !(texture.format() & CELL_GCM_TEXTURE_LN);
|
||||
switch (format)
|
||||
{
|
||||
|
@ -209,7 +209,7 @@ void upload_texture_subresource(gsl::span<gsl::byte> dst_buffer, const rsx_subre
|
|||
// Ignore when texture width > pitch
|
||||
if (w > pitch)
|
||||
return;
|
||||
|
||||
|
||||
switch (format)
|
||||
{
|
||||
case CELL_GCM_TEXTURE_B8:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue