mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-12-19 00:42:06 +00:00
loader; suppress gcc warning
This commit is contained in:
parent
a5854afd2f
commit
7ddaad615b
1 changed files with 40 additions and 39 deletions
|
@ -121,8 +121,9 @@ Result ContentManagement::UnmountCode() {
|
||||||
|
|
||||||
|
|
||||||
void ContentManagement::TryMountHblNspOnSd() {
|
void ContentManagement::TryMountHblNspOnSd() {
|
||||||
char path[FS_MAX_PATH + 1] = {0};
|
char path[FS_MAX_PATH + 1];
|
||||||
strncpy(path, g_hbl_sd_path, FS_MAX_PATH);
|
strncpy(path, g_hbl_sd_path, FS_MAX_PATH);
|
||||||
|
path[FS_MAX_PATH] = 0;
|
||||||
for (unsigned int i = 0; i < FS_MAX_PATH && path[i] != '\x00'; i++) {
|
for (unsigned int i = 0; i < FS_MAX_PATH && path[i] != '\x00'; i++) {
|
||||||
if (path[i] == '\\') {
|
if (path[i] == '\\') {
|
||||||
path[i] = '/';
|
path[i] = '/';
|
||||||
|
|
Loading…
Reference in a new issue