mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-02 02:52:40 +00:00
GUI: do not play the intro when using software ren
This commit is contained in:
parent
a816eee5b2
commit
13c63f60bb
1 changed files with 2 additions and 2 deletions
|
@ -3993,7 +3993,7 @@ bool FurnaceGUI::loop() {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (firstFrame && !safeMode) {
|
if (firstFrame && !safeMode && renderBackend!=GUI_BACKEND_SOFTWARE) {
|
||||||
if (!tutorial.introPlayed || settings.alwaysPlayIntro==3 || (settings.alwaysPlayIntro==2 && curFileName.empty())) {
|
if (!tutorial.introPlayed || settings.alwaysPlayIntro==3 || (settings.alwaysPlayIntro==2 && curFileName.empty())) {
|
||||||
unsigned char* introTemp=new unsigned char[intro_fur_len];
|
unsigned char* introTemp=new unsigned char[intro_fur_len];
|
||||||
memcpy(introTemp,intro_fur,intro_fur_len);
|
memcpy(introTemp,intro_fur,intro_fur_len);
|
||||||
|
@ -6413,7 +6413,7 @@ bool FurnaceGUI::loop() {
|
||||||
|
|
||||||
MEASURE_END(popup);
|
MEASURE_END(popup);
|
||||||
|
|
||||||
if (!tutorial.introPlayed || settings.alwaysPlayIntro!=0) {
|
if ((!tutorial.introPlayed || settings.alwaysPlayIntro!=0) && renderBackend!=GUI_BACKEND_SOFTWARE) {
|
||||||
MEASURE_BEGIN(intro);
|
MEASURE_BEGIN(intro);
|
||||||
initialScreenWipe=0;
|
initialScreenWipe=0;
|
||||||
if (settings.alwaysPlayIntro==1) {
|
if (settings.alwaysPlayIntro==1) {
|
||||||
|
|
Loading…
Reference in a new issue