mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-08-04 16:32:39 +00:00
devtools: fix not showing entire user data
This commit is contained in:
parent
35b397eae7
commit
be930aa055
@ -85,7 +85,7 @@ void RegView::ProcessShader(int shader_id) {
|
|||||||
MemoryEditor hex_view;
|
MemoryEditor hex_view;
|
||||||
hex_view.Open = true;
|
hex_view.Open = true;
|
||||||
hex_view.ReadOnly = true;
|
hex_view.ReadOnly = true;
|
||||||
hex_view.Cols = 8;
|
hex_view.Cols = 16;
|
||||||
hex_view.OptShowAscii = false;
|
hex_view.OptShowAscii = false;
|
||||||
hex_view.OptShowOptions = false;
|
hex_view.OptShowOptions = false;
|
||||||
|
|
||||||
@ -376,7 +376,9 @@ void RegView::Draw() {
|
|||||||
if (!shader) {
|
if (!shader) {
|
||||||
Text("Stage not selected");
|
Text("Stage not selected");
|
||||||
} else {
|
} else {
|
||||||
shader->hex_view.DrawContents(shader->user_data.data(), shader->user_data.size());
|
shader->hex_view.DrawContents(shader->user_data.data(),
|
||||||
|
shader->user_data.size() *
|
||||||
|
sizeof(Vulkan::Liverpool::UserData::value_type));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
End();
|
End();
|
||||||
|
Loading…
Reference in New Issue
Block a user