fix path choices
Signed-off-by: lizzie <lizzie@eden-emu.dev>
This commit is contained in:
parent
21322994d9
commit
632b0be2a9
1 changed files with 4 additions and 2 deletions
|
|
@ -36,7 +36,8 @@ constexpr auto Rscratch0() {
|
||||||
} else if constexpr (bitsize == 64) {
|
} else if constexpr (bitsize == 64) {
|
||||||
return Xscratch0;
|
return Xscratch0;
|
||||||
} else {
|
} else {
|
||||||
static_assert(false);
|
// TODO: This codepath is regarded as "takeable" on gcc12
|
||||||
|
return Xscratch0; //static_assert(false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -47,7 +48,8 @@ constexpr auto Rscratch1() {
|
||||||
} else if constexpr (bitsize == 64) {
|
} else if constexpr (bitsize == 64) {
|
||||||
return Xscratch1;
|
return Xscratch1;
|
||||||
} else {
|
} else {
|
||||||
static_assert(false);
|
// TODO: This codepath is regarded as "takeable" on gcc12
|
||||||
|
return Xscratch1; //static_assert(false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue