yuzu/src/common
Lioncash 6e1c6297a3 fixed_point: Mark default constructor as constexpr
Ensures that a fixed-point value is always initialized

This likely also fixes several cases of uninitialized values being
operated on, since we have multiple areas in the codebase where the
default constructor is being used like:

Common::FixedPoint<50, 14> current_sample{};

and is then followed up with an arithmetic operation like += or
something else, which operates directly on FixedPoint's internal data
member, which would previously be uninitialized.
2022-10-18 16:06:50 -04:00
..
fs path_util: Resolve -Wpointer-bool-conversion warning 2022-05-26 19:01:26 -04:00
logging common: remove "yuzu:" prefix from thread names 2022-10-03 18:43:56 -04:00
x64 Revert Coretiming PRs 8531 and 7454 (#8591) 2022-07-27 19:47:06 -04:00
address_space.cpp general: Format licenses as per SPDX guidelines 2022-10-06 21:00:54 +02:00
address_space.h address_space: Rename va_start to virt_start 2022-10-06 21:00:54 +02:00
address_space.inc general: rework usages of UNREACHABLE macro 2022-10-06 21:00:54 +02:00
algorithm.h General: Fix compilation for GCC 2022-10-06 21:00:53 +02:00
alignment.h chore: make yuzu REUSE compliant 2022-07-27 12:53:49 +02:00
announce_multiplayer_room.h yuzu: Display current game version in multiplayer room 2022-08-27 03:31:17 +02:00
assert.cpp common/assert: rework ASSERT handling to avoid std::function usage 2022-06-13 20:09:32 -04:00
assert.h common/assert: rework ASSERT handling to avoid std::function usage 2022-06-13 20:09:32 -04:00
atomic_helpers.h chore: make yuzu REUSE compliant 2022-07-27 12:53:49 +02:00
atomic_ops.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
bit_cast.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
bit_field.h General: Fix compilation for GCC 2022-10-06 21:00:53 +02:00
bit_set.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
bit_util.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
bounded_threadsafe_queue.h bounded_threadsafe_queue: Use constexpr capacity and mask 2022-06-15 16:59:13 -04:00
cityhash.cpp chore: add missing SPDX tags 2022-04-28 18:24:11 +02:00
cityhash.h chore: add missing SPDX tags 2022-04-28 18:24:11 +02:00
CMakeLists.txt CMake: Try add library "LZ4::lz4_shared" if "lz4::lz4" is unavailable 2022-10-13 17:23:47 -07:00
common_funcs.h common_funcs: Mark padding as [[maybe_unused]] 2022-07-15 10:34:38 +01:00
common_types.h chore: add missing SPDX tags 2022-04-28 18:24:11 +02:00
concepts.h fixed_point: Use variable templates and concepts where applicable 2022-10-18 16:06:46 -04:00
detached_tasks.cpp chore: make yuzu REUSE compliant 2022-07-27 12:53:49 +02:00
detached_tasks.h chore: make yuzu REUSE compliant 2022-07-27 12:53:49 +02:00
div_ceil.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
dynamic_library.cpp chore: add missing SPDX tags 2022-04-28 18:24:11 +02:00
dynamic_library.h chore: add missing SPDX tags 2022-04-28 18:24:11 +02:00
elf.h common: consolidate ELF structure definitions 2022-06-05 09:42:05 -04:00
error.cpp chore: make yuzu REUSE compliant 2022-07-27 12:53:49 +02:00
error.h chore: make yuzu REUSE compliant 2022-07-27 12:53:49 +02:00
expected.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
fiber.cpp common/fiber: make fibers easier to use 2022-07-02 12:33:49 -04:00
fiber.h common/fiber: make fibers easier to use 2022-07-02 12:33:49 -04:00
fixed_point.h fixed_point: Mark default constructor as constexpr 2022-10-18 16:06:50 -04:00
hash.h Refactor VideoCore to use AS sepparate from Channel. 2022-10-06 21:00:52 +02:00
hex_util.cpp chore: add missing SPDX tags 2022-04-28 18:24:11 +02:00
hex_util.h chore: add missing SPDX tags 2022-04-28 18:24:11 +02:00
host_memory.cpp general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
host_memory.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
input.h input_common: have an unique vector in callback status 2022-10-09 12:49:18 -05:00
intrusive_red_black_tree.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
literals.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
lru_cache.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
lz4_compression.cpp general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
lz4_compression.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
math_util.h chore: add missing SPDX tags 2022-04-28 18:24:11 +02:00
memory_detect.cpp general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
memory_detect.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
microprofile.cpp chore: make yuzu REUSE compliant 2022-07-27 12:53:49 +02:00
microprofile.h code: dodge PAGE_SIZE #define 2022-08-19 16:08:40 -07:00
microprofileui.h chore: make yuzu REUSE compliant 2022-07-27 12:53:49 +02:00
multi_level_page_table.cpp general: Format licenses as per SPDX guidelines 2022-10-06 21:00:54 +02:00
multi_level_page_table.h General: address feedback 2022-10-06 21:00:54 +02:00
multi_level_page_table.inc general: Format licenses as per SPDX guidelines 2022-10-06 21:00:54 +02:00
nvidia_flags.cpp general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
nvidia_flags.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
page_table.cpp general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
page_table.h core/debugger: memory breakpoint support 2022-06-16 13:18:07 -04:00
param_package.cpp chore: make yuzu REUSE compliant 2022-07-27 12:53:49 +02:00
param_package.h chore: make yuzu REUSE compliant 2022-07-27 12:53:49 +02:00
parent_of_member.h Silence std::aligned_storage warnings as it's deprecated in C++23, 2022-09-01 16:50:41 +01:00
point.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
quaternion.h chore: make yuzu REUSE compliant 2022-07-27 12:53:49 +02:00
reader_writer_queue.h chore: make yuzu REUSE compliant 2022-07-27 12:53:49 +02:00
ring_buffer.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
scm_rev.cpp.in chore: make yuzu REUSE compliant 2022-07-27 12:53:49 +02:00
scm_rev.h chore: make yuzu REUSE compliant 2022-07-27 12:53:49 +02:00
scope_exit.h chore: make yuzu REUSE compliant 2022-07-27 12:53:49 +02:00
settings_input.cpp general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
settings_input.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
settings.cpp video_core: add option for pessimistic flushing 2022-08-25 12:32:14 -04:00
settings.h settings: Update aspect_ratio range 2022-10-13 12:24:04 -04:00
socket_types.h Make copyright headers SPDX-compliant 2022-08-15 20:25:42 +02:00
spin_lock.cpp general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
spin_lock.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
stream.cpp general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
stream.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
string_util.cpp string_util: Add U16StringFromBuffer 2022-05-15 18:06:33 -04:00
string_util.h string_util: Add U16StringFromBuffer 2022-05-15 18:06:33 -04:00
swap.h chore: add missing SPDX tags 2022-04-28 18:24:11 +02:00
telemetry.cpp chore: make yuzu REUSE compliant 2022-07-27 12:53:49 +02:00
telemetry.h chore: make yuzu REUSE compliant 2022-07-27 12:53:49 +02:00
thread_queue_list.h chore: add missing SPDX tags 2022-04-28 18:24:11 +02:00
thread_worker.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
thread.cpp Core: Fix tests. 2022-06-28 01:10:55 +02:00
thread.h Make coretiming waiting more accurate 2022-08-02 01:01:54 -04:00
threadsafe_queue.h common: move forwarded value into SPSCQueue 2022-07-29 15:41:57 -04:00
time_zone.cpp general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
time_zone.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
tiny_mt.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
tree.h chore: add missing SPDX tags 2022-04-28 18:24:11 +02:00
uint128.h common: remove unneeded x86-specific header 2022-08-16 15:19:57 -06:00
unique_function.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
uuid.cpp general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
uuid.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
vector_math.h chore: add missing SPDX tags 2022-04-28 18:24:11 +02:00
virtual_buffer.cpp general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
virtual_buffer.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
wall_clock.cpp common/x64: Use TSC clock rate from CPUID when available 2022-07-06 12:42:01 -05:00
wall_clock.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
zstd_compression.cpp general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
zstd_compression.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00