GSP_GPU: Do not always debug GXCommandProcessed on TriggerCmdReqQueue

This commit is contained in:
Gamer64 2024-08-17 14:42:13 +02:00
parent 0cdab21c4e
commit dc332ebe6c
2 changed files with 3 additions and 2 deletions

View File

@ -433,7 +433,9 @@ void GSP_GPU::TriggerCmdReqQueue(Kernel::HLERequestContext& ctx) {
command_buffer->number_commands.Assign(command_buffer->number_commands - 1);
command_buffer->index.Assign((command_buffer->index + 1) % 0xF);
gpu.Debugger().GXCommandProcessed(command);
if (Settings::values.renderer_debug) {
gpu.Debugger().GXCommandProcessed(command);
}
// Decode and execute command
gpu.Execute(command);

View File

@ -7,7 +7,6 @@
#include "core/core.h"
#include "core/frontend/emu_window.h"
#include "core/tracer/recorder.h"
#include "video_core/debug_utils/debug_utils.h"
#include "video_core/renderer_base.h"
namespace VideoCore {