diff options
Diffstat (limited to 'src/shader_recompiler/frontend/maxwell/control_flow.cpp')
| -rw-r--r-- | src/shader_recompiler/frontend/maxwell/control_flow.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shader_recompiler/frontend/maxwell/control_flow.cpp b/src/shader_recompiler/frontend/maxwell/control_flow.cpp index cb8ec7eaa..9811183f1 100644 --- a/src/shader_recompiler/frontend/maxwell/control_flow.cpp +++ b/src/shader_recompiler/frontend/maxwell/control_flow.cpp | |||
| @@ -44,7 +44,7 @@ void Split(Block* old_block, Block* new_block, Location pc) { | |||
| 44 | *new_block = Block{}; | 44 | *new_block = Block{}; |
| 45 | new_block->begin = pc; | 45 | new_block->begin = pc; |
| 46 | new_block->end = old_block->end; | 46 | new_block->end = old_block->end; |
| 47 | new_block->end_class = old_block->end_class, | 47 | new_block->end_class = old_block->end_class; |
| 48 | new_block->cond = old_block->cond; | 48 | new_block->cond = old_block->cond; |
| 49 | new_block->stack = old_block->stack; | 49 | new_block->stack = old_block->stack; |
| 50 | new_block->branch_true = old_block->branch_true; | 50 | new_block->branch_true = old_block->branch_true; |
| @@ -428,7 +428,7 @@ CFG::AnalysisState CFG::AnalyzeBRX(Block* block, Location pc, Instruction inst, | |||
| 428 | if (!is_absolute) { | 428 | if (!is_absolute) { |
| 429 | target += pc.Offset(); | 429 | target += pc.Offset(); |
| 430 | } | 430 | } |
| 431 | target += static_cast<unsigned int>(brx_table->branch_offset); | 431 | target += static_cast<u32>(brx_table->branch_offset); |
| 432 | target += 8; | 432 | target += 8; |
| 433 | targets.push_back(target); | 433 | targets.push_back(target); |
| 434 | } | 434 | } |