yuzu-emu
/
yuzu
Archived
1
0
Fork 0
This repository has been archived on 2024-03-23. You can view files and clone it, but cannot push or open issues or pull requests.
yuzu/src
Lioncash baed7e1fba kernel/thread: Make all instance variables private
Many of the member variables of the thread class aren't even used
outside of the class itself, so there's no need to make those variables
public. This change follows in the steps of the previous changes that
made other kernel types' members private.

The main motivation behind this is that the Thread class will likely
change in the future as emulation becomes more accurate, and letting
random bits of the emulator access data members of the Thread class
directly makes it a pain to shuffle around and/or modify internals.
Having all data members public like this also makes it difficult to
reason about certain bits of behavior without first verifying what parts
of the core actually use them.

Everything being public also generally follows the tendency for changes
to be introduced in completely different translation units that would
otherwise be better introduced as an addition to the Thread class'
public interface.
2018-10-04 00:14:15 -04:00
..
audio_core stream: Preserve enum class type in GetState() 2018-09-23 20:03:38 -04:00
common Merge pull request #1365 from DarkLordZach/lfs 2018-09-25 16:59:44 -04:00
core kernel/thread: Make all instance variables private 2018-10-04 00:14:15 -04:00
input_common Port #4141 from citra: Joystick hotplug support (#1275) 2018-09-10 21:29:59 -04:00
tests kernel/process: Make data member variables private 2018-09-30 02:30:01 -04:00
video_core Merge pull request #1330 from raven02/tlds 2018-09-30 21:53:38 -04:00
yuzu kernel/thread: Make all instance variables private 2018-10-04 00:14:15 -04:00
yuzu_cmd Update config.cpp 2018-09-21 16:16:51 -05: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