diff --git a/include/gx2/temp.h b/include/gx2/temp.h new file mode 100644 index 00000000..41ef9462 --- /dev/null +++ b/include/gx2/temp.h @@ -0,0 +1,21 @@ +#pragma once +#include + +/** + * \defgroup gx2_temp Temp + * \ingroup gx2 + * @{ + */ + +#ifdef __cplusplus +extern "C" { +#endif + +uint32_t +GX2TempGetGPUVersion(); + +#ifdef __cplusplus +} +#endif + +/** @} */ diff --git a/src/rpl/gx2/exports.h b/src/rpl/gx2/exports.h index da0a331b..9e6193a7 100644 --- a/src/rpl/gx2/exports.h +++ b/src/rpl/gx2/exports.h @@ -194,6 +194,9 @@ EXPORT(GX2SetTessellation); EXPORT(GX2SetMinTessellationLevel); EXPORT(GX2SetMaxTessellationLevel); +// gx2/temp.h +EXPORT(GX2TempGetGPUVersion); + // gx2/texture.h EXPORT(GX2InitTextureRegs); EXPORT(GX2SetPixelTexture);