Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Make Bochs_disasm not depend on Common.
  • Loading branch information
jordan-woyak committed Sep 12, 2013
1 parent 4406632 commit 0fc1ca0
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions Externals/Bochs_disasm/PowerPCDisasm.cpp
Expand Up @@ -39,11 +39,6 @@

#include "PowerPCDisasm.h"

#ifndef _MSC_VER
// Pull in rotate functions for non-msvc
#include "Common.h"
#endif

namespace PPCDisasm
{

Expand Down Expand Up @@ -580,7 +575,8 @@ typedef unsigned int ppc_word;
if (me < mb)
mask = ~mask;
//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);
}


Expand Down

0 comments on commit 0fc1ca0

Please sign in to comment.