We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b240cdc commit c1a8922Copy full SHA for c1a8922
src/core/file_format/splash.cpp
@@ -9,7 +9,7 @@
9
#include "splash.h"
10
11
bool Splash::Open(const std::filesystem::path& filepath) {
12
- ASSERT_MSG(filepath.stem().string() != "png", "Unexpected file format passed");
+ ASSERT_MSG(filepath.extension().string() == ".png", "Unexpected file format passed");
13
14
Common::FS::IOFile file(filepath, Common::FS::FileAccessMode::Read);
15
if (!file.IsOpen()) {
0 commit comments