diff options
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/drivers/ramdisk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/drivers/ramdisk.c b/firmware/drivers/ramdisk.c index c16c4fb675..0ea4012ef1 100644 --- a/firmware/drivers/ramdisk.c +++ b/firmware/drivers/ramdisk.c | |||
@@ -36,7 +36,7 @@ int ramdisk_read_sectors(IF_MV2(int drive,) | |||
36 | int count, | 36 | int count, |
37 | void* buf) | 37 | void* buf) |
38 | { | 38 | { |
39 | if(start+count>=NUM_SECTORS) | 39 | if(start+count>NUM_SECTORS) |
40 | { | 40 | { |
41 | return -1; | 41 | return -1; |
42 | } | 42 | } |
@@ -49,7 +49,7 @@ int ramdisk_write_sectors(IF_MV2(int drive,) | |||
49 | int count, | 49 | int count, |
50 | const void* buf) | 50 | const void* buf) |
51 | { | 51 | { |
52 | if(start+count>=NUM_SECTORS) | 52 | if(start+count>NUM_SECTORS) |
53 | { | 53 | { |
54 | return -1; | 54 | return -1; |
55 | } | 55 | } |