Use kernel version minor
This commit is contained in:
@@ -10,8 +10,10 @@ This is part of 3ds_sm, which is licensed under the MIT license (see LICENSE for
|
||||
#include <3ds.h>
|
||||
#include <string.h>
|
||||
|
||||
#define IS_PRE_7X (osGetFirmVersion() < SYSTEM_VERSION(2, 39, 4))
|
||||
#define IS_PRE_93 (osGetFirmVersion() < SYSTEM_VERSION(2, 48, 3))
|
||||
#define KERNEL_VERSION_MINOR (GET_VERSION_MINOR(osGetKernelVersion()))
|
||||
|
||||
#define IS_PRE_7X (KERNEL_VERSION_MINOR < 39)
|
||||
#define IS_PRE_93 (KERNEL_VERSION_MINOR < 48)
|
||||
|
||||
extern u32 nbSection0Modules;
|
||||
extern Handle resumeGetServiceHandleOrPortRegisteredSemaphore;
|
||||
|
||||
Reference in New Issue
Block a user