mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-09 15:49:25 +01:00
Make Bochs_disasm not depend on Common.
This commit is contained in:
parent
44066326ff
commit
0fc1ca0169
8
Externals/Bochs_disasm/PowerPCDisasm.cpp
vendored
8
Externals/Bochs_disasm/PowerPCDisasm.cpp
vendored
@ -39,11 +39,6 @@
|
|||||||
|
|
||||||
#include "PowerPCDisasm.h"
|
#include "PowerPCDisasm.h"
|
||||||
|
|
||||||
#ifndef _MSC_VER
|
|
||||||
// Pull in rotate functions for non-msvc
|
|
||||||
#include "Common.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
namespace PPCDisasm
|
namespace PPCDisasm
|
||||||
{
|
{
|
||||||
|
|
||||||
@ -580,7 +575,8 @@ typedef unsigned int ppc_word;
|
|||||||
if (me < mb)
|
if (me < mb)
|
||||||
mask = ~mask;
|
mask = ~mask;
|
||||||
//rotate the mask so it can be applied to source reg
|
//rotate the mask so it can be applied to source reg
|
||||||
return _rotl(mask, 32 - r);
|
//return _rotl(mask, 32 - r);
|
||||||
|
return (mask << (32 - r)) | (mask >> r);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user