mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2024-11-26 04:15:40 +01:00
Merge pull request #4697 from lioncash/copy5
ips_layer: Eliminate a redundant copy in Parse()
This commit is contained in:
commit
c07fd2898b
@ -245,9 +245,11 @@ void IPSwitchCompiler::Parse() {
|
||||
|
||||
// Read rest of patch
|
||||
while (true) {
|
||||
if (i + 1 >= lines.size())
|
||||
if (i + 1 >= lines.size()) {
|
||||
break;
|
||||
const auto patch_line = lines[++i];
|
||||
}
|
||||
|
||||
const auto& patch_line = lines[++i];
|
||||
|
||||
// Start of new patch
|
||||
if (StartsWith(patch_line, "@enabled") || StartsWith(patch_line, "@disabled")) {
|
||||
|
Loading…
Reference in New Issue
Block a user