mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 05:47:56 -07:00
0a6f0dfb74
This attempts to make some bit arithmetic more self-documenting and also make it easier during review to identify potential off-by-one errors by making it possible to just specify which bits are being extracted. Functions both support the case where bits being extracted can vary and fixed bit extraction. In the case the bits are fixed, compile-time asserts are present to prevent accidental API usage at compile-time. e.g. Instead of shifting and masking to get bits 10 to 15, Common::ExtractBits<10, 15>(value) can just be done instead.
215 lines
9.6 KiB
XML
215 lines
9.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
<ItemGroup Label="ProjectConfigurations">
|
|
<ProjectConfiguration Include="Debug|x64">
|
|
<Configuration>Debug</Configuration>
|
|
<Platform>x64</Platform>
|
|
</ProjectConfiguration>
|
|
<ProjectConfiguration Include="Release|x64">
|
|
<Configuration>Release</Configuration>
|
|
<Platform>x64</Platform>
|
|
</ProjectConfiguration>
|
|
</ItemGroup>
|
|
<PropertyGroup Label="Globals">
|
|
<ProjectGuid>{2E6C348C-C75C-4D94-8D1E-9C1FCBF3EFE4}</ProjectGuid>
|
|
</PropertyGroup>
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
|
<PropertyGroup Label="Configuration">
|
|
<ConfigurationType>StaticLibrary</ConfigurationType>
|
|
<PlatformToolset>v140</PlatformToolset>
|
|
<CharacterSet>Unicode</CharacterSet>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)'=='Debug'" Label="Configuration">
|
|
<UseDebugLibraries>true</UseDebugLibraries>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)'=='Release'" Label="Configuration">
|
|
<UseDebugLibraries>false</UseDebugLibraries>
|
|
</PropertyGroup>
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
|
<ImportGroup Label="ExtensionSettings">
|
|
</ImportGroup>
|
|
<ImportGroup Label="PropertySheets">
|
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
|
<Import Project="..\..\VSProps\Base.props" />
|
|
<Import Project="..\..\VSProps\PCHUse.props" />
|
|
</ImportGroup>
|
|
<PropertyGroup Label="UserMacros" />
|
|
<ItemGroup>
|
|
<ClInclude Include="Align.h" />
|
|
<ClInclude Include="Analytics.h" />
|
|
<ClInclude Include="Assert.h" />
|
|
<ClInclude Include="Atomic.h" />
|
|
<ClInclude Include="Atomic_GCC.h" />
|
|
<ClInclude Include="Atomic_Win32.h" />
|
|
<ClInclude Include="BitField.h" />
|
|
<ClInclude Include="BitSet.h" />
|
|
<ClInclude Include="BitUtils.h" />
|
|
<ClInclude Include="BlockingLoop.h" />
|
|
<ClInclude Include="CDUtils.h" />
|
|
<ClInclude Include="ChunkFile.h" />
|
|
<ClInclude Include="CodeBlock.h" />
|
|
<ClInclude Include="ColorUtil.h" />
|
|
<ClInclude Include="Common.h" />
|
|
<ClInclude Include="CommonFuncs.h" />
|
|
<ClInclude Include="CommonPaths.h" />
|
|
<ClInclude Include="CommonTypes.h" />
|
|
<ClInclude Include="CPUDetect.h" />
|
|
<ClInclude Include="DebugInterface.h" />
|
|
<ClInclude Include="ENetUtil.h" />
|
|
<ClInclude Include="Event.h" />
|
|
<ClInclude Include="FifoQueue.h" />
|
|
<ClInclude Include="FileSearch.h" />
|
|
<ClInclude Include="FileUtil.h" />
|
|
<ClInclude Include="FixedSizeQueue.h" />
|
|
<ClInclude Include="Flag.h" />
|
|
<ClInclude Include="FPURoundMode.h" />
|
|
<ClInclude Include="GekkoDisassembler.h" />
|
|
<ClInclude Include="GL\GLExtensions\AMD_pinned_memory.h" />
|
|
<ClInclude Include="GL\GLExtensions\ARB_blend_func_extended.h" />
|
|
<ClInclude Include="GL\GLExtensions\ARB_buffer_storage.h" />
|
|
<ClInclude Include="GL\GLExtensions\ARB_clip_control.h" />
|
|
<ClInclude Include="GL\GLExtensions\ARB_copy_image.h" />
|
|
<ClInclude Include="GL\GLExtensions\ARB_debug_output.h" />
|
|
<ClInclude Include="GL\GLExtensions\ARB_draw_elements_base_vertex.h" />
|
|
<ClInclude Include="GL\GLExtensions\ARB_ES2_compatibility.h" />
|
|
<ClInclude Include="GL\GLExtensions\ARB_ES3_compatibility.h" />
|
|
<ClInclude Include="GL\GLExtensions\ARB_framebuffer_object.h" />
|
|
<ClInclude Include="GL\GLExtensions\ARB_get_program_binary.h" />
|
|
<ClInclude Include="GL\GLExtensions\ARB_map_buffer_range.h" />
|
|
<ClInclude Include="GL\GLExtensions\ARB_occlusion_query2.h" />
|
|
<ClInclude Include="GL\GLExtensions\ARB_sampler_objects.h" />
|
|
<ClInclude Include="GL\GLExtensions\ARB_sample_shading.h" />
|
|
<ClInclude Include="GL\GLExtensions\ARB_shader_storage_buffer_object.h" />
|
|
<ClInclude Include="GL\GLExtensions\ARB_sync.h" />
|
|
<ClInclude Include="GL\GLExtensions\ARB_texture_multisample.h" />
|
|
<ClInclude Include="GL\GLExtensions\ARB_texture_storage_multisample.h" />
|
|
<ClInclude Include="GL\GLExtensions\ARB_uniform_buffer_object.h" />
|
|
<ClInclude Include="GL\GLExtensions\ARB_vertex_array_object.h" />
|
|
<ClInclude Include="GL\GLExtensions\ARB_viewport_array.h" />
|
|
<ClInclude Include="GL\GLExtensions\EXT_texture_filter_anisotropic.h" />
|
|
<ClInclude Include="GL\GLExtensions\GLExtensions.h" />
|
|
<ClInclude Include="GL\GLExtensions\gl_1_1.h" />
|
|
<ClInclude Include="GL\GLExtensions\gl_1_2.h" />
|
|
<ClInclude Include="GL\GLExtensions\gl_1_3.h" />
|
|
<ClInclude Include="GL\GLExtensions\gl_1_4.h" />
|
|
<ClInclude Include="GL\GLExtensions\gl_1_5.h" />
|
|
<ClInclude Include="GL\GLExtensions\gl_2_0.h" />
|
|
<ClInclude Include="GL\GLExtensions\gl_2_1.h" />
|
|
<ClInclude Include="GL\GLExtensions\gl_3_0.h" />
|
|
<ClInclude Include="GL\GLExtensions\gl_3_1.h" />
|
|
<ClInclude Include="GL\GLExtensions\gl_3_2.h" />
|
|
<ClInclude Include="GL\GLExtensions\gl_4_2.h" />
|
|
<ClInclude Include="GL\GLExtensions\gl_4_3.h" />
|
|
<ClInclude Include="GL\GLExtensions\gl_4_4.h" />
|
|
<ClInclude Include="GL\GLExtensions\gl_4_5.h" />
|
|
<ClInclude Include="GL\GLExtensions\gl_common.h" />
|
|
<ClInclude Include="GL\GLExtensions\HP_occlusion_test.h" />
|
|
<ClInclude Include="GL\GLExtensions\KHR_debug.h" />
|
|
<ClInclude Include="GL\GLExtensions\NV_occlusion_query_samples.h" />
|
|
<ClInclude Include="GL\GLExtensions\NV_primitive_restart.h" />
|
|
<ClInclude Include="GL\GLInterfaceBase.h" />
|
|
<ClInclude Include="GL\GLInterface\WGL.h" />
|
|
<ClInclude Include="GL\GLUtil.h" />
|
|
<ClInclude Include="Hash.h" />
|
|
<ClInclude Include="IniFile.h" />
|
|
<ClInclude Include="JitRegister.h" />
|
|
<ClInclude Include="LinearDiskCache.h" />
|
|
<ClInclude Include="MathUtil.h" />
|
|
<ClInclude Include="MD5.h" />
|
|
<ClInclude Include="MemArena.h" />
|
|
<ClInclude Include="MemoryUtil.h" />
|
|
<ClInclude Include="MsgHandler.h" />
|
|
<ClInclude Include="NandPaths.h" />
|
|
<ClInclude Include="Network.h" />
|
|
<ClInclude Include="NonCopyable.h" />
|
|
<ClInclude Include="PcapFile.h" />
|
|
<ClInclude Include="Profiler.h" />
|
|
<ClInclude Include="ScopeGuard.h" />
|
|
<ClInclude Include="SDCardUtil.h" />
|
|
<ClInclude Include="Semaphore.h" />
|
|
<ClInclude Include="SettingsHandler.h" />
|
|
<ClInclude Include="StringUtil.h" />
|
|
<ClInclude Include="SymbolDB.h" />
|
|
<ClInclude Include="SysConf.h" />
|
|
<ClInclude Include="Thread.h" />
|
|
<ClInclude Include="Timer.h" />
|
|
<ClInclude Include="TraversalClient.h" />
|
|
<ClInclude Include="TraversalProto.h" />
|
|
<ClInclude Include="x64ABI.h" />
|
|
<ClInclude Include="x64Emitter.h" />
|
|
<ClInclude Include="x64Reg.h" />
|
|
<ClInclude Include="Crypto\bn.h" />
|
|
<ClInclude Include="Crypto\ec.h" />
|
|
<ClInclude Include="Logging\ConsoleListener.h" />
|
|
<ClInclude Include="Logging\Log.h" />
|
|
<ClInclude Include="Logging\LogManager.h" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<ClCompile Include="Analytics.cpp" />
|
|
<ClCompile Include="CDUtils.cpp" />
|
|
<ClCompile Include="ColorUtil.cpp" />
|
|
<ClCompile Include="ENetUtil.cpp" />
|
|
<ClCompile Include="FileSearch.cpp" />
|
|
<ClCompile Include="FileUtil.cpp" />
|
|
<ClCompile Include="GekkoDisassembler.cpp" />
|
|
<ClCompile Include="GL\GLExtensions\GLExtensions.cpp" />
|
|
<ClCompile Include="GL\GLInterface\GLInterface.cpp" />
|
|
<ClCompile Include="GL\GLInterface\WGL.cpp" />
|
|
<ClCompile Include="GL\GLUtil.cpp" />
|
|
<ClCompile Include="Hash.cpp" />
|
|
<ClCompile Include="IniFile.cpp" />
|
|
<ClCompile Include="JitRegister.cpp" />
|
|
<ClCompile Include="Logging\ConsoleListenerWin.cpp" />
|
|
<ClCompile Include="MathUtil.cpp" />
|
|
<ClCompile Include="MD5.cpp" />
|
|
<ClCompile Include="MemArena.cpp" />
|
|
<ClCompile Include="MemoryUtil.cpp" />
|
|
<ClCompile Include="Misc.cpp" />
|
|
<ClCompile Include="MsgHandler.cpp" />
|
|
<ClCompile Include="NandPaths.cpp" />
|
|
<ClCompile Include="Network.cpp" />
|
|
<ClCompile Include="PcapFile.cpp" />
|
|
<ClCompile Include="Profiler.cpp" />
|
|
<ClCompile Include="SDCardUtil.cpp" />
|
|
<ClCompile Include="SettingsHandler.cpp" />
|
|
<ClCompile Include="StringUtil.cpp" />
|
|
<ClCompile Include="SymbolDB.cpp" />
|
|
<ClCompile Include="SysConf.cpp" />
|
|
<ClCompile Include="Thread.cpp" />
|
|
<ClCompile Include="Timer.cpp" />
|
|
<ClCompile Include="TraversalClient.cpp" />
|
|
<ClCompile Include="ucrtFreadWorkaround.cpp" />
|
|
<ClCompile Include="Version.cpp" />
|
|
<ClCompile Include="x64ABI.cpp" />
|
|
<ClCompile Include="x64CPUDetect.cpp" />
|
|
<ClCompile Include="x64Emitter.cpp" />
|
|
<ClCompile Include="x64FPURoundMode.cpp" />
|
|
<ClCompile Include="Crypto\bn.cpp" />
|
|
<ClCompile Include="Crypto\ec.cpp" />
|
|
<ClCompile Include="Logging\LogManager.cpp" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Text Include="CMakeLists.txt" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<ProjectReference Include="$(ExternalsDir)enet\enet.vcxproj">
|
|
<Project>{cbc76802-c128-4b17-bf6c-23b08c313e5e}</Project>
|
|
</ProjectReference>
|
|
<ProjectReference Include="$(ExternalsDir)mbedtls\mbedTLS.vcxproj">
|
|
<Project>{bdb6578b-0691-4e80-a46c-df21639fd3b8}</Project>
|
|
</ProjectReference>
|
|
<ProjectReference Include="..\..\..\Externals\curl\curl.vcxproj">
|
|
<Project>{bb00605c-125f-4a21-b33b-7bf418322dcb}</Project>
|
|
</ProjectReference>
|
|
<ProjectReference Include="SCMRevGen.vcxproj">
|
|
<Project>{41279555-f94f-4ebc-99de-af863c10c5c4}</Project>
|
|
</ProjectReference>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Natvis Include="BitField.natvis" />
|
|
</ItemGroup>
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
|
<ImportGroup Label="ExtensionTargets">
|
|
</ImportGroup>
|
|
</Project>
|