mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-08 07:55:35 +00:00
fmt::by_value, fmt::Format removed
This commit is contained in:
parent
15057ffc5e
commit
ce494f8847
35 changed files with 340 additions and 372 deletions
|
|
@ -72,7 +72,7 @@ static std::pair<int, int> StringToSize(const std::string& str)
|
|||
|
||||
static std::string SizeToString(const std::pair<int, int>& size)
|
||||
{
|
||||
return fmt::Format("%dx%d", size.first, size.second);
|
||||
return fmt::format("%dx%d", size.first, size.second);
|
||||
}
|
||||
|
||||
static WindowInfo StringToWindowInfo(const std::string& str)
|
||||
|
|
@ -100,7 +100,7 @@ static std::string WindowInfoToString(const WindowInfo& wind)
|
|||
{
|
||||
const int px = wind.position.first < -wind.size.first ? -1 : wind.position.first;
|
||||
const int py = wind.position.second < -wind.size.second ? -1 : wind.position.second;
|
||||
return fmt::Format("%dx%d:%dx%d", wind.size.first, wind.size.second, px, py);
|
||||
return fmt::format("%dx%d:%dx%d", wind.size.first, wind.size.second, px, py);
|
||||
}
|
||||
|
||||
//Ini
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue