fixed indentation

This commit is contained in:
purpasmart96 2014-09-21 15:03:36 -07:00
parent 579298862e
commit 80d032c045

View File

@ -463,24 +463,25 @@ void ExecuteCommand(const Command& command, u32 thread_id) {
} }
} }
/// This triggers handling of the GX command written to the command buffer in shared memory. /// This triggers handling of the GX command written to the command buffer in shared memory.
void TriggerCmdReqQueue(Service::Interface* self) { void TriggerCmdReqQueue(Service::Interface* self) {
// Iterate through each thread's command queue... // Iterate through each thread's command queue...
for (unsigned thread_id = 0; thread_id < 0x4; ++thread_id) { for (unsigned thread_id = 0; thread_id < 0x4; ++thread_id) {
CommandBuffer* command_buffer = (CommandBuffer*)GetCommandBuffer(thread_id); CommandBuffer* command_buffer = (CommandBuffer*)GetCommandBuffer(thread_id);
// Iterate through each command... // Iterate through each command...
for (unsigned i = 0; i < command_buffer->number_commands; ++i) { for (unsigned i = 0; i < command_buffer->number_commands; ++i) {
g_debugger.GXCommandProcessed((u8*)&command_buffer->commands[i]); g_debugger.GXCommandProcessed((u8*)&command_buffer->commands[i]);
// Decode and execute command // Decode and execute command
ExecuteCommand(command_buffer->commands[i], thread_id); ExecuteCommand(command_buffer->commands[i], thread_id);
// Indicates that command has completed // Indicates that command has completed
command_buffer->number_commands = command_buffer->number_commands - 1; command_buffer->number_commands = command_buffer->number_commands - 1;
} }
} }
} }
const Interface::FunctionInfo FunctionTable[] = { const Interface::FunctionInfo FunctionTable[] = {