示例#1
0
void BadaSystem::setMute(bool on) {
    // only change mute after eventManager init() has completed
    if (_audioThread) {
        BadaGraphicsManager *graphics = getGraphics();
        if (graphics && graphics->isReady()) {
            _audioThread->setMute(on);
        }
    }
}
示例#2
0
文件: form.cpp 项目: chrisws/scummvm
result BadaAppForm::OnDraw(void) {
	logEntered();

	if (g_system) {
		BadaSystem* system = (BadaSystem*) g_system;
		BadaGraphicsManager* graphics = system->getGraphics();
		if (graphics && graphics->isReady()) {
			g_system->updateScreen();
		}
	}

	return E_SUCCESS;
}