Documentation
¶
Overview ¶
Package patch applies a person's own IPS and BPS patch files to a copy of a game. A patch is an untrusted file, so every length is checked before it's used and the output's size is limited before any memory is set aside.
Index ¶
Constants ¶
View Source
const ( MaxPatch = 64 << 20 // the patch file MaxOutput = 512 << 20 // the game it produces )
Limits.
View Source
const ( IPS = "ips" BPS = "bps" )
Kinds of patch.
Variables ¶
View Source
var ErrSource = errors.New("this patch was made for a different version of this game")
ErrSource means the patch was made for a different copy of the game.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.