From 0dfc4cbce34161140a40f7a63e02611cb8a691df Mon Sep 17 00:00:00 2001 From: Ishan09811 <156402647+Ishan09811@users.noreply.github.com> Date: Fri, 3 Jan 2025 23:57:59 +0530 Subject: [PATCH] Update jvm.h --- app/src/main/cpp/skyline/jvm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/cpp/skyline/jvm.h b/app/src/main/cpp/skyline/jvm.h index e16b748b..8a7993bc 100644 --- a/app/src/main/cpp/skyline/jvm.h +++ b/app/src/main/cpp/skyline/jvm.h @@ -50,7 +50,7 @@ namespace skyline { * @param key A null terminated string containing the key of the setting to get */ template - requires std::is_integral_v || std::is_enum_v + requires std::is_integral_v || std::is_enum_v || std::is_floating_point_v T GetInt(const std::string_view &key) { return static_cast(env->GetIntField(settingsInstance, env->GetFieldID(settingsClass, key.data(), "I"))); }