mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-29 01:03:41 +01:00
Support for extra text in OSD messages (drawn smaller, on darker background)
This commit is contained in:
1 parent
c76b6a48ab
commit
266b85d22d
5 files changed
+35
-14
No files matched your search
@@ -73,13 +73,13 @@ u32 BlockDevice::CalculateCRC(volatile bool *cancel) {
|
||||
void BlockDevice::NotifyReadError() {
|
||||
auto err = GetI18NCategory(I18NCat::ERRORS);
|
||||
if (!reportedError_) {
|
||||
g_OSD.Show(OSDType::MESSAGE_ERROR, err->T("Game disc read error - ISO corrupt"), 6.0f);
|
||||
g_OSD.Show(OSDType::MESSAGE_WARNING, err->T("Game disc read error - ISO corrupt"), fileLoader_->GetPath().ToVisualString(), 6.0f);
|
||||
reportedError_ = true;
|
||||
}
|
||||
}
|
||||
|
||||
FileBlockDevice::FileBlockDevice(FileLoader *fileLoader)
|
||||
: fileLoader_(fileLoader) {
|
||||
: BlockDevice(fileLoader) {
|
||||
filesize_ = fileLoader->FileSize();
|
||||
}
|
||||
|
||||
@@ -137,7 +137,7 @@ typedef struct ciso_header
|
||||
static const u32 CSO_READ_BUFFER_SIZE = 256 * 1024;
|
||||
|
||||
CISOFileBlockDevice::CISOFileBlockDevice(FileLoader *fileLoader)
|
||||
: fileLoader_(fileLoader)
|
||||
: BlockDevice(fileLoader)
|
||||
{
|
||||
// CISO format is fairly simple, but most tools do not write the header_size.
|
||||
|
||||
@@ -382,7 +382,7 @@ bool CISOFileBlockDevice::ReadBlocks(u32 minBlock, int count, u8 *outPtr) {
|
||||
}
|
||||
|
||||
NPDRMDemoBlockDevice::NPDRMDemoBlockDevice(FileLoader *fileLoader)
|
||||
: fileLoader_(fileLoader)
|
||||
: BlockDevice(fileLoader)
|
||||
{
|
||||
std::lock_guard<std::mutex> guard(mutex_);
|
||||
MAC_KEY mkey;
|
||||
|
||||
Reference in new issue
Block a user