forked from Mirror/GodMode9
TicketDB mount: show console ID as big endian
This commit is contained in:
parent
15bf632143
commit
f48bb58bac
@ -135,7 +135,7 @@ bool ReadVBDRIDir(VirtualFile* vfile, VirtualDir* vdir) {
|
|||||||
continue;
|
continue;
|
||||||
|
|
||||||
memset(vfile, 0, sizeof(VirtualFile));
|
memset(vfile, 0, sizeof(VirtualFile));
|
||||||
snprintf(vfile->name, 32, NAME_TIK, tid, getbe32(tick_info[vdir->index].console_id));
|
snprintf(vfile->name, 32, NAME_TIK, tid, getle32(tick_info[vdir->index].console_id));
|
||||||
vfile->offset = vdir->index; // "offset" is the internal buffer index
|
vfile->offset = vdir->index; // "offset" is the internal buffer index
|
||||||
vfile->size = tick_info[vdir->index].size;
|
vfile->size = tick_info[vdir->index].size;
|
||||||
vfile->keyslot = 0xFF;
|
vfile->keyslot = 0xFF;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user