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