improve performance on boost-capable devices

This commit is contained in:
Nico 2021-11-08 08:47:56 +00:00
parent 63809e4267
commit 4b128318fe
1 changed files with 3 additions and 0 deletions

View File

@ -289,6 +289,9 @@ static void run() {
enum plugin_status plugin_start(const void* parameter)
{
#ifdef HAVE_ADJUSTABLE_CPU_FREQ
rb->cpu_boost(true);
#endif
if(!parameter) {
rb->splash(HZ, "Please open a .rom file using this plugin!");
return PLUGIN_ERROR;