mirror of
https://github.com/libretro/RetroArch
synced 2025-04-17 02:43:03 +00:00
Cleanups
This commit is contained in:
parent
a01380f847
commit
ad30ffa085
13
wiiu/main.c
13
wiiu/main.c
@ -56,7 +56,9 @@ static void fsdev_exit(void);
|
||||
|
||||
bool iosuhaxMount = 0;
|
||||
int fsaFd = -1;
|
||||
#ifdef HAVE_IOSUHAX
|
||||
static int mcp_hook_fd = -1;
|
||||
#endif
|
||||
|
||||
/* HBL elf entry point */
|
||||
int __entry_menu(int argc, char **argv)
|
||||
@ -77,8 +79,7 @@ int __entry_menu(int argc, char **argv)
|
||||
}
|
||||
|
||||
/* RPX entry point */
|
||||
__attribute__((noreturn))
|
||||
void _start(int argc, char **argv)
|
||||
__attribute__((noreturn)) void _start(int argc, char **argv)
|
||||
{
|
||||
memoryInitialize();
|
||||
__init();
|
||||
@ -93,8 +94,7 @@ void _start(int argc, char **argv)
|
||||
|
||||
void __eabi(void) { }
|
||||
|
||||
__attribute__((weak))
|
||||
void __init(void)
|
||||
__attribute__((weak)) void __init(void)
|
||||
{
|
||||
extern void (*const __CTOR_LIST__)(void);
|
||||
extern void (*const __CTOR_END__)(void);
|
||||
@ -104,8 +104,7 @@ void __init(void)
|
||||
(*ctor++)();
|
||||
}
|
||||
|
||||
__attribute__((weak))
|
||||
void __fini(void)
|
||||
__attribute__((weak)) void __fini(void)
|
||||
{
|
||||
extern void (*const __DTOR_LIST__)(void);
|
||||
extern void (*const __DTOR_END__)(void);
|
||||
@ -115,12 +114,12 @@ void __fini(void)
|
||||
(*dtor++)();
|
||||
}
|
||||
|
||||
#ifdef HAVE_IOSUHAX
|
||||
/* libiosuhax related */
|
||||
|
||||
/* just to be able to call async */
|
||||
static void some_func(void *arg) { (void)arg; }
|
||||
|
||||
#ifdef HAVE_IOSUHAX
|
||||
int MCPHookOpen(void)
|
||||
{
|
||||
/* take over mcp thread */
|
||||
|
Loading…
x
Reference in New Issue
Block a user