diff --git a/rpcsx-gpu/main.cpp b/rpcsx-gpu/main.cpp index cc740e514..85c00e6db 100644 --- a/rpcsx-gpu/main.cpp +++ b/rpcsx-gpu/main.cpp @@ -850,7 +850,7 @@ int main(int argc, const char *argv[]) { bridge->kbPadState.r2 = 0xff; } if (glfwGetKey(window, GLFW_KEY_APOSTROPHE) == GLFW_PRESS) { - bridge->kbPadState.buttons |= amdgpu::bridge::kPadBtnL3; + bridge->kbPadState.buttons |= amdgpu::bridge::kPadBtnR3; } if (glfwGetKey(window, GLFW_KEY_ENTER) == GLFW_PRESS) { diff --git a/rpcsx-os/linker.cpp b/rpcsx-os/linker.cpp index 0189bbb63..157ac14d9 100644 --- a/rpcsx-os/linker.cpp +++ b/rpcsx-os/linker.cpp @@ -10,9 +10,7 @@ #include #include #include -#include #include -#include #include #include #include @@ -34,10 +32,8 @@ static std::vector unself(const std::byte *image, std::size_t size) { std::uint16_t unk1; std::uint32_t padding3; }; - - static_assert(0x18 == 24); - static_assert(sizeof(Header) == 0x20); + struct [[gnu::packed]] Segment { std::uint64_t flags; std::uint64_t offset;