提交 001a3f5a 编写于 作者: T ths

Fix floppy initialization, by Laurent Vivier.


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3768 c046a42c-6fe2-441c-8c8c-71466251a162
上级 9f0683d9
......@@ -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++) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册