diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2024-10-23 14:10:31 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2024-10-31 12:52:00 -0400 |
commit | b30f05badca5fdad88faa7decb24efbfc9da9851 (patch) | |
tree | bbdf4db2a5a6d0b0ed5c888280ef6413906e1cc5 /apps/plugin.c | |
parent | e829ea9a5ea05c6dedd91f741f91cb8723e50b19 (diff) | |
download | rockbox-b30f05badca5fdad88faa7decb24efbfc9da9851.tar.gz rockbox-b30f05badca5fdad88faa7decb24efbfc9da9851.zip |
Revert "plugin load / tagtree retrieval: eliminate storage_disk_is_active check"
ata_disk_is_active() behavior with SSDs has reverted, so we want to keep this.
This reverts commit ef19fa4408ed48e29fa3307af0b288efa61c4901.
Change-Id: I29f08617285747c17a52352bd7bba4069e71cde6
Diffstat (limited to 'apps/plugin.c')
-rw-r--r-- | apps/plugin.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/plugin.c b/apps/plugin.c index f864a1d90b..adf207da79 100644 --- a/apps/plugin.c +++ b/apps/plugin.c | |||
@@ -882,6 +882,10 @@ int plugin_load(const char* plugin, const void* parameter) | |||
882 | } | 882 | } |
883 | } | 883 | } |
884 | 884 | ||
885 | #ifdef HAVE_DISK_STORAGE | ||
886 | if (!storage_disk_is_active()) | ||
887 | splash(0, ID2P(LANG_WAIT)); | ||
888 | #endif | ||
885 | strcpy(current_plugin, plugin); | 889 | strcpy(current_plugin, plugin); |
886 | current_plugin_handle = lc_open(plugin, pluginbuf, PLUGIN_BUFFER_SIZE); | 890 | current_plugin_handle = lc_open(plugin, pluginbuf, PLUGIN_BUFFER_SIZE); |
887 | if (current_plugin_handle == NULL) { | 891 | if (current_plugin_handle == NULL) { |