mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-13 10:18:40 +12:00
Fix warnings
This commit is contained in:
parent
b7e4de6ea5
commit
064fc81697
2 changed files with 2 additions and 3 deletions
|
@ -550,8 +550,7 @@ extern bool ppu_breakpoint(u32 addr, bool is_adding)
|
||||||
std::swap(to_set, expected);
|
std::swap(to_set, expected);
|
||||||
}
|
}
|
||||||
|
|
||||||
auto& ref = reinterpret_cast<atomic_t<u64>&>(ppu_ref(addr));
|
return atomic_storage<u64>::compare_exchange(ppu_ref(addr), expected, to_set);
|
||||||
return ref.compare_and_swap_test(expected, to_set);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
extern bool ppu_patch(u32 addr, u32 value)
|
extern bool ppu_patch(u32 addr, u32 value)
|
||||||
|
|
|
@ -145,7 +145,7 @@ namespace utils
|
||||||
info.duration_us = av_format_ctx->duration;
|
info.duration_us = av_format_ctx->duration;
|
||||||
|
|
||||||
AVDictionaryEntry* tag = nullptr;
|
AVDictionaryEntry* tag = nullptr;
|
||||||
while (tag = av_dict_get(av_format_ctx->metadata, "", tag, AV_DICT_IGNORE_SUFFIX))
|
while ((tag = av_dict_get(av_format_ctx->metadata, "", tag, AV_DICT_IGNORE_SUFFIX)))
|
||||||
{
|
{
|
||||||
info.metadata[tag->key] = tag->value;
|
info.metadata[tag->key] = tag->value;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue