Line | |
---|
1 | Index: ioemu/hw/dma.c |
---|
2 | =================================================================== |
---|
3 | --- ioemu.orig/hw/dma.c 2007-05-02 10:30:05.000000000 +0100 |
---|
4 | +++ ioemu/hw/dma.c 2007-05-03 14:59:53.000000000 +0100 |
---|
5 | @@ -340,6 +340,8 @@ |
---|
6 | #endif |
---|
7 | |
---|
8 | r = dma_controllers[ncont].regs + ichan; |
---|
9 | + if (r->transfer_handler == NULL) |
---|
10 | + return; |
---|
11 | n = r->transfer_handler (r->opaque, ichan + (ncont << 2), |
---|
12 | r->now[COUNT], (r->base[COUNT] + 1) << ncont); |
---|
13 | r->now[COUNT] = n; |
---|
Note: See
TracBrowser
for help on using the repository browser.