Various miscelaneous changes (#6496)

This commit is contained in:
Vitor K 2023-05-03 12:24:10 -03:00 committed by GitHub
parent 41f13456c0
commit 34de77d429
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
74 changed files with 44 additions and 81 deletions

View file

@ -2,7 +2,6 @@
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
#include <cstring>
#include <string>
#include "common/common_types.h"

View file

@ -4,7 +4,6 @@
#pragma once
#include <map>
#include <memory>
#include <string>
#include "core/frontend/input.h"

View file

@ -3,8 +3,6 @@
// Refer to the license.txt file included.
#include <algorithm>
#include <iostream>
#include <regex>
#include <thread>
#include <android/api-level.h>
@ -666,6 +664,7 @@ void Java_org_citra_citra_1emu_NativeLibrary_InstallCIAS(JNIEnv* env, [[maybe_un
jobjectArray path) {
const jsize count{env->GetArrayLength(path)};
std::vector<std::string> paths;
paths.reserve(count);
for (jsize idx{0}; idx < count; ++idx) {
paths.emplace_back(
GetJString(env, static_cast<jstring>(env->GetObjectArrayElement(path, idx))));