mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-02 18:53:58 +01:00
Get rid of the bool, not worth it.
This commit is contained in:
1 parent
7df9545195
commit
00c44ea799
8 files changed
+18
-15
No files matched your search
@@ -1327,7 +1327,7 @@ bool PPGeImage::Load() {
|
||||
unsigned char *textureData;
|
||||
int success;
|
||||
if (filename_.empty()) {
|
||||
success = pngLoadPtr(Memory::GetPointerRange(png_, size_), size_, &width_, &height_, &textureData);
|
||||
success = pngLoadPtr(Memory::GetPointerRange(png_, (u32)size_), size_, &width_, &height_, &textureData);
|
||||
} else {
|
||||
std::vector<u8> pngData;
|
||||
if (pspFileSystem.ReadEntireFile(filename_, pngData) < 0) {
|
||||
|
||||
Reference in new issue
Block a user