Skip to content

Commit

Permalink
Revert "add suspend guards in Textures module interposes"
Browse files Browse the repository at this point in the history
This reverts commit d16b857.
  • Loading branch information
myk002 committed Dec 20, 2024
1 parent 723de97 commit e1ec639
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions library/modules/Textures.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;
Expand All @@ -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;
Expand All @@ -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;
Expand Down

0 comments on commit e1ec639

Please sign in to comment.