cd: hacks..

This commit is contained in:
notaz 2013-10-07 01:39:53 +03:00
parent 274fcc35aa
commit 7b3ddc11dc
4 changed files with 35 additions and 6 deletions

View file

@ -1019,6 +1019,8 @@ static int main_menu_handler(int id, int keys)
break;
case MA_MAIN_CHANGE_CD:
if (PicoAHW & PAHW_MCD) {
// if cd is loaded, cdd_unload() triggers eject and
// returns 1, else we'll select and load new CD here
if (!cdd_unload())
menu_loop_tray();
return 1;