diff options
author | liamwhite <liamwhite@users.noreply.github.com> | 2023-05-28 22:33:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-28 22:33:42 +0200 |
commit | 53fd08b360a393af2e6bfdddc5c549492fcb40bf (patch) | |
tree | 6b1ef1f95a8573efe8e239828d10aa65355f780f | |
parent | Merge pull request #10475 from ameerj/microprofile-workaround (diff) | |
parent | CMakeLists: Rollback minimum to fmt 9 (diff) | |
download | yuzu-53fd08b360a393af2e6bfdddc5c549492fcb40bf.tar yuzu-53fd08b360a393af2e6bfdddc5c549492fcb40bf.tar.gz yuzu-53fd08b360a393af2e6bfdddc5c549492fcb40bf.tar.bz2 yuzu-53fd08b360a393af2e6bfdddc5c549492fcb40bf.tar.lz yuzu-53fd08b360a393af2e6bfdddc5c549492fcb40bf.tar.xz yuzu-53fd08b360a393af2e6bfdddc5c549492fcb40bf.tar.zst yuzu-53fd08b360a393af2e6bfdddc5c549492fcb40bf.zip |
Diffstat (limited to '')
m--------- | externals/vcpkg | 0 | ||||
-rw-r--r-- | src/common/bit_field.h | 5 | ||||
-rw-r--r-- | vcpkg.json | 4 |
3 files changed, 7 insertions, 2 deletions
diff --git a/externals/vcpkg b/externals/vcpkg -Subproject a7b6122f6b6504d16d96117336a056269357993 +Subproject 656fcc6ab2b05c6d999b7eaca717027ac3738f7 diff --git a/src/common/bit_field.h b/src/common/bit_field.h index e4e58ea45..0168ff9cb 100644 --- a/src/common/bit_field.h +++ b/src/common/bit_field.h @@ -188,3 +188,8 @@ private: template <std::size_t Position, std::size_t Bits, typename T> using BitFieldBE = BitField<Position, Bits, T, BETag>; + +template <std::size_t Position, std::size_t Bits, typename T, typename EndianTag = LETag> +inline auto format_as(BitField<Position, Bits, T, EndianTag> bitfield) { + return bitfield.Value(); +} diff --git a/vcpkg.json b/vcpkg.json index 19f99e89e..26f545c6c 100644 --- a/vcpkg.json +++ b/vcpkg.json @@ -1,7 +1,7 @@ { "$schema": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/main/docs/vcpkg.schema.json", "name": "yuzu", - "builtin-baseline": "acc3bcf76b84ae5041c86ab55fe138ae7b8255c7", + "builtin-baseline": "656fcc6ab2b05c6d999b7eaca717027ac3738f71", "version": "1.0", "dependencies": [ "boost-algorithm", @@ -53,7 +53,7 @@ }, { "name": "fmt", - "version": "9.0.0" + "version": "10.0.0" } ] } |