diff options
author | Mathew Maidment <mathew1800@gmail.com> | 2016-01-17 21:59:21 +0100 |
---|---|---|
committer | Mathew Maidment <mathew1800@gmail.com> | 2016-01-17 21:59:21 +0100 |
commit | 2c663fbc3e59444c8f2bf2c111630a713aca8e2c (patch) | |
tree | c1a782ceac94df63e8a901a67c38379baf70b142 /src | |
parent | Update README.md (diff) | |
parent | command_processor: Get rid of variable shadowing (diff) | |
download | yuzu-2c663fbc3e59444c8f2bf2c111630a713aca8e2c.tar yuzu-2c663fbc3e59444c8f2bf2c111630a713aca8e2c.tar.gz yuzu-2c663fbc3e59444c8f2bf2c111630a713aca8e2c.tar.bz2 yuzu-2c663fbc3e59444c8f2bf2c111630a713aca8e2c.tar.lz yuzu-2c663fbc3e59444c8f2bf2c111630a713aca8e2c.tar.xz yuzu-2c663fbc3e59444c8f2bf2c111630a713aca8e2c.tar.zst yuzu-2c663fbc3e59444c8f2bf2c111630a713aca8e2c.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/video_core/command_processor.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/video_core/command_processor.cpp b/src/video_core/command_processor.cpp index 35b976c60..59c75042c 100644 --- a/src/video_core/command_processor.cpp +++ b/src/video_core/command_processor.cpp @@ -486,9 +486,8 @@ void ProcessCommandList(const u32* list, u32 size) { u32 value = *g_state.cmd_list.current_ptr++; const CommandHeader header = { *g_state.cmd_list.current_ptr++ }; - u32 cmd = header.cmd_id; - WritePicaReg(cmd, value, header.parameter_mask); + WritePicaReg(header.cmd_id, value, header.parameter_mask); for (unsigned i = 0; i < header.extra_data_length; ++i) { u32 cmd = header.cmd_id + (header.group_commands ? i + 1 : 0); |