Upgrade Libretro frontend and cores to 17.05 release
- Remove Libretro symbols declaration - Print core reports in run scenarios - Run scenario fixups - Fetch shareware Quake in TyrQuake scenario - retro_frontend fixups Ref #74
This commit is contained in:
@@ -14,8 +14,12 @@
|
||||
#ifndef _RETRO_FRONTEND__CALLBACKS_H_
|
||||
#define _RETRO_FRONTEND__CALLBACKS_H_
|
||||
|
||||
/* local includes */
|
||||
#include "frontend.h"
|
||||
|
||||
/* Genode includes */
|
||||
#include <base/sleep.h>
|
||||
|
||||
/* vsnprintf */
|
||||
#include <stdio.h>
|
||||
|
||||
@@ -126,8 +130,10 @@ bool environment_callback(unsigned cmd, void *data)
|
||||
}
|
||||
|
||||
case RETRO_ENVIRONMENT_SHUTDOWN:
|
||||
global_frontend->exit();
|
||||
global_frontend->env.parent().exit(0);
|
||||
return true;
|
||||
/* can't return here, this is a callback */
|
||||
Genode::sleep_forever();
|
||||
|
||||
case RETRO_ENVIRONMENT_GET_VARIABLE:
|
||||
{
|
||||
|
||||
@@ -116,7 +116,7 @@ struct Retro_frontend::Frontend
|
||||
{
|
||||
|
||||
Dynamic_core(Genode::Env &env, Genode::Allocator &alloc, Name const &name)
|
||||
: Genode::Shared_object(env, alloc, name.string(), BIND_NOW, DONT_KEEP)
|
||||
: Genode::Shared_object(env, alloc, name.string(), BIND_LAZY, DONT_KEEP)
|
||||
{
|
||||
unsigned api_version = lookup<Retro_api_version>
|
||||
("retro_api_version")();
|
||||
|
||||
Reference in New Issue
Block a user