citra/src/core
Lioncash 5ddd382a9b kernel/svc: Do nothing if svcOutputDebugString's length is <= 0
While likely very uncommon, this sanitizes the input and does nothing in
the event of the length being equal to or less than zero, avoiding
constructing a std::string when there's no need to. It also avoids an
out-of-memory scenario, as a negative value would wrap around to its
equivalent unsigned representation in std::string's constructor.

e.g. If someone was silly and a length of -1 was specified, this would
make a string with a length of 0xFFFFFFFFFFFFFFFF on a 64-bit platform,
which will obviously eventually fail due to the allocation being way too
large.
2018-09-17 19:52:53 -04:00
..
arm Prefix all size_t with std:: 2018-09-06 16:03:28 -04:00
file_sys Prefix all size_t with std:: 2018-09-06 16:03:28 -04:00
frontend emu_window: Ensure WindowConfig members are always initialized 2018-08-31 00:55:04 +02:00
gdbstub Prefix all size_t with std:: 2018-09-06 16:03:28 -04:00
hle kernel/svc: Do nothing if svcOutputDebugString's length is <= 0 2018-09-17 19:52:53 -04:00
hw Prefix all size_t with std:: 2018-09-06 16:03:28 -04:00
loader Prefix all size_t with std:: 2018-09-06 16:03:28 -04:00
rpc Initial support for scripting (#4016) 2018-09-11 22:00:12 +02:00
tracer Prefix all size_t with std:: 2018-09-06 16:03:28 -04:00
3ds.h Move screen size constants from video_core to core 2017-05-27 18:41:24 -07:00
announce_multiplayer_session.cpp Change variable name to web_api_url 2018-09-12 19:07:06 +02:00
announce_multiplayer_session.h Use Common::Event 2017-12-14 12:36:37 +01:00
CMakeLists.txt Initial support for scripting (#4016) 2018-09-11 22:00:12 +02:00
core.cpp Initial support for scripting (#4016) 2018-09-11 22:00:12 +02:00
core.h Initial support for scripting (#4016) 2018-09-11 22:00:12 +02:00
core_timing.cpp Merge pull request #4078 from zhaowenlan1779/port-yuzu-934 2018-08-11 10:26:21 +01:00
core_timing.h Merge pull request #4078 from zhaowenlan1779/port-yuzu-934 2018-08-11 10:26:21 +01:00
memory.cpp Prefix all size_t with std:: 2018-09-06 16:03:28 -04:00
memory.h Prefix all size_t with std:: 2018-09-06 16:03:28 -04:00
memory_setup.h Update the entire application to use the new clang format style 2018-03-09 10:54:43 -07:00
mmio.h Prefix all size_t with std:: 2018-09-06 16:03:28 -04:00
movie.cpp citra_qt, movie: allow recording/playback before emulation starts 2018-08-20 11:34:27 +02:00
movie.h Prefix all size_t with std:: 2018-09-06 16:03:28 -04:00
perf_stats.cpp core_timing: Make GetGlobalTimeUs() return std::chrono::microseconds 2018-08-10 09:56:17 +08:00
perf_stats.h core_timing: Make GetGlobalTimeUs() return std::chrono::microseconds 2018-08-10 09:56:17 +08:00
settings.cpp video_core: Make global EmuWindow instance part of the base renderer … 2018-08-25 15:20:40 +02:00
settings.h Change variable name to web_api_url 2018-09-12 19:07:06 +02:00
telemetry_session.cpp Change variable name to web_api_url 2018-09-12 19:07:06 +02:00
telemetry_session.h WebService: Verify username and token (#2930) 2017-09-18 21:18:26 -04:00