projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f0683d
)
Fix floppy initialization, by Laurent Vivier.
author
ths
<ths@c046a42c-6fe2-441c-8c8c-71466251a162>
Mon, 3 Dec 2007 02:17:39 +0000
(
02:17
+0000)
committer
ths
<ths@c046a42c-6fe2-441c-8c8c-71466251a162>
Mon, 3 Dec 2007 02:17:39 +0000
(
02:17
+0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3768
c046a42c
-6fe2-441c-8c8c-
71466251a162
hw/mips_pica61.c
patch
|
blob
|
history
diff --git
a/hw/mips_pica61.c
b/hw/mips_pica61.c
index
ced0e55
..
dfbc2f0
100644
(file)
--- a/
hw/mips_pica61.c
+++ b/
hw/mips_pica61.c
@@
-172,8
+172,9
@@
void mips_pica61_init (int ram_size, int vga_ram_size,
for (i = 0; i < MAX_FD; i++) {
index = drive_get_index(IF_FLOPPY, 0, i);
if (index == -1)
- continue;
- fd[i] = drives_table[index].bdrv;
+ fd[i] = NULL;
+ else
+ fd[i] = drives_table[index].bdrv;
}
fdctrl_init(i8259[1], 1, 1, 0x80003000, fd);
for(i = 0; i < MAX_SERIAL_PORTS; i++) {