summaryrefslogtreecommitdiff
path: root/src/input_common/sdl/sdl_impl.cpp
diff options
context:
space:
mode:
authorGravatar Lioncash2019-03-02 14:28:58 -0500
committerGravatar Lioncash2019-03-02 14:44:24 -0500
commitf8f1ff0b4f79a6c8807c3bca71e9a7a3ec4bff69 (patch)
treed6da2afbfecd91459070227a31010ab37bb36e20 /src/input_common/sdl/sdl_impl.cpp
parentlogging/backend: Move CreateEntry into the Impl class (diff)
downloadyuzu-f8f1ff0b4f79a6c8807c3bca71e9a7a3ec4bff69.tar.gz
yuzu-f8f1ff0b4f79a6c8807c3bca71e9a7a3ec4bff69.tar.xz
yuzu-f8f1ff0b4f79a6c8807c3bca71e9a7a3ec4bff69.zip
logging/backend: Make time_origin a class variable instead of a local static
Moves local global state into the Impl class itself and initializes it at the creation of the instance instead of in the function. This makes it nicer for weakly-ordered architectures, given the CreateEntry() class won't need to have atomic loads executed for each individual call to the CreateEntry class.
Diffstat (limited to 'src/input_common/sdl/sdl_impl.cpp')
0 files changed, 0 insertions, 0 deletions