diff --git a/app/src/main/cpp/skyline/services/mmnv/IRequest.cpp b/app/src/main/cpp/skyline/services/mmnv/IRequest.cpp index ae449e13..e7f065ac 100644 --- a/app/src/main/cpp/skyline/services/mmnv/IRequest.cpp +++ b/app/src/main/cpp/skyline/services/mmnv/IRequest.cpp @@ -126,10 +126,9 @@ namespace skyline::service::mmnv { Result IRequest::Get(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response) { u32 id{request.Pop()}; - u32 freqHz{request.Pop()}; std::lock_guard lock(requestsMutex); - if (id >= requests.size()) { + if (id < requests.size()) { auto &req{requests[id]}; if (req) { state.logger->Debug("Get frequency for request {}: {} Hz", id, req->freqHz);