Commit 21533d2c authored by Thomas Conte's avatar Thomas Conte
Browse files

Fix for startup manager on WiiU

parent 75e718b1
Pipeline #28024 passed with stages
in 2 minutes and 32 seconds
......@@ -205,21 +205,25 @@ display_init( int *argc, char ***argv )
static int
display_init_wrapper( void *context )
{
/* The Wii has an explicit call to display_init for now */
#ifndef GEKKO
display_startup_context *typed_context =
(display_startup_context*) context;
return display_init( typed_context->argc, typed_context->argv );
#else
return 0;
#endif /* #ifndef GEKKO */
}
void
display_register_startup( display_startup_context *context )
{
/* The Wii has an explicit call to display_init for now */
#ifndef GEKKO
startup_manager_register_no_dependencies( STARTUP_MANAGER_MODULE_DISPLAY,
display_init_wrapper, context,
NULL );
#endif /* #ifndef GEKKO */
}
/* Mark as 'dirty' the pixels which have been changed by a write to
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment