Skip to content

Commit d617c08

Browse files
committed
GS: remove unused function BitCast
1 parent 302ced7 commit d617c08

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

pcsx2/GS/GSLzma.h

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// SPDX-FileCopyrightText: 2002-2025 PCSX2 Dev Team
1+
// SPDX-FileCopyrightText: 2002-2025 PCSX2 Dev Team
22
// SPDX-License-Identifier: GPL-3.0+
33

44
#pragma once
@@ -120,14 +120,6 @@ namespace GSDumpTypes
120120
#undef DEF_GIFReg
121121
// clang-format on
122122

123-
template <typename Output, typename Input>
124-
requires(sizeof(Input) == sizeof(Output))
125-
static constexpr Output BitCast(Input input)
126-
{
127-
Output output;
128-
memcpy(&output, &input, sizeof(input));
129-
return output;
130-
}
131123
template <typename Output = u32>
132124
static constexpr Output GetBits(u64 value, u32 shift, u32 numbits)
133125
{

0 commit comments

Comments
 (0)