Skip to content

Instantly share code, notes, and snippets.

@pedro-javierf
Last active September 9, 2016 18:16
Show Gist options
  • Save pedro-javierf/2f15b673241093b4cc40b63ba819d12c to your computer and use it in GitHub Desktop.
Save pedro-javierf/2f15b673241093b4cc40b63ba819d12c to your computer and use it in GitHub Desktop.
VitaShell RW Test for darkmet
//Profit?
void *buf = malloc(0x100);
int i;
if (pressed_buttons & SCE_CTRL_LTRIGGER)
{
vshIoUmount(0x100, 0, 0, 0); // id, unk1, unk2, unk3 (flags ?)
_vshIoMount(0x100, 0, 2, buf); // id, unk, permission, work_buffer
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment