mirror of
https://github.com/PretendoNetwork/Inkay.git
synced 2026-08-18 11:37:02 +02:00
feat: Improvements in module exports
Add new `Inkay_GetStatus` which can be used for retrieving the status of the module. Also add better handling of module initialization, and show a notification from the plugin if the module can't be found.
This commit is contained in:
parent
d3ff378cc4
commit
7958373394
7 changed files with 104 additions and 4 deletions
|
|
@ -16,4 +16,14 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
enum class InkayStatus {
|
||||
Uninitialized, ///< The module isn't initialized
|
||||
Nintendo, ///< The module is initialized but hasn't applied any patches
|
||||
Pretendo, ///< The module is initialized and has applied the Pretendo patches
|
||||
|
||||
Error = -1 ///< Failed to retrieve the module status
|
||||
};
|
||||
|
||||
void Inkay_Initialize(bool apply_patches);
|
||||
void Inkay_Finalize();
|
||||
InkayStatus Inkay_GetStatus();
|
||||
|
|
|
|||
Loading…
Reference in a new issue