Skip to content

Commit

Permalink
v0.10.42: tested to build and auto-detect digital titles
Browse files Browse the repository at this point in the history
  • Loading branch information
meladroit committed Oct 3, 2015
1 parent a4c5daf commit 9a684a6
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions source/filesystem.c
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ Result FSUSER_ControlArchive(Handle handle, FS_archive archive)
return cmdbuf[1];
}

Result FSUSER_GetMediaType(Handle handle, u8* mediatype)
/*Result FSUSER_GetMediaType(Handle handle, u8* mediatype)
{
u32* cmdbuf=getThreadCommandBuffer();
Expand All @@ -126,7 +126,7 @@ Result FSUSER_GetMediaType(Handle handle, u8* mediatype)
*mediatype = (u8)cmdbuf[2];
return cmdbuf[1];
}
}*/

// let's add stuff from 3ds_hb_menu, just because
Result loadFile(char* path, void* dst, FS_archive* archive, Handle* fsHandle, u64 maxSize)
Expand Down
2 changes: 1 addition & 1 deletion source/filesystem.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Result filesystemInit();
Result filesystemExit();
Result filesystemSoftReset();
Result FSUSER_ControlArchive(Handle handle, FS_archive archive);
Result FSUSER_GetMediaType(Handle handle, u8* mediatype);
//Result FSUSER_GetMediaType(Handle handle, u8* mediatype);
Result loadFile(char* path, void* dst, FS_archive* archive, Handle* fsHandle, u64 maxSize);
Result writeFile(char* path, u8* data, u32 size, FS_archive* archive, Handle* fsHandle);
Result deleteFile(char* path, FS_archive* archive, Handle* fsHandle);
Expand Down
4 changes: 2 additions & 2 deletions source/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -568,7 +568,7 @@ int main()
time_t temps = time(NULL);
strftime(tempStr,16,"%Y%m%d_%H%M%S",gmtime(&temps));
strncpy(titleTitle,tempStr,MAX_PATH_LENGTH);
FSUSER_GetMediaType(saveGameFsHandle,&mediatype);
FSUSER_GetMediaType(&saveGameFsHandle,&mediatype);
if (mediatype==2)
{
// we fetch target app title automatically for gamecards
Expand Down Expand Up @@ -717,7 +717,7 @@ int main()

consoleSelect(&titleBar);
textcolour(TEAL);
printf("svdt 0.11, meladroit/willidleaway/suloku\n");
printf("svdt 0.10.42, meladroit/willidleaway/suloku\n");
printf("a hacked-together save data explorer/manager\n");
gotoxy(CURSOR_WIDTH,2);
textcolour(GREY);
Expand Down
Binary file modified svdt.3dsx
Binary file not shown.
2 changes: 1 addition & 1 deletion svdt.xml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
<targets selectable="true">
<targets selectable="true">
</targets>

0 comments on commit 9a684a6

Please sign in to comment.