示例#1
0
void snes_run()
{
   // We can't really signal S9x that we need to reload SRAM. Luckily, you'd normally only deal with SRAM at start and end of emulation.
   s9x_poller_cb();
   report_buttons();
   S9xMainLoop();
}
示例#2
0
EXPORT void snes_run()
{
   S9xMainLoop();
   s9x_poller_cb();
   if(pad_read_last)
   {
	   report_buttons();
   }
}
示例#3
0
void retro_run (void)
{
   bool updated = false;
   poll_cb();
   report_buttons();
   S9xMainLoop();
   
   if (environ_cb(RETRO_ENVIRONMENT_GET_VARIABLE_UPDATE, &updated) && updated)
   check_variables();
}