mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2024-12-23 01:35:30 +00:00
target/mips: Add missing 'break' for certain cases of MTTR handling
This was found by GCC 8.3 static analysis. Fixes: ead9360e2fb Backports commit 0d0304f2c4967c892a3216638fc4cb078afa2b44 from qemu
This commit is contained in:
parent
720aff63da
commit
572c95e709
|
@ -10116,6 +10116,7 @@ static void gen_mttr(CPUMIPSState *env, DisasContext *ctx, int rd, int rt,
|
|||
gen_mtc0(ctx, t0, rd, sel);
|
||||
break;
|
||||
}
|
||||
break;
|
||||
case 12:
|
||||
switch (sel) {
|
||||
case 0:
|
||||
|
@ -10125,6 +10126,7 @@ static void gen_mttr(CPUMIPSState *env, DisasContext *ctx, int rd, int rt,
|
|||
gen_mtc0(ctx, t0, rd, sel);
|
||||
break;
|
||||
}
|
||||
break;
|
||||
case 13:
|
||||
switch (sel) {
|
||||
case 0:
|
||||
|
|
Loading…
Reference in a new issue