mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2026-03-10 13:36:37 +00:00
Rebrand SUYU_NON_COPYABLE and SUYU_NON_MOVEABLE
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project
|
||||
// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project & 2024 suyu Emulator Project
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#include <unordered_map>
|
||||
@@ -19,7 +19,7 @@
|
||||
|
||||
// Mingw seems to not have QMovie at all. If QMovie is missing then use a single frame instead of an
|
||||
// showing the full animation
|
||||
#if !YUZU_QT_MOVIE_MISSING
|
||||
#if !SUYU_QT_MOVIE_MISSING
|
||||
#include <QMovie>
|
||||
#endif
|
||||
|
||||
@@ -96,7 +96,7 @@ LoadingScreen::~LoadingScreen() = default;
|
||||
void LoadingScreen::Prepare(Loader::AppLoader& loader) {
|
||||
std::vector<u8> buffer;
|
||||
if (loader.ReadBanner(buffer) == Loader::ResultStatus::Success) {
|
||||
#ifdef YUZU_QT_MOVIE_MISSING
|
||||
#ifdef SUYU_QT_MOVIE_MISSING
|
||||
QPixmap map;
|
||||
map.loadFromData(buffer.data(), buffer.size());
|
||||
ui->banner->setPixmap(map);
|
||||
@@ -194,7 +194,7 @@ void LoadingScreen::paintEvent(QPaintEvent* event) {
|
||||
}
|
||||
|
||||
void LoadingScreen::Clear() {
|
||||
#ifndef YUZU_QT_MOVIE_MISSING
|
||||
#ifndef SUYU_QT_MOVIE_MISSING
|
||||
animation.reset();
|
||||
backing_buf.reset();
|
||||
backing_mem.reset();
|
||||
|
||||
Reference in New Issue
Block a user