mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-12 06:32:34 -05:00
Fat test code, for the archives.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2911 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
c032e65034
commit
f6cb6163b9
3 changed files with 92 additions and 63 deletions
|
|
@ -8,7 +8,7 @@
|
|||
|
||||
static FILE* file;
|
||||
|
||||
int ata_read_sectors(unsigned long start, unsigned char count, void* buf)
|
||||
int ata_read_sectors(unsigned long start, int count, void* buf)
|
||||
{
|
||||
if ( count > 1 )
|
||||
DEBUGF("[Reading %d blocks: 0x%lx to 0x%lx]\n",
|
||||
|
|
@ -28,7 +28,7 @@ int ata_read_sectors(unsigned long start, unsigned char count, void* buf)
|
|||
return 0;
|
||||
}
|
||||
|
||||
int ata_write_sectors(unsigned long start, unsigned char count, void* buf)
|
||||
int ata_write_sectors(unsigned long start, int count, void* buf)
|
||||
{
|
||||
if ( count > 1 )
|
||||
DEBUGF("[Writing %d blocks: 0x%lx to 0x%lx]\n",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue