summaryrefslogtreecommitdiff
path: root/src/citron/loading_screen.cpp
diff options
context:
space:
mode:
authorZephyron <zephyron@citron-emu.org>2024-12-31 17:07:49 +1000
committerZephyron <zephyron@citron-emu.org>2024-12-31 17:07:49 +1000
commitb3facaa6bb30cdc39f2b7d632fef1e3bfeee7785 (patch)
tree77d03cd30542cd5e1addc61f240b8120a5909e90 /src/citron/loading_screen.cpp
parent6778aa8ec8e5fa0d246ac4b9ec00c10213c30ce5 (diff)
chore: update project references and add Citron copyright
- Replaced all references to the old project name with Citron. - Added Citron copyright information alongside existing notices in all files.
Diffstat (limited to 'src/citron/loading_screen.cpp')
-rw-r--r--src/citron/loading_screen.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/citron/loading_screen.cpp b/src/citron/loading_screen.cpp
index b081fff6b..82024a02b 100644
--- a/src/citron/loading_screen.cpp
+++ b/src/citron/loading_screen.cpp
@@ -1,4 +1,4 @@
-// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project
+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project & 2025 citron Homebrew Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include <unordered_map>
@@ -15,11 +15,11 @@
#include "core/loader/loader.h"
#include "ui_loading_screen.h"
#include "video_core/rasterizer_interface.h"
-#include "yuzu/loading_screen.h"
+#include "citron/loading_screen.h"
// 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 !CITRON_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 CITRON_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 CITRON_QT_MOVIE_MISSING
animation.reset();
backing_buf.reset();
backing_mem.reset();