(Playbook) Gets to 'Cannot open video driver - exiting - fatal error received in

'init_video_input' now with VBA Next core
WARNING - hardcoded mess right now
This commit is contained in:
twinaphex 2013-02-25 17:34:19 +01:00
parent ef91a44652
commit 7a8510e52f
2 changed files with 25 additions and 7 deletions

View File

@ -45,31 +45,45 @@ void handle_screen_event(bps_event_t *event)
int rarch_main(int argc, char *argv[])
{
bps_initialize(); //Initialize BPS library
rarch_main_clear_state();
g_extern.verbose = true;
RARCH_LOG("Step 0.9\n");
int init_ret;
struct rarch_main_wrap args = {0};
args.verbose = true;
args.verbose = g_extern.verbose;
args.sram_path = NULL;
args.state_path = NULL;
args.rom_path = "/sdcard/dkc.sfc";
args.libretro_path = "/accounts/1000/appdata/com.RetroArch.testDev_m_RetroArch181dafc7/app/native/lib/libsnes9x-next.so";
args.config_path = NULL;
args.rom_path = "/accounts/1000/appdata/com.RetroArch.testDev_m_RetroArch181dafc7/app/native/advancewars.gba";
args.libretro_path = "/accounts/1000/appdata/com.RetroArch.testDev_m_RetroArch181dafc7/app/native/lib/libvba-next.so";
args.config_path = "/accounts/1000/appdata/com.RetroArch.testDev_m_RetroArch181dafc7/app/native/retroarch.cfg";
if ((init_ret = rarch_main_init_wrap(&args))) return init_ret;
if ((init_ret = rarch_main_init_wrap(&args)))
{
RARCH_LOG("Step 1.0a\n");
return init_ret;
}
RARCH_LOG("Step 1.0\n");
rarch_init_msg_queue();
RARCH_LOG("Step 1.1\n");
while ((g_extern.is_paused && !g_extern.is_oneshot) ? rarch_main_idle_iterate() : rarch_main_iterate());
RARCH_LOG("Step 1.2\n");
rarch_main_deinit();
RARCH_LOG("Step 1.3\n");
rarch_deinit_msg_queue();
RARCH_LOG("Step 1.4\n");
#ifdef PERF_TEST
rarch_perf_log();
#endif
rarch_main_clear_state();
RARCH_LOG("Step 1.5\n");
bps_shutdown(); //Shut down BPS library
RARCH_LOG("Step 1.6\n");
return 0;
}

View File

@ -48,7 +48,11 @@
<!-- The category where the application appears. Either core.games or core.media. -->
<category>core.games</category>
<asset path="icon.png">icon.png</asset>
<asset path="retroarch.cfg">retroarch.cfg</asset>
<asset path="dkc.sfc">dkc.sfc</asset>
<asset path="advancewars.gba">advancewars.gba</asset>
<asset path="/home/twinaphex/local-repos/RetroArch/playbook/libsnes9x-next.so">lib/libsnes9x-next.so</asset>
<asset path="/home/twinaphex/local-repos/RetroArch/playbook/libvba-next.so">lib/libvba-next.so</asset>
<!-- <asset path="LICENSE">LICENSE</asset> -->
<!-- <asset path="NOTICE">NOTICE</asset> -->
<configuration id="com.qnx.qcc.configuration.exe.debug.507133694" name="Device-Debug">