2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

input/udp - Dont log on invalid packet received

This commit is contained in:
James Rowe 2020-03-03 19:52:06 -07:00
parent 08c638f249
commit 2cdda8c564

View file

@ -31,7 +31,6 @@ namespace Response {
*/ */
std::optional<Type> Validate(u8* data, std::size_t size) { std::optional<Type> Validate(u8* data, std::size_t size) {
if (size < sizeof(Header)) { if (size < sizeof(Header)) {
LOG_DEBUG(Input, "Invalid UDP packet received");
return std::nullopt; return std::nullopt;
} }
Header header{}; Header header{};