mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-05 06:26:49 +00:00
Emu: some cleanup
This commit is contained in:
parent
a3e8a61547
commit
03b76b4606
149 changed files with 957 additions and 1139 deletions
|
|
@ -109,7 +109,7 @@ ds3_pad_handler::~ds3_pad_handler()
|
|||
|
||||
u32 ds3_pad_handler::get_battery_level(const std::string& padId)
|
||||
{
|
||||
std::shared_ptr<ds3_device> device = get_hid_device(padId);
|
||||
const std::shared_ptr<ds3_device> device = get_hid_device(padId);
|
||||
if (!device || !device->hidDevice)
|
||||
{
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue