mirror of
https://github.com/suloku/savegame-manager.git
synced 2026-03-22 02:15:36 -05:00
- introduce a new hardware detection routine - introduce a new "argv" test, hoping to weed out more bad implementations - convert more strings to upcoming translation interface - some bugfixes
41 lines
1.3 KiB
C++
41 lines
1.3 KiB
C++
/*
|
|
* savegame_manager: a tool to backup and restore savegames from Nintendo
|
|
* DS cartridges. Nintendo DS and all derivative names are trademarks
|
|
* by Nintendo. EZFlash 3-in-1 is a trademark by EZFlash.
|
|
*
|
|
* dsi.cpp: A happy collection of functions dealing with DSi-specific things
|
|
*
|
|
* Copyright (C) Pokedoc (2010)
|
|
*/
|
|
/*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful, but
|
|
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
|
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
|
* for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License along
|
|
* with this program; if not, write to the Free Software Foundation, Inc.,
|
|
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
*/
|
|
|
|
#include <stdio.h>
|
|
#include <nds.h>
|
|
|
|
#include "display.h"
|
|
#include "dsi.h"
|
|
|
|
bool isDsi()
|
|
{
|
|
return (REG_DSIMODE != 0) ? true : false;
|
|
}
|
|
|
|
bool dsiUnlockSlot1()
|
|
{
|
|
// we don't know how to fix this yet...
|
|
return false;
|
|
} |