mirror of
https://github.com/jakcron/nstool
synced 2024-12-24 21:51:14 +00:00
Fix bug in BitMath.h
This commit is contained in:
parent
1d934bf0a7
commit
08de2c4abc
3 changed files with 9 additions and 1 deletions
|
@ -120,7 +120,9 @@
|
|||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="include\fnd\BitMath.h" />
|
||||
<ClInclude Include="include\fnd\elf.h" />
|
||||
<ClInclude Include="include\fnd\Endian.h" />
|
||||
<ClInclude Include="include\fnd\Exception.h" />
|
||||
<ClInclude Include="include\fnd\io.h" />
|
||||
<ClInclude Include="include\fnd\ISerialiseableBinary.h" />
|
||||
|
|
|
@ -39,6 +39,12 @@
|
|||
<ClInclude Include="include\fnd\types.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="include\fnd\BitMath.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="include\fnd\Endian.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="source\Exception.cpp">
|
||||
|
|
|
@ -11,4 +11,4 @@ This is a 0x40 byte header to prepend to raw EXEFS .code binaries that provide e
|
|||
|
||||
// Bit math macros
|
||||
#define _BIT(n) BIT(n)
|
||||
#define _HAS_BIT(val, bit) ((val) & _BIT(bit) != 0)
|
||||
#define _HAS_BIT(val, bit) (((val) & _BIT(bit)) != 0)
|
||||
|
|
Loading…
Reference in a new issue