mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-24 19:52:37 +01:00
Fixes -w leaking
This commit is contained in:
parent
80f0741103
commit
f98251a05a
2
3rdparty/SoundTouch/CMakeLists.txt
vendored
2
3rdparty/SoundTouch/CMakeLists.txt
vendored
@ -27,7 +27,7 @@ target_compile_definitions(soundtouch PUBLIC
|
||||
SOUNDTOUCH_FLOAT_SAMPLES;
|
||||
)
|
||||
|
||||
target_compile_options(soundtouch PUBLIC "-w")
|
||||
target_compile_options(soundtouch PRIVATE "-w")
|
||||
|
||||
if (CMAKE_SYSTEM_PROCESSOR MATCHES "^(x86|X86|amd64|AMD64|em64t|EM64T)")
|
||||
target_compile_definitions(soundtouch PUBLIC
|
||||
|
@ -86,7 +86,7 @@ error_code cellGifDecExtCreate(vm::ptr<GifDecoder> mainHandle, vm::cptr<CellGifD
|
||||
return CELL_GIFDEC_ERROR_ARG;
|
||||
}
|
||||
|
||||
if (extThreadInParam->maxContention == 0 || extThreadInParam->maxContention >= 8)
|
||||
if (extThreadInParam->maxContention == 0u || extThreadInParam->maxContention >= 8u)
|
||||
{
|
||||
return CELL_GIFDEC_ERROR_ARG;
|
||||
}
|
||||
|
@ -40,11 +40,11 @@ struct png_encoder
|
||||
bool check_config(vm::cptr<CellPngEncConfig> config)
|
||||
{
|
||||
if (!config ||
|
||||
config->maxWidth == 0 || config->maxWidth > 1000000 ||
|
||||
config->maxHeight == 0 || config->maxHeight > 1000000 ||
|
||||
config->maxBitDepth != 8 && config->maxBitDepth != 16 ||
|
||||
config->maxWidth == 0u || config->maxWidth > 1000000u ||
|
||||
config->maxHeight == 0u || config->maxHeight > 1000000u ||
|
||||
config->maxBitDepth != 8u && config->maxBitDepth != 16u ||
|
||||
static_cast<s32>(config->addMemSize) < 0 ||
|
||||
config->exParamNum != 0)
|
||||
config->exParamNum != 0u)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
@ -381,7 +381,7 @@ public:
|
||||
|
||||
void init_config(cfg_pad* cfg) override;
|
||||
bool Init() override;
|
||||
std::vector<pad_list_entry> list_devices();
|
||||
std::vector<pad_list_entry> list_devices() override;
|
||||
bool bindPadToDevice(std::shared_ptr<Pad> pad, u8 player_id) override;
|
||||
void get_next_button_press(const std::string& padId, const pad_callback& callback, const pad_fail_callback& fail_callback, bool get_blacklist = false, const std::vector<std::string>& buttons = {}) override;
|
||||
void get_motion_sensors(const std::string& padId, const motion_callback& callback, const motion_fail_callback& fail_callback, motion_preview_values preview_values, const std::array<AnalogSensor, 4>& sensors) override;
|
||||
|
Loading…
Reference in New Issue
Block a user