nstool/lib/libhac/source/IdConverter.cpp

16 lines
374 B
C++
Raw Normal View History

2018-09-10 08:52:47 +00:00
#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;
}