yuzu/src
Lioncash 0cbcd6ec9a kernel: Eliminate kernel global state
As means to pave the way for getting rid of global state within core,
This eliminates kernel global state by removing all globals. Instead
this introduces a KernelCore class which acts as a kernel instance. This
instance lives in the System class, which keeps its lifetime contained
to the lifetime of the System class.

This also forces the kernel types to actually interact with the main
kernel instance itself instead of having transient kernel state placed
all over several translation units, keeping everything together. It also
has a nice consequence of making dependencies much more explicit.

This also makes our initialization a tad bit more correct. Previously we
were creating a kernel process before the actual kernel was initialized,
which doesn't really make much sense.

The KernelCore class itself follows the PImpl idiom, which allows
keeping all the implementation details sealed away from everything else,
which forces the use of the exposed API and allows us to avoid any
unnecessary inclusions within the main kernel header.
2018-08-28 22:31:51 -04:00
..
audio_core audio_core/filter: Add explicit cast to assignment in Process() 2018-08-21 12:32:37 -04:00
common Merge pull request #1170 from lioncash/ret 2018-08-27 18:18:31 -04:00
core kernel: Eliminate kernel global state 2018-08-28 22:31:51 -04:00
input_common input_common: Use std::move where applicable 2018-08-02 21:51:11 -04:00
tests kernel: Eliminate kernel global state 2018-08-28 22:31:51 -04:00
video_core Merge pull request #1193 from lioncash/priv 2018-08-28 12:28:57 -04:00
yuzu kernel: Eliminate kernel global state 2018-08-28 22:31:51 -04:00
yuzu_cmd Port #3353 from Citra 2018-08-21 01:14:06 +02:00
.clang-format Remove special rules for Windows.h and library includes 2016-09-21 00:16:33 -07:00
CMakeLists.txt audio_core: Add initial code for keeping track of audout state. 2018-07-27 22:33:31 -04:00