Skip to content

Instantly share code, notes, and snippets.

View frangarcj's full-sized avatar

Francisco José García García frangarcj

View GitHub Profile
@frangarcj
frangarcj / main.cpp
Created September 13, 2015 23:31
VITA Globals error
/*
* Copyright (c) 2015 Sergi Granell (xerpi)
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <malloc.h>
#include <sys/time.h>
#include "emumain.h"
#include <psp2/types.h>
#include <psp2/kernel/threadmgr.h>
#include "time.h"
#include <psp2/rtc.h>
#define SCE_KERNEL_OK 0
#include "psplib/pl_rewind.h"
version: 1
machine: 40
.vitalink.fstubs----------
{ name: 'sceIoOpen' }
library: 1237592384
module: 3404311782
NID: 37661282
{ name: 'sceKernelExitProcess' }
library: 1237592384
version: 1
machine: 40
JSON:{"filename":"/home/osboxes/vita/sample/homebrew.elf.tmp",
"enc":1,
"type":2,
"machine":40,
"version":1,
"entry":2164260864,
"phoff":52,
"shoff":628,