Commit 0b181eee authored by Lioncash's avatar Lioncash
Browse files

hid/npad: Fix copy size in GetSupportedNpadIdTypes

Previously this was passing the size of the vector into memcpy rather
than the size in bytes to copy, which would result in a partial read.

Thankfully, this function isn't used yet, so this gets rid of a bug
before it's able to do anything.
parent 6b71530f
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment