Пример #1
0
void
Java_org_yabause_android_YabauseRunnable_deinit( JNIEnv* env )
{
    int slot = GetSaveSlot();
    if (slot != -1)
    {
        const char * dirpath = GetSavesPath();
        SetOSDToggle(0);
        DisableAutoFrameSkip();
        g_swapped = 0;
        while(! g_swapped)
            YabauseExec();
        YabSaveStateSlot(dirpath, slot);
    }

    YabauseDeInit();
}
Пример #2
0
void YabauseThread::initEmulation()
{
	reloadSettings();
	mInit = YabauseInit( &mYabauseConf );
	SetOSDToggle(showFPS);
}
Пример #3
0
void
Java_org_yabause_android_YabauseRunnable_enableFPS( JNIEnv* env, jobject obj, jint enable )
{
    SetOSDToggle(enable);
}