yuzu/src/core
Lioncash 0a0b3c4b9f ipc_helpers: Add PushEnum() member function to ResponseBuilder
Allows pushing strongly-typed enum members without the need to always
cast them at the call sites.

Note that we *only* allow strongly-typed enums in this case. The reason
for this is that strongly typed enums have a guaranteed defined size, so
the size of the data being pushed is always deterministic. With regular
enums this can be a little more error-prone, so we disallow them.

This function simply uses the underlying type of the enum to determine
the size of the data. For example, if an enum is defined as:

enum class SomeEnum : u16 {
  SomeEntry
};

if PushEnum(SomeEnum::SomeEntry); is called, then it will push a
u16-size amount of data.
2018-07-20 15:00:58 -04:00
..
arm scheduler: Clear exclusive state when switching contexts 2018-07-16 11:24:00 +01:00
file_sys Merge pull request #737 from lioncash/move 2018-07-20 09:21:15 -07:00
frontend Rename logging macro back to LOG_* 2018-07-02 21:45:47 -04:00
gdbstub gdbstub: Get rid of a few signed/unsigned comparisons 2018-07-19 15:27:01 -04:00
hle ipc_helpers: Add PushEnum() member function to ResponseBuilder 2018-07-20 15:00:58 -04:00
hw Rename logging macro back to LOG_* 2018-07-02 21:45:47 -04:00
loader Merge pull request #737 from lioncash/move 2018-07-20 09:21:15 -07:00
tracer Rename logging macro back to LOG_* 2018-07-02 21:45:47 -04:00
CMakeLists.txt Virtual Filesystem 2: Electric Boogaloo (#676) 2018-07-18 18:07:11 -07:00
core_cpu.cpp Rename logging macro back to LOG_* 2018-07-02 21:45:47 -04:00
core_cpu.h core: Support session close with multicore. 2018-05-10 19:34:47 -04:00
core_timing.cpp Rename logging macro back to LOG_* 2018-07-02 21:45:47 -04:00
core_timing.h core_timing: Don't include the log header in core timing's header 2018-05-03 08:00:15 -04:00
core.cpp Merge pull request #687 from lioncash/instance 2018-07-18 18:55:58 -07:00
core.h core: Make System's default constructor private 2018-07-18 18:18:27 -04:00
memory_hook.cpp memory_hook: Default virtual destructor in the cpp file 2018-05-03 08:12:16 -04:00
memory_hook.h memory_hook: Default virtual destructor in the cpp file 2018-05-03 08:12:16 -04:00
memory_setup.h memory: Replace all memory hooking with Special regions 2018-01-27 15:16:39 +00:00
memory.cpp Merge pull request #690 from lioncash/move 2018-07-18 20:55:55 -07:00
memory.h Kernel/Arbiters: Fix casts, cleanup comments/magic numbers 2018-06-22 00:47:59 -06:00
perf_stats.cpp math_util: Remove the Clamp() function 2018-04-20 10:14:13 -04:00
perf_stats.h PerfStats: Re-order and document members better 2017-02-26 17:22:04 -08:00
settings.cpp Remove references to PICA and rasterizers in video_core 2018-01-12 19:11:03 -07:00
settings.h settings: Add a configuration for use_accurate_framebuffers. 2018-06-27 00:08:04 -04:00
telemetry_session.cpp Rename logging macro back to LOG_* 2018-07-02 21:45:47 -04:00
telemetry_session.h telemetry_session.h: Reword Documentation Comment from citra to yuzu 2018-03-27 11:16:59 +02:00