libretro: ignore RetroArch request to re-insert the previous image.
The idea is that on a multigame floppy, only the first is bootable. This seems the most common use case. Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
This commit is contained in:
parent
24a135e042
commit
e08363f141
1 changed files with 4 additions and 1 deletions
|
@ -227,9 +227,12 @@ void retro_set_environment(retro_environment_t cb)
|
|||
&retro_set_eject_state, &retro_get_eject_state,
|
||||
&retro_get_image_index, &retro_set_image_index,
|
||||
&retro_get_num_images, &retro_replace_image_index,
|
||||
&retro_add_image_index, &retro_set_initial_image,
|
||||
&retro_add_image_index, nullptr,
|
||||
&retro_get_image_path, &retro_get_image_label
|
||||
};
|
||||
// intentionally skip retro_set_initial_image
|
||||
// as we do always want to restart with the first disk of a playlist
|
||||
// which (normally) is the only bootable floppy of a game
|
||||
cb(RETRO_ENVIRONMENT_SET_DISK_CONTROL_EXT_INTERFACE, &diskControlExtCallback);
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Add table
Reference in a new issue