mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-15 23:40:29 +02:00
Common: Cleanup some Path constructions.
This commit is contained in:
1 parent
2a9170a2ea
commit
d376e67f87
13 files changed
+21
-22
No files matched your search
@@ -114,7 +114,7 @@ public:
|
||||
} else {
|
||||
Path image_path = savePath_.WithReplacedExtension(".ppst", ".jpg");
|
||||
if (File::Exists(image_path)) {
|
||||
toprow->Add(new AsyncImageFileView(Path(image_path), IS_KEEP_ASPECT, new LinearLayoutParams(480, 272, Margins(10, 0))));
|
||||
toprow->Add(new AsyncImageFileView(image_path, IS_KEEP_ASPECT, new LinearLayoutParams(480, 272, Margins(10, 0))));
|
||||
} else {
|
||||
toprow->Add(new TextView(sa->T("No screenshot"), new LinearLayoutParams(Margins(10, 5))))->SetTextColor(textStyle.fgColor);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user