Skip to content

Commit

Permalink
gx2: add GX2GetMainCoreId
Browse files Browse the repository at this point in the history
  • Loading branch information
Maschell committed Jun 7, 2024
1 parent 382a3b2 commit d4d9d3e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions include/gx2/state.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#pragma once

#include <wut.h>
#include "enum.h"

Expand All @@ -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
Expand Down

0 comments on commit d4d9d3e

Please sign in to comment.