mirror of
https://github.com/jakcron/nstool
synced 2024-11-22 21:49:30 +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>
|
</Link>
|
||||||
</ItemDefinitionGroup>
|
</ItemDefinitionGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
<ClInclude Include="include\fnd\BitMath.h" />
|
||||||
<ClInclude Include="include\fnd\elf.h" />
|
<ClInclude Include="include\fnd\elf.h" />
|
||||||
|
<ClInclude Include="include\fnd\Endian.h" />
|
||||||
<ClInclude Include="include\fnd\Exception.h" />
|
<ClInclude Include="include\fnd\Exception.h" />
|
||||||
<ClInclude Include="include\fnd\io.h" />
|
<ClInclude Include="include\fnd\io.h" />
|
||||||
<ClInclude Include="include\fnd\ISerialiseableBinary.h" />
|
<ClInclude Include="include\fnd\ISerialiseableBinary.h" />
|
||||||
|
|
|
@ -39,6 +39,12 @@
|
||||||
<ClInclude Include="include\fnd\types.h">
|
<ClInclude Include="include\fnd\types.h">
|
||||||
<Filter>Header Files</Filter>
|
<Filter>Header Files</Filter>
|
||||||
</ClInclude>
|
</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>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ClCompile Include="source\Exception.cpp">
|
<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
|
// Bit math macros
|
||||||
#define _BIT(n) BIT(n)
|
#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