Skip to content

VERY experimental Nintendo Switch 2 emulator

C++

revert 789bbd7ab5929bbab5b81b39bbf82faf392f13c4

JPikachu4957950b55fc
diff --git a/src/core/hle/kernel/svc/svc_info.cpp b/src/core/hle/kernel/svc/svc_info.cpp
index a66d633f8e..231e4d0e1b 100644
--- a/src/core/hle/kernel/svc/svc_info.cpp
+++ b/src/core/hle/kernel/svc/svc_info.cpp
@@ -228,16 +228,6 @@ Result GetInfo(Core::System& system, u64* result, InfoType info_id_type, Handle
*result = system.Kernel().CurrentScheduler()->GetIdleThread()->GetCpuTime();
R_SUCCEED();
}
- case InfoType::SystemResourceSize: {
- LOG_DEBUG(Kernel_SVC, "called info_type={:#x}, info_subtype={:#x}, handle={:#x}", info_id,
- info_sub_id, handle);
-
- // VAMM (Virtual Address Memory Manager) typically expects a larger memory size
- // The value below (512MB) is based on typical system resource allocations
- *result = 0x20000000; // 512MB in bytes
-
- R_SUCCEED();
- }
case InfoType::MesosphereCurrentProcess: {
// Verify the input handle is invalid.
R_UNLESS(handle == InvalidHandle, ResultInvalidHandle);
diff --git a/src/core/hle/kernel/svc_types.h b/src/core/hle/kernel/svc_types.h
index e301f67c57..ab432ea78b 100644
--- a/src/core/hle/kernel/svc_types.h
+++ b/src/core/hle/kernel/svc_types.h
@@ -156,7 +156,6 @@ enum class InfoType : u32 {
MesosphereMeta = 65000,
MesosphereCurrentProcess = 65001,
- SystemResourceSize = 0x1C,
};
enum class BreakReason : u32 {