Fixed warning about mixing signed and unsigned.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@621 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
4797d01920
commit
7199c04c0c
|
@ -140,7 +140,7 @@ inline u32 GetCRField(int cr_field) {
|
||||||
return (PowerPC::ppcState.cr >> (4 * cr_field)) & 0xF;
|
return (PowerPC::ppcState.cr >> (4 * cr_field)) & 0xF;
|
||||||
}
|
}
|
||||||
|
|
||||||
inline int GetCRBit(int bit) {
|
inline u32 GetCRBit(int bit) {
|
||||||
return (CR >> (31 - bit)) & 1;
|
return (CR >> (31 - bit)) & 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue