Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

adrifcastr adrifcastr

🏠
Working from home
View GitHub Profile
@rdmrocha
rdmrocha / nsp_version_patcher.cpp
Last active Aug 1, 2018
NSP Version patcher
View nsp_version_patcher.cpp
#include <boost/iostreams/device/mapped_file.hpp>
#include <boost/algorithm/string.hpp>
#include <algorithm>
#include <iostream>
#include <cstring>
#include <inttypes.h>
/***** TAKEN AND ADAPTED FROM HACTOOL SOURCE CODE - BEGIN *****/
#define MAGIC_PFS0 0x30534650
You can’t perform that action at this time.