summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/imagedev/flopdrv.c
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2012-01-26 10:28:50 +0000
committer Miodrag Milanovic <mmicko@gmail.com>2012-01-26 10:28:50 +0000
commit960b0edc7523f5266bf8469d260a28ca761e127a (patch)
tree1cd3813e904b511483f4ddcf7ccfbc20f97b7701 /src/emu/imagedev/flopdrv.c
parent7c58c635f040320ac82576687871013d015b14b8 (diff)
Sync with MESS, including OG's fix for exiting with debugger active (no whatsnew)
Diffstat (limited to 'src/emu/imagedev/flopdrv.c')
-rw-r--r--src/emu/imagedev/flopdrv.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/emu/imagedev/flopdrv.c b/src/emu/imagedev/flopdrv.c
index 8cfa30174f0..72c4998da05 100644
--- a/src/emu/imagedev/flopdrv.c
+++ b/src/emu/imagedev/flopdrv.c
@@ -750,10 +750,10 @@ device_t *floppy_get_device_by_type(running_machine &machine,int ftype,int drive
int floppy_get_drive(device_t *image)
{
int drive =0;
- if (strcmp(image->tag(), FLOPPY_0) == 0) drive = 0;
- if (strcmp(image->tag(), FLOPPY_1) == 0) drive = 1;
- if (strcmp(image->tag(), FLOPPY_2) == 0) drive = 2;
- if (strcmp(image->tag(), FLOPPY_3) == 0) drive = 3;
+ if (strcmp(image->tag(), ":" FLOPPY_0) == 0) drive = 0;
+ if (strcmp(image->tag(), ":" FLOPPY_1) == 0) drive = 1;
+ if (strcmp(image->tag(), ":" FLOPPY_2) == 0) drive = 2;
+ if (strcmp(image->tag(), ":" FLOPPY_3) == 0) drive = 3;
return drive;
}