Increase accuracy of memory operations on High a bit more
All checks were successful
eden-license / license-header (pull_request) Successful in 22s

This commit is contained in:
MaranBr 2025-08-19 08:33:03 -04:00
parent 5358d6c93f
commit f13c6e8b59

View file

@ -100,15 +100,10 @@ bool DmaPusher::Step() {
ProcessCommands(headers);
};
if (Settings::IsGPULevelHigh()) {
if (dma_state.method >= MacroRegistersStart) {
unsafe_process();
} else {
safe_process();
}
} else {
unsafe_process();
}
if (dma_pushbuffer_subindex >= command_list.command_lists.size()) {
// We've gone through the current list, remove it from the queue
dma_pushbuffer.pop();
@ -116,7 +111,6 @@ bool DmaPusher::Step() {
} else if (command_list.command_lists[dma_pushbuffer_subindex].sync && Settings::values.sync_memory_operations.GetValue()) {
signal_sync = true;
}
if (signal_sync) {
rasterizer->SignalFence([this]() {
std::scoped_lock lk(sync_mutex);