/* global functions */
void plugin_connect_all()
{
   gfx = gfx_gln64;
   if (rspMode == 0)
      rsp = rsp_hle;
#ifndef VC
   else
      rsp = rsp_lle;
#endif
   plugin_start_gfx();
   plugin_start_input();
   plugin_start_rsp();
}
Пример #2
0
m64p_error plugin_start(m64p_plugin_type type)
{
    switch(type)
    {
        case M64PLUGIN_RSP:
            return plugin_start_rsp();
        case M64PLUGIN_GFX:
            return plugin_start_gfx();
        case M64PLUGIN_AUDIO:
            return plugin_start_audio();
        case M64PLUGIN_INPUT:
            return plugin_start_input();
        default:
            return M64ERR_INPUT_INVALID;
    }

    return M64ERR_INTERNAL;
}