diff --git a/include/nn/acp/device.h b/include/nn/acp/device.h index 1ae6914..8938235 100644 --- a/include/nn/acp/device.h +++ b/include/nn/acp/device.h @@ -8,9 +8,17 @@ * @{ */ +#ifdef __cplusplus +extern "C" { +#endif + typedef int32_t ACPDeviceType; ACPResult ACPCheckApplicationDeviceEmulation(BOOL* emulation); +#ifdef __cplusplus +} +#endif + /** @} */ diff --git a/include/nn/acp/save.h b/include/nn/acp/save.h index 32a2bc1..591661c 100644 --- a/include/nn/acp/save.h +++ b/include/nn/acp/save.h @@ -11,6 +11,10 @@ * @{ */ +#ifdef __cplusplus +extern "C" { +#endif + ACPResult ACPCreateSaveDir(uint32_t persistentId, ACPDeviceType deviceType); @@ -33,4 +37,8 @@ ACPUnmountExternalStorage(); ACPResult ACPUnmountSaveDir(); +#ifdef __cplusplus +} +#endif + /** @} */ diff --git a/include/nn/acp/title.h b/include/nn/acp/title.h index b9a6f54..2058444 100644 --- a/include/nn/acp/title.h +++ b/include/nn/acp/title.h @@ -11,6 +11,10 @@ * @{ */ +#ifdef __cplusplus +extern "C" { +#endif + typedef uint64_t ACPTitleId; typedef struct ACPMetaXml ACPMetaXml; @@ -244,4 +248,8 @@ ACPGetTitleMetaDirByDevice(ACPTitleId titleId, size_t directoryLen, ACPDeviceType deviceType); +#ifdef __cplusplus +} +#endif + /** @} */