Previous 199869 Revisions Next

r31689 Monday 18th August, 2014 at 07:50:28 UTC by Fabio Priuli
(MESS) tapectrl.c: fixed bug where systems with multiple cassette drives (e.g. PET)
had no Tape Controls when no cassette was loaded in the first drive. [Fabio Priuli]
[src/emu/ui]tapectrl.c

trunk/src/emu/ui/tapectrl.c
r31688r31689
6161   cassette_state state;
6262   UINT32 flags = 0;
6363
64   if (count() > 0)
64   if (count() > 1)
6565   {
6666      int index = current_index();
6767
r31688r31689
121121   }
122122   else
123123   {
124      // no tape loaded
125      item_append("No Tape Image loaded", NULL, flags, NULL);
124      // no tape loaded in this cassette device (but there could be more than one!)
125      if (count() > 1)
126         item_append("No Tape Image loaded", "", flags, TAPECMD_SELECT);
127      else
128         item_append("No Tape Image loaded", NULL, 0, NULL);
126129   }
127130}
128131

Previous 199869 Revisions Next


© 1997-2024 The MAME Team