about summary refs log tree commit diff stats
path: root/gba/source/saveblocks.h
diff options
context:
space:
mode:
authorslipstream/RoL <l33twax@yahoo.com>2017-02-20 18:29:22 +0000
committerslipstream/RoL <l33twax@yahoo.com>2017-02-20 18:29:22 +0000
commitd448823ffb540cb462548552efe4b5650e66de95 (patch)
tree8938c01996d872f3b0e764786b20ebe46d97382a /gba/source/saveblocks.h
parent272a6592bace32cc4b2c5432aa3fad4066f152c6 (diff)
downloadgen3uploader-d448823ffb540cb462548552efe4b5650e66de95.tar.gz
gen3uploader-d448823ffb540cb462548552efe4b5650e66de95.tar.bz2
gen3uploader-d448823ffb540cb462548552efe4b5650e66de95.zip
Add support for almost all Gen III games
The only Gen III game unsupported should be Pokémon LeafGreen v1.1
(Japan); as it is undumped.

A couple of bugs have also been fixed.

The code has also been refactored a little; now payload code goes into
`payload.c`. The codebase is also ready for a planned future change to
include savedata structure definitions. This will be done when it's done
-- PRs to help would be appreciated!
Diffstat (limited to 'gba/source/saveblocks.h')
-rw-r--r--gba/source/saveblocks.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/gba/source/saveblocks.h b/gba/source/saveblocks.h new file mode 100644 index 0000000..45c127c --- /dev/null +++ b/gba/source/saveblocks.h
@@ -0,0 +1,15 @@
1/*
2 * Example Gen3-multiboot payload by slipstream/RoL 2017.
3 *
4 * This software may be modified and distributed under the terms
5 * of the MIT license. See the LICENSE file for details.
6 *
7 * saveblocks.h: describes saveblock structures for all of Gen 3 (yay!)
8 */
9
10// TODO: this entire file. Placeholders for now, fill in later, if I can be bothered.
11// I don't really want to make a fork of pokeruby's headers for now...
12
13typedef u8 SaveBlock1, *pSaveBlock1;
14typedef u8 SaveBlock2, *pSaveBlock2;
15typedef u8 SaveBlock3, *pSaveBlock3; \ No newline at end of file