mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 22:29:39 -06:00
Some warning and code cleanup.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1998 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -406,7 +406,7 @@ int GetVal(const char *flt, char chr)
|
||||
{
|
||||
int ret;
|
||||
|
||||
ret = (strchr(flt,chr) - flt);
|
||||
ret = (int)(strchr(flt,chr) - flt);
|
||||
switch (ret)
|
||||
{
|
||||
case 32: // 'I'
|
||||
|
@ -655,7 +655,7 @@
|
||||
int s = inst.RS;
|
||||
if (gpr.R(s).IsImm() && !inst.Rc)
|
||||
{
|
||||
unsigned result = gpr.R(s).offset;
|
||||
unsigned result = (int)gpr.R(s).offset;
|
||||
if (inst.SH != 0)
|
||||
result = _rotl(result, inst.SH);
|
||||
result &= Helper_Mask(inst.MB, inst.ME);
|
||||
|
Reference in New Issue
Block a user