diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2024-08-12 16:10:12 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2024-08-12 16:10:12 -0400 |
commit | ad0c13191859f6606a065ec4f81a406220c5e489 (patch) | |
tree | 985a71f8f9cd395a7ce559bc95c0e2fa21d8debe | |
parent | 8c25fcfbf0c9d8af41845902994719760745950b (diff) | |
download | rockbox-ad0c131918.tar.gz rockbox-ad0c131918.zip |
sim: stub out volume_partition() for sim targets
Not sure why this doesn't blow up in more places, but eh..
Change-Id: I45214243c0d03a2156dca8f727caadde5f34c23f
-rw-r--r-- | uisimulator/common/sim_tasks.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/uisimulator/common/sim_tasks.c b/uisimulator/common/sim_tasks.c index 1f7e3bffcf..6ac2376316 100644 --- a/uisimulator/common/sim_tasks.c +++ b/uisimulator/common/sim_tasks.c @@ -270,6 +270,13 @@ int volume_drive(int volume) } #endif +int volume_partition(int volume) +{ + (void)volume; + /* Sims only implement a single parition per drive */ + return 0; +} + #if (CONFIG_STORAGE & STORAGE_MMC) bool mmc_touched(void) { |