1
0
Fork 0
mirror of https://github.com/Atmosphere-NX/Atmosphere.git synced 2024-11-26 05:42:17 +00:00

gdbstub: fix reading module name for homebrew

This commit is contained in:
Michael Scire 2022-10-15 15:13:05 -07:00
parent e580c3970c
commit f88606fbc1

View file

@ -187,7 +187,7 @@ namespace ams::dmnt {
/* Get module name buffer. */
char *module_name = module.GetNameBuffer();
module_name[0] = 0;
std::memset(module_name, 0, ModuleDefinition::PathLengthMax);
/* Read module path. */
struct {