mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-06 06:55:09 +00:00
Aarch64 fixes for RSX
This commit is contained in:
parent
fcd297ffb2
commit
5cafaef0a9
3 changed files with 25 additions and 17 deletions
|
|
@ -5,6 +5,8 @@
|
|||
|
||||
namespace rsx
|
||||
{
|
||||
constexpr u32 min_lockable_data_size = 4096; // Increasing this value has worse results even on systems with pages > 4k
|
||||
|
||||
void buffered_section::init_lockable_range(const address_range& range)
|
||||
{
|
||||
locked_range = range.to_page_range();
|
||||
|
|
@ -27,7 +29,7 @@ namespace rsx
|
|||
|
||||
init_lockable_range(cpu_range);
|
||||
|
||||
if (memory_range.length() < 4096)
|
||||
if (memory_range.length() < min_lockable_data_size)
|
||||
{
|
||||
protection_strat = section_protection_strategy::hash;
|
||||
mem_hash = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue