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(); }
EXPORT void snes_run() { S9xMainLoop(); s9x_poller_cb(); if(pad_read_last) { report_buttons(); } }
void retro_run (void) { bool updated = false; poll_cb(); report_buttons(); S9xMainLoop(); if (environ_cb(RETRO_ENVIRONMENT_GET_VARIABLE_UPDATE, &updated) && updated) check_variables(); }