From ca8f0f7e9313618646edc4ea79e328d84acef625 Mon Sep 17 00:00:00 2001 From: ManDude <7569514+ManDude@users.noreply.github.com> Date: Sat, 14 Aug 2021 23:23:45 +0100 Subject: [PATCH] minor fixes --- game/sce/libpad.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/game/sce/libpad.cpp b/game/sce/libpad.cpp index 5a8fee20a2..5a61cd9175 100644 --- a/game/sce/libpad.cpp +++ b/game/sce/libpad.cpp @@ -5,7 +5,7 @@ #include "game/graphics/gfx.h" /*! - * @file libpad.h + * @file libpad.cpp * Stub implementation of the EE pad (controller) library */ @@ -64,7 +64,8 @@ static const Pad::Button libpad_PadPressureButtons[] = { int scePadRead(int port, int slot, u8* rdata) { auto cpad = (CPadInfo*)(rdata); - cpad->valid = 0; // success + cpad->valid = 0; // success + cpad->status = 0x70 /* (dualshock2) */ | (20 / 2); /* (dualshock2 data size) */ cpad->rightx = 0;