mirror of
https://github.com/dingusdev/dingusppc.git
synced 2025-01-10 13:29:38 +00:00
poweropcodes: fix compiler warning.
This commit is contained in:
parent
45ccabb11d
commit
0c3f399de3
@ -79,7 +79,7 @@ void dppc_interpreter::power_clcs() {
|
|||||||
void dppc_interpreter::power_div() {
|
void dppc_interpreter::power_div() {
|
||||||
ppc_grab_regsdab();
|
ppc_grab_regsdab();
|
||||||
|
|
||||||
uint64_t dividend = (uint64_t(ppc_result_a << 32)) | ppc_state.spr[SPR::MQ];
|
uint64_t dividend = ((uint64_t)ppc_result_a << 32) | ppc_state.spr[SPR::MQ];
|
||||||
int32_t divisor = ppc_result_b;
|
int32_t divisor = ppc_result_b;
|
||||||
|
|
||||||
if ((ppc_result_a == 0x80000000UL && divisor == -1) || !divisor) {
|
if ((ppc_result_a == 0x80000000UL && divisor == -1) || !divisor) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user