mirror of
https://git.suyu.dev/suyu/suyu
synced 2025-01-28 18:46:55 -06:00
video_core/ast: Unindent most of IsFullyDecompiled() by one level
This commit is contained in:
parent
6c41d1cd7e
commit
d82b181d44
@ -340,8 +340,9 @@ public:
|
||||
|
||||
bool IsFullyDecompiled() const {
|
||||
if (full_decompile) {
|
||||
return gotos.size() == 0;
|
||||
} else {
|
||||
return gotos.empty();
|
||||
}
|
||||
|
||||
for (ASTNode goto_node : gotos) {
|
||||
auto label_index = goto_node->GetGotoLabel();
|
||||
if (!label_index) {
|
||||
@ -354,7 +355,6 @@ public:
|
||||
}
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
ASTNode GetProgram() const {
|
||||
return main_node;
|
||||
|
Loading…
x
Reference in New Issue
Block a user