mirror of
https://github.com/rvtr/GodMode9i.git
synced 2025-11-02 00:11:07 -04:00
parent
c45fe11d5c
commit
54fda40715
@ -1,8 +1,6 @@
|
||||
#include <nds.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include "main.h"
|
||||
|
||||
#define copyBufSize 0x8000
|
||||
|
||||
u32 copyBuf[copyBufSize];
|
||||
@ -54,7 +52,8 @@ int fcopy(const char *sourcePath, const char *destinationPath)
|
||||
int numr;
|
||||
while (1)
|
||||
{
|
||||
if (buttonsHeld & KEY_B) {
|
||||
scanKeys();
|
||||
if (keysHeld() & KEY_B) {
|
||||
// Cancel copying
|
||||
fclose(sourceFile);
|
||||
fclose(destinationFile);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user