stratosphere: stop using kernelAbove

This commit is contained in:
Michael Scire 2019-05-10 03:25:07 -07:00
parent b5dd621250
commit 41f5b39f6b
11 changed files with 34 additions and 34 deletions

View file

@ -20,7 +20,7 @@
#include "ldr_map.hpp"
Result MapUtils::LocateSpaceForMap(u64 *out, u64 out_size) {
if (kernelAbove200()) {
if ((GetRuntimeFirmwareVersion() >= FirmwareVersion_200)) {
return LocateSpaceForMapModern(out, out_size);
} else {
return LocateSpaceForMapDeprecated(out, out_size);