Skip to content

Commit

Permalink
More repair
Browse files Browse the repository at this point in the history
  • Loading branch information
robojumper committed Oct 29, 2024
1 parent 977f968 commit a705388
Showing 1 changed file with 12 additions and 16 deletions.
28 changes: 12 additions & 16 deletions src/d/d_tag_processor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -260,10 +260,9 @@ void dTagProcessor_c::eventFlowTextProcessingRelated(
bool bVar3 = false;
switch (cmd) {
case 0x10000: {
if (((char *)endPtr)[0] == 0) {
state2 = 0;
} else if (((char *)endPtr)[0] == 1) {
state1 = 0;
switch (((char *)endPtr)[0]) {
case 0: state2 = 0; break;
case 1: state1 = 0; break;
}
field_0x90F[2] = ((char *)endPtr)[1];
StackThing tmp = y;
Expand All @@ -279,30 +278,27 @@ void dTagProcessor_c::eventFlowTextProcessingRelated(
state3 = 1;
} break;
case 0x10001:
if (((char *)endPtr)[0] == 0) {
state2 = 1;
} else if (((char *)endPtr)[0] == 1) {
state1 = 1;
switch (((char *)endPtr)[0]) {
case 0: state2 = 1; break;
case 1: state1 = 1; break;
}
field_0x90F[1] = ((char *)endPtr)[1];
state3 = 2;
bVar3 = true;
break;
case 0x10002:
if (((char *)endPtr)[0] == 0) {
state2 = 2;
} else if (((char *)endPtr)[0] == 1) {
state1 = 2;
switch (((char *)endPtr)[0]) {
case 0: state2 = 2; break;
case 1: state1 = 2; break;
}
field_0x90F[2] = ((char *)endPtr)[1];
state3 = 3;
bVar3 = true;
break;
case 0x10003:
if (((char *)endPtr)[0] == 0) {
state2 = 3;
} else if (((char *)endPtr)[0] == 1) {
state1 = 3;
switch (((char *)endPtr)[0]) {
case 0: state2 = 3; break;
case 1: state1 = 3; break;
}
field_0x90F[3] = ((char *)endPtr)[1];
state3 = 4;
Expand Down

0 comments on commit a705388

Please sign in to comment.