From f28da1a35a6403b153f93f66e3d96e485f89c363 Mon Sep 17 00:00:00 2001 From: Nils Wallménius Date: Sun, 12 Aug 2007 19:49:03 +0000 Subject: Enable a lot more features for simulators and add stubs where necessary, simulators should now work with identical lng and voice files as the respective target git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14299 a1c6a512-1295-4272-9138-f99709370657 --- uisimulator/common/stubs.c | 104 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 104 insertions(+) (limited to 'uisimulator/common/stubs.c') diff --git a/uisimulator/common/stubs.c b/uisimulator/common/stubs.c index 5cc312a354..69daa515b0 100644 --- a/uisimulator/common/stubs.c +++ b/uisimulator/common/stubs.c @@ -44,11 +44,18 @@ int fat_startsector(void) return 63; } +bool fat_ismounted(int volume) +{ + (void)volume; + return true; +} + int ata_write_sectors(IF_MV2(int drive,) unsigned long start, int count, const void* buf) { + IF_MV((void)drive;) int i; for (i=0; i