mirror of
https://github.com/starr-dusT/yuzu-mainline
synced 2024-03-05 21:12:25 -08:00
We only need to alert for memory pool changes
This commit is contained in:
parent
6642011706
commit
8bd8d1e3da
@ -87,8 +87,6 @@ private:
|
|||||||
memory_pool[i].state = MemoryPoolStates::Attached;
|
memory_pool[i].state = MemoryPoolStates::Attached;
|
||||||
else if (mem_pool_info[i].pool_state == MemoryPoolStates::RequestDetach)
|
else if (mem_pool_info[i].pool_state == MemoryPoolStates::RequestDetach)
|
||||||
memory_pool[i].state = MemoryPoolStates::Detached;
|
memory_pool[i].state = MemoryPoolStates::Detached;
|
||||||
else
|
|
||||||
memory_pool[i].state = mem_pool_info[i].pool_state;
|
|
||||||
}
|
}
|
||||||
std::memcpy(output.data() + sizeof(UpdateDataHeader), memory_pool.data(),
|
std::memcpy(output.data() + sizeof(UpdateDataHeader), memory_pool.data(),
|
||||||
response_data.memory_pools_size);
|
response_data.memory_pools_size);
|
||||||
|
Loading…
Reference in New Issue
Block a user