diff --git a/include/gx2/state.h b/include/gx2/state.h index 4ea35e2bd..17484656a 100644 --- a/include/gx2/state.h +++ b/include/gx2/state.h @@ -1,4 +1,5 @@ #pragma once + #include #include "enum.h" @@ -24,6 +25,12 @@ GX2Flush(); void GX2ResetGPU(uint32_t unknown); +/** + * @return 1 if GX2 is not running, on success the core where GX2Init has been called is returned. + */ +int +GX2GetMainCoreId(); + #ifdef __cplusplus } #endif