Fix SCE_MODULE_STOP macro. (#89)

This commit is contained in:
Felix-Dev 2021-03-22 21:36:56 +01:00 committed by GitHub
parent c3f4d22af8
commit 9cfaa62359
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -144,7 +144,7 @@ enum SceModulePrivilegeLevel {
#define SCE_MODULE_REBOOT_BEFORE(name) int module_reboot_before(void *arg0, s32 arg1, s32 arg2, s32 arg3) __attribute__((alias(name)))
#define SCE_MODULE_REBOOT_BEFORE_FOR_USER(name) int module_reboot_before(SceSize arglen, void *argp) __attribute__((alias(name)))
#define SCE_MODULE_REBOOT_PHASE(name) int module_reboot_phase(s32 arg1, void *arg2, s32 arg3, s32 arg4) __attribute__((alias(name)))
#define SCE_MODULE_STOP(name) int module_stop(void) __attribute__((alias(name)))
#define SCE_MODULE_STOP(name) int module_stop(SceSize argSize, const void *argBlock) __attribute__((alias(name)))
#define SCE_MODULE_INFO(name, attributes, majorVersion, minorVersion) \
__asm__ ( \

View File

@ -595,7 +595,7 @@ int sceAtracStartEntry(SceSize argSize __attribute__((unused)), const void *argB
return (sceAtracReinit(2, 2) < 0);
}
int sceAtracEndEntry(void)
int sceAtracEndEntry(SceSize argSize __attribute__((unused)), const void *argBlock __attribute__((unused)))
{
if (g_edramAddr != -1)
sceAudiocodecReleaseEDRAM(&g_atracIds[0].codec);