summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2014-07-23 05:26:28 +0200
committerbunnei <bunneidev@gmail.com>2014-08-06 05:58:00 +0200
commit4e9f305ed214ef0fbffd83042c86f41cd233ec3b (patch)
tree51787c34f01a244d28ee3b41bdbfc0b93c38bbff /src/video_core
parentGSP: Removed unnecessary GX_FinishCommand function. (diff)
downloadyuzu-4e9f305ed214ef0fbffd83042c86f41cd233ec3b.tar
yuzu-4e9f305ed214ef0fbffd83042c86f41cd233ec3b.tar.gz
yuzu-4e9f305ed214ef0fbffd83042c86f41cd233ec3b.tar.bz2
yuzu-4e9f305ed214ef0fbffd83042c86f41cd233ec3b.tar.lz
yuzu-4e9f305ed214ef0fbffd83042c86f41cd233ec3b.tar.xz
yuzu-4e9f305ed214ef0fbffd83042c86f41cd233ec3b.tar.zst
yuzu-4e9f305ed214ef0fbffd83042c86f41cd233ec3b.zip
Diffstat (limited to 'src/video_core')
-rw-r--r--src/video_core/gpu_debugger.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/video_core/gpu_debugger.h b/src/video_core/gpu_debugger.h
index d92ceaa72..5d85f90b9 100644
--- a/src/video_core/gpu_debugger.h
+++ b/src/video_core/gpu_debugger.h
@@ -49,7 +49,7 @@ public:
*/
virtual void GXCommandProcessed(int total_command_count)
{
- const GSP_GPU::GXCommand& cmd = observed->ReadGXCommandHistory(total_command_count-1);
+ const GSP_GPU::Command& cmd = observed->ReadGXCommandHistory(total_command_count-1);
ERROR_LOG(GSP, "Received command: id=%x", (int)cmd.id.Value());
}
@@ -81,10 +81,10 @@ public:
if (observers.empty())
return;
- gx_command_history.push_back(GSP_GPU::GXCommand());
- GSP_GPU::GXCommand& cmd = gx_command_history[gx_command_history.size()-1];
+ gx_command_history.push_back(GSP_GPU::Command());
+ GSP_GPU::Command& cmd = gx_command_history[gx_command_history.size()-1];
- memcpy(&cmd, command_data, sizeof(GSP_GPU::GXCommand));
+ memcpy(&cmd, command_data, sizeof(GSP_GPU::Command));
ForEachObserver([this](DebuggerObserver* observer) {
observer->GXCommandProcessed(this->gx_command_history.size());
@@ -123,7 +123,7 @@ public:
} );
}
- const GSP_GPU::GXCommand& ReadGXCommandHistory(int index) const
+ const GSP_GPU::Command& ReadGXCommandHistory(int index) const
{
// TODO: Is this thread-safe?
return gx_command_history[index];
@@ -155,7 +155,7 @@ private:
std::vector<DebuggerObserver*> observers;
- std::vector<GSP_GPU::GXCommand> gx_command_history;
+ std::vector<GSP_GPU::Command> gx_command_history;
// vector of pairs of command lists and their storage address
std::vector<std::pair<u32,PicaCommandList>> command_lists;