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
|
struct USBOptions
|
||||||
{
|
{
|
||||||
enum : u32
|
static constexpr u32 NUM_PORTS = 2;
|
||||||
{
|
|
||||||
NUM_PORTS = 2
|
|
||||||
};
|
|
||||||
|
|
||||||
struct Port
|
struct Port
|
||||||
{
|
{
|
||||||
|
|
|
@ -28,6 +28,7 @@
|
||||||
#include "common/StringUtil.h"
|
#include "common/StringUtil.h"
|
||||||
#include "common/Timer.h"
|
#include "common/Timer.h"
|
||||||
|
|
||||||
|
namespace {
|
||||||
#pragma pack(push, 1)
|
#pragma pack(push, 1)
|
||||||
struct CacheIndexEntry
|
struct CacheIndexEntry
|
||||||
{
|
{
|
||||||
|
@ -42,6 +43,7 @@ struct CacheIndexEntry
|
||||||
u32 blob_format;
|
u32 blob_format;
|
||||||
};
|
};
|
||||||
#pragma pack(pop)
|
#pragma pack(pop)
|
||||||
|
}
|
||||||
|
|
||||||
GLShaderCache::GLShaderCache() = default;
|
GLShaderCache::GLShaderCache() = default;
|
||||||
|
|
||||||
|
|
|
@ -44,6 +44,7 @@
|
||||||
|
|
||||||
std::unique_ptr<VKShaderCache> g_vulkan_shader_cache;
|
std::unique_ptr<VKShaderCache> g_vulkan_shader_cache;
|
||||||
|
|
||||||
|
namespace {
|
||||||
#pragma pack(push, 4)
|
#pragma pack(push, 4)
|
||||||
struct VK_PIPELINE_CACHE_HEADER
|
struct VK_PIPELINE_CACHE_HEADER
|
||||||
{
|
{
|
||||||
|
@ -64,6 +65,7 @@ struct CacheIndexEntry
|
||||||
u32 blob_size;
|
u32 blob_size;
|
||||||
};
|
};
|
||||||
#pragma pack(pop)
|
#pragma pack(pop)
|
||||||
|
}
|
||||||
|
|
||||||
static bool ValidatePipelineCacheHeader(const VK_PIPELINE_CACHE_HEADER& header)
|
static bool ValidatePipelineCacheHeader(const VK_PIPELINE_CACHE_HEADER& header)
|
||||||
{
|
{
|
||||||
|
|
|
@ -29,6 +29,10 @@
|
||||||
|
|
||||||
namespace usb_printer
|
namespace usb_printer
|
||||||
{
|
{
|
||||||
|
static const char* sPrinterNames[] = {
|
||||||
|
"Sony DPP-MP1",
|
||||||
|
};
|
||||||
|
|
||||||
typedef struct PrinterState
|
typedef struct PrinterState
|
||||||
{
|
{
|
||||||
USBDevice dev{};
|
USBDevice dev{};
|
||||||
|
|
|
@ -120,10 +120,6 @@ namespace usb_printer
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
static const char* sPrinterNames[] = {
|
|
||||||
"Sony DPP-MP1",
|
|
||||||
};
|
|
||||||
|
|
||||||
class PrinterDevice final : public DeviceProxy
|
class PrinterDevice final : public DeviceProxy
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
Loading…
Reference in New Issue