diff options
author | Linus Nielsen Feltzing <linus@haxx.se> | 2005-02-09 14:19:14 +0000 |
---|---|---|
committer | Linus Nielsen Feltzing <linus@haxx.se> | 2005-02-09 14:19:14 +0000 |
commit | 40e9e4123641443eecda5f68af22e8336f830532 (patch) | |
tree | 9d9cb189e2a2da61a185d861b63dba5f274633fa | |
parent | b1152619910922b48db0bf9dd792ea1ac72f91a7 (diff) | |
download | rockbox-40e9e4123641443eecda5f68af22e8336f830532.tar.gz rockbox-40e9e4123641443eecda5f68af22e8336f830532.zip |
Invalidate instruction cache before loading plugins
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5871 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | apps/plugin.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/plugin.c b/apps/plugin.c index f595ed75da..002f8568b9 100644 --- a/apps/plugin.c +++ b/apps/plugin.c | |||
@@ -345,6 +345,9 @@ int plugin_load(const char* plugin, void* parameter) | |||
345 | #endif | 345 | #endif |
346 | 346 | ||
347 | plugin_loaded = true; | 347 | plugin_loaded = true; |
348 | |||
349 | invalidate_icache(); | ||
350 | |||
348 | rc = plugin_start((struct plugin_api*) &rockbox_api, parameter); | 351 | rc = plugin_start((struct plugin_api*) &rockbox_api, parameter); |
349 | /* explicitly casting the pointer here to avoid touching every plugin. */ | 352 | /* explicitly casting the pointer here to avoid touching every plugin. */ |
350 | 353 | ||