Make Rom browser menu callbacks optional

This prevents any possible linking errors for not defining them in your plugin
This commit is contained in:
oddMLan 2025-05-28 00:25:18 -07:00
parent 150316243d
commit 40780c7619
1 changed files with 2 additions and 2 deletions

View File

@ -138,8 +138,8 @@ hParent - handle to the parent window
HEADER - pointer to the ROM header
Output: none
*/
EXPORT void(CALL * OnRomBrowserMenuItem)(int32_t MenuID, void * hParent, uint8_t * HEADER);
EXPORT void *(CALL * GetRomBrowserMenu)(void); // Items should have an ID between 4101 and 4200
extern void (CALL * OnRomBrowserMenuItem)(int32_t MenuID, void * hParent, uint8_t * HEADER);
extern void * (CALL * GetRomBrowserMenu)(void); // Items should have an ID between 4101 and 4200
/*
Function: ProcessDList