//Pascal &or the FreePascal use of nintendo 2ds, 3ds regime // // Copyright (c) 2013, 2015, 2017 Kenneth Dwayne Lee Bsc. // all rights reserved. // {/ Initializes ptm:sysm. } function ptmSysmInit:s32;cdecl;external; {/ Exits ptm:sysm. } procedure ptmSysmExit;cdecl;external; {* * @brief return 1 if it's a New 3DS otherwise, return 0 for Old 3DS. } function PTMSYSM_CheckNew3DS:s32;cdecl;external; {* * @brief Configures the New 3DS' CPU clock speed and L2 cache. * @param value Bit0: enable higher clock, Bit1: enable L2 cache. } function PTMSYSM_ConfigureNew3DSCPU(value:u8):s32;cdecl;external; {* * @brief Trigger a hardware system shutdown via the MCU * @param timeout: timeout passed to PMApp:TerminateNonEssential. } function PTMSYSM_ShutdownAsync(timeout:u64):s32;cdecl;external; {* * @brief Trigger a hardware system reboot via the MCU. * @param timeout: timeout passed to PMApp:TerminateNonEssential. } function PTMSYSM_RebootAsync(timeout:u64):s32;cdecl;external;