Various build fixes

This commit is contained in:
Connor McLaughlin
2022-03-27 17:16:21 +10:00
parent 3d61e3e379
commit 859a156b3c
8 changed files with 29 additions and 69 deletions

View File

@ -249,7 +249,7 @@ bool IsValidPSExeHeader(const PSEXEHeader& header, u32 file_size)
if ((header.file_size + sizeof(PSEXEHeader)) > file_size)
{
Log_WarningPrintf("Incorrect file size in PS-EXE header: %u bytes should not be greater than %u bytes",
header.file_size, file_size - sizeof(PSEXEHeader));
header.file_size, static_cast<unsigned>(file_size - sizeof(PSEXEHeader)));
}
return true;

View File

@ -2,6 +2,7 @@
#include "common/types.h"
#include "imgui.h"
#include <functional>
#include <memory>
#include <string>
#include <vector>