mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2026-08-16 05:21:22 +00:00
Gpu: Mark areas as protected.
This commit is contained in:
committed by
FernandoS27
parent
8c8e96b87c
commit
095e6b1cd9
@@ -69,6 +69,7 @@ const DmaPusher& GPU::DmaPusher() const {
|
||||
|
||||
void GPU::IncrementSyncPoint(const u32 syncpoint_id) {
|
||||
syncpoints[syncpoint_id]++;
|
||||
sync_guard.lock();
|
||||
if (!events[syncpoint_id].empty()) {
|
||||
u32 value = syncpoints[syncpoint_id].load();
|
||||
auto it = events[syncpoint_id].begin();
|
||||
@@ -81,6 +82,7 @@ void GPU::IncrementSyncPoint(const u32 syncpoint_id) {
|
||||
it++;
|
||||
}
|
||||
}
|
||||
sync_guard.unlock();
|
||||
}
|
||||
|
||||
u32 GPU::GetSyncpointValue(const u32 syncpoint_id) const {
|
||||
|
||||
Reference in New Issue
Block a user