aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/server_session.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-10-24 10:56:16 -0400
committerLioncash <mathew1800@gmail.com>2018-10-24 11:01:23 -0400
commit7b6546451e79407184ded4b65f0b85f168639a5b (patch)
tree9ae39445a445dc7c8091615a0a915e8066985c0c /src/core/hle/kernel/server_session.cpp
parent393d92efce07f59f90ead89b3fb610f1af8898a6 (diff)
graphic_breakpoints: Correct translation of strings in BreakpointModel's data() function
tr() will not function properly on static/global data like this, as the object is only ever constructed once, so the strings won't translate if the language is changed without restarting the program, which is undesirable. Instead we can just turn the map into a plain old function that maps the values to their equivalent strings. This is also lessens the memory allocated, since it's only allocating memory for the strings themselves, and not an encompassing map as well.
Diffstat (limited to 'src/core/hle/kernel/server_session.cpp')
0 files changed, 0 insertions, 0 deletions