Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: Re: othelo (*sigh*)

Re: othelo (*sigh*)

From: BlueChip <cs_bluechip_at_webtribe.net>
Date: Sat, 09 Aug 2003 01:34:23 +0100

At 15:25 08/08/03 -0700, you wrote:
>i mentioned this once before, but no one seemed to notice it. othelo
>doesn't work on my FMR. at
>all. i just get an 'incompatable model' error. what happened? *glares at
>bluechip* ;-)
>
>-scott

follow


apps/plugins/othelo.c:1352
     TEST_PLUGIN_API(api);


apps/plugin.h:75
#define TEST_PLUGIN_API(_api_) \
do { \
  int _rc_ = _api_->plugin_test(PLUGIN_API_VERSION, MODEL, MEM); \
  if (_rc_<0) \
      return _rc_; \
} while(0)


apps/plugin.c:279
static int plugin_test(int api_version, int model, int memsize)
{
     if (api_version < PLUGIN_MIN_API_VERSION ||
         api_version > PLUGIN_API_VERSION)
         return PLUGIN_WRONG_API_VERSION;
     if (model != MODEL)
         return PLUGIN_WRONG_MODEL;
     if (memsize != MEM)
         return PLUGIN_WRONG_MODEL;
     return PLUGIN_OK;
}


...QED, the bug is in the plugin code, or the way it is called.

The error is generated by rockbox before othelo has even had a chance to
execute it's very first line of code!

Maybe you are running a version of othelo that was compiled for the recorder?
Received on 2003-08-09

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy