mirror of
https://github.com/libretro/ppsspp.git
synced 2025-01-23 17:45:04 +00:00
Add a missing virtual destructor, fix a warning
This commit is contained in:
parent
c59c3d6c34
commit
7e756544ee
@ -110,6 +110,7 @@ IdentifiedFileType Identify_File(FileLoader *fileLoader);
|
||||
|
||||
class FileLoaderFactory {
|
||||
public:
|
||||
virtual ~FileLoaderFactory() {}
|
||||
virtual FileLoader *ConstructFileLoader(const std::string &filename) = 0;
|
||||
};
|
||||
void RegisterFileLoaderFactory(std::string name, std::unique_ptr<FileLoaderFactory> factory);
|
||||
|
@ -409,7 +409,7 @@ void ConvertFromRGBA8888(uint8_t *dst, const uint8_t *src, uint32_t dstStride, u
|
||||
case Draw::DataFormat::R8G8B8A8_UNORM:
|
||||
case Draw::DataFormat::UNDEFINED:
|
||||
default:
|
||||
WARN_LOG_REPORT_ONCE(convFromRGBA, G3D, "Unable to convert from format: %d", format);
|
||||
WARN_LOG_REPORT_ONCE(convFromRGBA, G3D, "Unable to convert from format: %d", (int)format);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user