mirror of
https://github.com/rvtr/GodMode9i.git
synced 2025-11-02 00:11:07 -04:00
Hold Y during logo to skip Slot-1 read
This commit is contained in:
parent
66af04e81a
commit
568f0f0eb7
@ -33,6 +33,7 @@
|
||||
|
||||
using namespace std;
|
||||
|
||||
bool flashcardMountSkipped = true;
|
||||
static bool flashcardMountRan = true;
|
||||
static bool dmTextPrinted = false;
|
||||
int dmCursorPosition = 0;
|
||||
@ -42,7 +43,7 @@ void driveMenu (void) {
|
||||
int held = 0;
|
||||
|
||||
while (true) {
|
||||
if (isDSiMode() && !pressed && !held) {
|
||||
if (isDSiMode() && !flashcardMountSkipped && !pressed && !held) {
|
||||
if (REG_SCFG_MC == 0x11) {
|
||||
if (flashcardMounted) {
|
||||
flashcardUnmount();
|
||||
|
||||
@ -4,6 +4,7 @@
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
extern bool flashcardMountSkipped;
|
||||
extern int dmCursorPosition;
|
||||
|
||||
extern void driveMenu (void);
|
||||
|
||||
@ -120,7 +120,11 @@ int main(int argc, char **argv) {
|
||||
if (isDSiMode()) {
|
||||
sdMounted = sdMount();
|
||||
}
|
||||
flashcardMounted = flashcardMount();
|
||||
scanKeys();
|
||||
if (!isDSiMode() || !(keysHeld() & KEY_Y)) {
|
||||
flashcardMounted = flashcardMount();
|
||||
flashcardMountSkipped = false;
|
||||
}
|
||||
|
||||
// Top screen as a console
|
||||
videoSetMode(MODE_0_2D);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user