rsx: make some functions const

This commit is contained in:
Megamouse 2024-06-10 23:05:14 +02:00
parent 1c7850de17
commit 461862be46
8 changed files with 19 additions and 20 deletions

View file

@ -42,7 +42,7 @@ namespace rsx
std::memcpy(static_cast<u8*>(dst) + mem_offset, reinterpret_cast<const u8*>(src) + mem_offset, mem_size);
}
void fragment_program_texture_config::write_to(void* dst, u16 mask)
void fragment_program_texture_config::write_to(void* dst, u16 mask) const
{
masked_transfer(dst, slots_, mask);
}