mirror of
https://github.com/suloku/savegame-manager.git
synced 2026-09-09 03:35:51 -05:00
The source code for the 0.1.1 release (12-7-2010).
This commit is contained in:
2
Makefile
2
Makefile
@@ -7,7 +7,7 @@ endif
|
||||
|
||||
include $(DEVKITARM)/ds_rules
|
||||
|
||||
export TARGET := $(shell basename $(CURDIR))
|
||||
export TARGET := savegame_manager
|
||||
export TOPDIR := $(CURDIR)
|
||||
|
||||
|
||||
|
||||
@@ -55,10 +55,10 @@ void displayInit()
|
||||
consoleInit(&lowerScreen, 3,BgType_Text4bpp, BgSize_T_256x256, 31, 0, false, true);
|
||||
|
||||
consoleSelect(&upperScreen);
|
||||
displayMessage("DS savegame manager\nVersion 0.1 Beta\nBy Pokedoc");
|
||||
displayMessage("DS savegame manager\nVersion 0.1.1 Beta\nBy Pokedoc");
|
||||
|
||||
displayPrintState("Press (A) to continue");
|
||||
while (!(keysCurrent() & KEY_A));
|
||||
displayPrintState("Press (B) to continue");
|
||||
while (!(keysCurrent() & KEY_B));
|
||||
}
|
||||
|
||||
void displayPrintUpper()
|
||||
|
||||
@@ -272,11 +272,18 @@ void hwRestore3in1()
|
||||
while(0);
|
||||
}
|
||||
|
||||
void hwRestore3in1_b(uint32 size)
|
||||
void hwRestore3in1_b(uint32 size_file)
|
||||
{
|
||||
|
||||
// Third, swap in a new game
|
||||
swap_cart();
|
||||
uint32 size = auxspi_save_size_log_2();
|
||||
while ((size_file < size) || flash_card) {
|
||||
//char txt[33];
|
||||
//sprintf(txt, "%i, %i (%i)", size_file, size, flash_card);
|
||||
//displayPrintState(txt);
|
||||
displayPrintState("File too small or no save chip!");
|
||||
swap_cart();
|
||||
size = auxspi_save_size_log_2();
|
||||
}
|
||||
displayPrintUpper();
|
||||
|
||||
uint8 type = auxspi_save_type();
|
||||
|
||||
@@ -51,7 +51,7 @@ bool is_flash_card();
|
||||
void hwBackup3in1();
|
||||
void hwDump3in1(uint32 size, const char *gamename);
|
||||
void hwRestore3in1();
|
||||
void hwRestore3in1_b(uint32 size);
|
||||
void hwRestore3in1_b(uint32 size_file);
|
||||
void hwErase();
|
||||
|
||||
void hwBackupGBA();
|
||||
|
||||
@@ -1 +1 @@
|
||||
<Project name="Savegame Manager"><MagicFolder excludeFolders="CVS;.svn" filter="*" name="arm9" path="arm9\"><MagicFolder excludeFolders="CVS;.svn" filter="*" name="build" path="build\"><File path=".map"></File><File path="auxspi.d"></File><File path="auxspi.o"></File><File path="auxspi_core.d"></File><File path="auxspi_core.o"></File><File path="display.d"></File><File path="display.o"></File><File path="dsCard.d"></File><File path="dsCard.o"></File><File path="fileselect.d"></File><File path="fileselect.o"></File><File path="gba.d"></File><File path="gba.o"></File><File path="hardware.d"></File><File path="hardware.o"></File><File path="main.d"></File><File path="main.o"></File></MagicFolder><MagicFolder excludeFolders="CVS;.svn" filter="*" name="source" path="source\"><File path="auxspi.cpp"></File><File path="auxspi.h"></File><File path="auxspi_core.cpp"></File><File path="display.cpp"></File><File path="display.h"></File><File path="dsCard.cpp"></File><File path="dsCard.h"></File><File path="fileselect.cpp"></File><File path="fileselect.h"></File><File path="gba.cpp"></File><File path="gba.h"></File><File path="hardware.cpp"></File><File path="hardware.h"></File><File path="main.cpp"></File></MagicFolder><File path="Makefile"></File><File path="savegame_manager.arm9.elf"></File></MagicFolder><File path="Makefile"></File></Project>
|
||||
<Project name="Savegame Manager"><MagicFolder excludeFolders="CVS;.svn" filter="*" name="arm9" path="arm9\"><MagicFolder excludeFolders="CVS;.svn" filter="*" name="source" path="source\"><File path="auxspi.cpp"></File><File path="auxspi.h"></File><File path="auxspi_core.cpp"></File><File path="display.cpp"></File><File path="display.h"></File><File path="dsCard.cpp"></File><File path="dsCard.h"></File><File path="fileselect.cpp"></File><File path="fileselect.h"></File><File path="gba.cpp"></File><File path="gba.h"></File><File path="hardware.cpp"></File><File path="hardware.h"></File><File path="main.cpp"></File></MagicFolder><File path="Makefile"></File></MagicFolder><File path="Makefile"></File></Project>
|
||||
@@ -1 +1 @@
|
||||
<pd><ViewState><e p="Savegame Manager" x="true"></e><e p="Savegame Manager\arm9" x="true"></e><e p="Savegame Manager\arm9\build" x="false"></e><e p="Savegame Manager\arm9\source" x="true"></e></ViewState></pd>
|
||||
<pd><ViewState><e p="Savegame Manager" x="true"></e><e p="Savegame Manager\arm9" x="true"></e><e p="Savegame Manager\arm9\source" x="true"></e></ViewState></pd>
|
||||
Reference in New Issue
Block a user