Setting plugin_loaded status before invalidating icache.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6649 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Miika Pekkarinen 2005-06-10 11:44:56 +00:00
parent 842bed7275
commit e0b51d4731

View file

@ -357,9 +357,8 @@ int codec_load_ram(char* pluginptr, size_t size, void *parameter, void* ptr2, si
return -1;
}
invalidate_icache();
plugin_loaded = true;
invalidate_icache();
status = plugin_start((struct plugin_api*) &rockbox_api, parameter);
plugin_loaded = false;