mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-07-27 04:25:12 +00:00
fix mutex
This commit is contained in:
parent
beb0df9b72
commit
0afb2a7e22
@ -16,10 +16,6 @@ namespace Core::Devtools::Widget {
|
|||||||
std::filesystem::path ModuleList::game_folder;
|
std::filesystem::path ModuleList::game_folder;
|
||||||
|
|
||||||
void ModuleList::Draw() {
|
void ModuleList::Draw() {
|
||||||
{
|
|
||||||
std::scoped_lock lock(modules_mutex);
|
|
||||||
}
|
|
||||||
|
|
||||||
SetNextWindowSize({550.0f, 600.0f}, ImGuiCond_FirstUseEver);
|
SetNextWindowSize({550.0f, 600.0f}, ImGuiCond_FirstUseEver);
|
||||||
if (!Begin("Module List", &open)) {
|
if (!Begin("Module List", &open)) {
|
||||||
End();
|
End();
|
||||||
@ -32,6 +28,7 @@ void ModuleList::Draw() {
|
|||||||
TableSetupColumn("Modulname", ImGuiTableColumnFlags_WidthStretch);
|
TableSetupColumn("Modulname", ImGuiTableColumnFlags_WidthStretch);
|
||||||
TableHeadersRow();
|
TableHeadersRow();
|
||||||
|
|
||||||
|
std::scoped_lock lock(modules_mutex);
|
||||||
for (const auto& module : modules) {
|
for (const auto& module : modules) {
|
||||||
TableNextRow();
|
TableNextRow();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user