Rebrand SUYU_NON_COPYABLE and SUYU_NON_MOVEABLE

This commit is contained in:
JuanCStar
2024-03-07 09:36:29 +00:00
committed by Crimson Hawk
parent 16dfc39f89
commit edf7a3be81
51 changed files with 200 additions and 200 deletions

View File

@@ -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();