projects
/
qemu
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
get roms more room. (Glauber Costa)
[qemu]
/
block-raw-win32.c
diff --git
a/block-raw-win32.c
b/block-raw-win32.c
index
8564a72
..
d034b4a
100644
(file)
--- a/
block-raw-win32.c
+++ b/
block-raw-win32.c
@@
-145,6
+145,8
@@
static int raw_read(BlockDriverState *bs, int64_t sector_num,
#endif
return ret_count;
}
+ if (ret_count == count)
+ ret_count = 0;
return ret_count;
}
@@
-171,6
+173,8
@@
static int raw_write(BlockDriverState *bs, int64_t sector_num,
#endif
return ret_count;
}
+ if (ret_count == count)
+ ret_count = 0;
return ret_count;
}