From d448823ffb540cb462548552efe4b5650e66de95 Mon Sep 17 00:00:00 2001 From: slipstream/RoL Date: Mon, 20 Feb 2017 18:29:22 +0000 Subject: Add support for almost all Gen III games MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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! --- gba/source/saveblocks.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 gba/source/saveblocks.h (limited to 'gba/source/saveblocks.h') 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 @@ +/* + * Example Gen3-multiboot payload by slipstream/RoL 2017. + * + * This software may be modified and distributed under the terms + * of the MIT license. See the LICENSE file for details. + * + * saveblocks.h: describes saveblock structures for all of Gen 3 (yay!) + */ + +// TODO: this entire file. Placeholders for now, fill in later, if I can be bothered. +// I don't really want to make a fork of pokeruby's headers for now... + +typedef u8 SaveBlock1, *pSaveBlock1; +typedef u8 SaveBlock2, *pSaveBlock2; +typedef u8 SaveBlock3, *pSaveBlock3; \ No newline at end of file -- cgit 1.4.1