From e1ec6390e831013d416ad4a6430c44680551a03e Mon Sep 17 00:00:00 2001 From: Myk Taylor Date: Fri, 20 Dec 2024 14:25:00 -0800 Subject: [PATCH] Revert "add suspend guards in Textures module interposes" This reverts commit d16b857179aaaf23c88148e9896283fd01ac4da2. --- library/modules/Textures.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/library/modules/Textures.cpp b/library/modules/Textures.cpp index 495f502e82..8b485a3a62 100644 --- a/library/modules/Textures.cpp +++ b/library/modules/Textures.cpp @@ -322,7 +322,6 @@ struct tracking_stage_new_region : df::viewscreen_new_regionst { DEFINE_VMETHOD_INTERPOSE(void, logic, ()) { if (this->m_raw_load_stage != this->raw_load_stage) { - CoreSuspender guard; TRACE(textures).print("raw_load_stage %d -> %d\n", this->m_raw_load_stage, this->raw_load_stage); bool tmp_state = loading_state; @@ -347,7 +346,6 @@ struct tracking_stage_adopt_region : df::viewscreen_adopt_regionst { DEFINE_VMETHOD_INTERPOSE(void, logic, ()) { if (this->m_cur_step != this->cur_step) { - CoreSuspender guard; TRACE(textures).print("step %d -> %d\n", this->m_cur_step, this->cur_step); bool tmp_state = loading_state; loading_state = this->cur_step >= 0 && this->cur_step < 3 ? true : false; @@ -371,7 +369,6 @@ struct tracking_stage_load_region : df::viewscreen_loadgamest { DEFINE_VMETHOD_INTERPOSE(void, logic, ()) { if (this->m_cur_step != this->cur_step) { - CoreSuspender guard; TRACE(textures).print("step %d -> %d\n", this->m_cur_step, this->cur_step); bool tmp_state = loading_state; loading_state = this->cur_step >= 0 && this->cur_step < 3 ? true : false; @@ -395,7 +392,6 @@ struct tracking_stage_new_arena : df::viewscreen_new_arenast { DEFINE_VMETHOD_INTERPOSE(void, logic, ()) { if (this->m_cur_step != this->cur_step) { - CoreSuspender guard; TRACE(textures).print("step %d -> %d\n", this->m_cur_step, this->cur_step); bool tmp_state = loading_state; loading_state = this->cur_step >= 0 && this->cur_step < 3 ? true : false;