mirror of https://github.com/PCSX2/pcsx2.git
Misc: Fix a few warnings
This commit is contained in:
parent
224460e62d
commit
e52766d047
|
@ -1170,10 +1170,7 @@ struct Pcsx2Config
|
|||
// ------------------------------------------------------------------------
|
||||
struct USBOptions
|
||||
{
|
||||
enum : u32
|
||||
{
|
||||
NUM_PORTS = 2
|
||||
};
|
||||
static constexpr u32 NUM_PORTS = 2;
|
||||
|
||||
struct Port
|
||||
{
|
||||
|
|
|
@ -28,6 +28,7 @@
|
|||
#include "common/StringUtil.h"
|
||||
#include "common/Timer.h"
|
||||
|
||||
namespace {
|
||||
#pragma pack(push, 1)
|
||||
struct CacheIndexEntry
|
||||
{
|
||||
|
@ -42,6 +43,7 @@ struct CacheIndexEntry
|
|||
u32 blob_format;
|
||||
};
|
||||
#pragma pack(pop)
|
||||
}
|
||||
|
||||
GLShaderCache::GLShaderCache() = default;
|
||||
|
||||
|
|
|
@ -44,6 +44,7 @@
|
|||
|
||||
std::unique_ptr<VKShaderCache> g_vulkan_shader_cache;
|
||||
|
||||
namespace {
|
||||
#pragma pack(push, 4)
|
||||
struct VK_PIPELINE_CACHE_HEADER
|
||||
{
|
||||
|
@ -64,6 +65,7 @@ struct CacheIndexEntry
|
|||
u32 blob_size;
|
||||
};
|
||||
#pragma pack(pop)
|
||||
}
|
||||
|
||||
static bool ValidatePipelineCacheHeader(const VK_PIPELINE_CACHE_HEADER& header)
|
||||
{
|
||||
|
|
|
@ -29,6 +29,10 @@
|
|||
|
||||
namespace usb_printer
|
||||
{
|
||||
static const char* sPrinterNames[] = {
|
||||
"Sony DPP-MP1",
|
||||
};
|
||||
|
||||
typedef struct PrinterState
|
||||
{
|
||||
USBDevice dev{};
|
||||
|
|
|
@ -120,10 +120,6 @@ namespace usb_printer
|
|||
},
|
||||
};
|
||||
|
||||
static const char* sPrinterNames[] = {
|
||||
"Sony DPP-MP1",
|
||||
};
|
||||
|
||||
class PrinterDevice final : public DeviceProxy
|
||||
{
|
||||
public:
|
||||
|
|
Loading…
Reference in New Issue