#include <nitro/fs.h>
BOOL FS_LoadOverlayImage(FSOverlayInfo *p_ovi);
p_ovi | FSOverlayInfo structure that holds overlay module information. |
Returns TRUE if the overlay module's image is loaded properly; FALSE otherwise.
This function loads the image of an overlay module to memory. It will construct the "raw initial state" of the overlay module in memory. The subsequent running of the static initializer using the FS_StartOverlay
function enables the overlay module.
When loading an overlay whose area conflicts with an existing loaded overlay, you must unload the previous overlay using the FS_UnloadOverlay
function.
This process is equivalent to calling the FS_LoadOverlayImageAsync
function and waiting for the load process to finish. For information about the relationship with other overlay functions that perform equivalent processes, see the examples in the reference for the FS_LoadOverlay
function.
FSOverlayInfo
FS_LoadOverlay
FS_LoadOverlayInfo
FS_LoadOverlayImageAsync
FS_GetOverlayTotalSize
FS_GetOverlayAddress
FS_GetOverlayFileID
FS_StartOverlay
FS_UnloadOverlayImage
2004/11/16 Added comparison to FS_LoadOverlayImageAsync
, revised description of the process.
2004/10/19 Added description regarding the process contents.
2004/09/24 Added description concerning the relationship with each type of overlay function.
2004/06/11 Initial version.
CONFIDENTIAL