How do I make a buffer start at a specific memory address of my own choice? I need it for this function:
I also keep getting errors when I try and use a function from another module. I've made a module that has all the graphics things I need in order to remove all the libraries from my main code and shrink it, it loads fine and without error, but when I attempt to use the functions it crashes giving me 0x8002013A, library not yet linked. Is there a common fix for this or should I post my makefile and stub?Code:/**
* Load a module from a buffer
*
* @param buf - Pointer to a buffer containing the module to load. The buffer must reside at an
* address that is a multiple to 64 bytes.
* @param bufsize - Size (in bytes) of the buffer pointed to by buf.
* @param flags - Unused, always 0.
* @param option - Pointer to an optional ::SceKernelLMOption structure.
*
* @returns The UID of the loaded module on success, otherwise one of ::PspKernelErrorCodes.
*/
SceUID sceKernelLoadModuleBuffer(void *buf, SceSize bufsize, int flags, SceKernelLMOption *option);
Thanks.
-Aura
