nstool/lib/libhac/source/IdConverter.cpp
2018-09-10 16:52:47 +08:00

16 lines
374 B
C++

#include <nn/hac/IdConverter.h>
uint64_t nn::hac::IdConverter::convertToAocBaseId(uint64_t application_id)
{
return application_id + kAocBaseId;
}
uint64_t nn::hac::IdConverter::convertToDeltaId(uint64_t application_id)
{
return application_id + kDeltaId;
}
uint64_t nn::hac::IdConverter::convertToPatchId(uint64_t application_id)
{
return application_id + kPatchId;
}