This commit is contained in:
RocketRobz 2022-11-21 00:42:35 -07:00
parent dfcbab2c81
commit d8f76fcb3d
3 changed files with 4 additions and 4 deletions

View File

@ -23,7 +23,7 @@
#include <unistd.h>
#include <vector>
extern u8 copyBuf[];
extern u8* copyBuf;
static sNDSHeaderExt ndsCardHeader;

View File

@ -15,7 +15,7 @@
#define copyBufSize 0x8000
#define shaChunkSize 0x10000
u32* copyBuf = (u32*)0x02004000;
u8* copyBuf = (u8*)0x02004000;
std::vector<ClipboardFile> clipboard;
bool clipboardOn = false;

View File

@ -214,8 +214,8 @@ int main(int argc, char **argv) {
if (bios) {
tonccpy((u32*)0x02008000, (u32*)0x02000000, 0x4000);
extern u32* copyBuf;
copyBuf = new u32[0x8000/4];
extern u8* copyBuf;
copyBuf = new u8[0x8000];
fread((u32*)0x02000000, 1, 0x8000, bios);
fclose(bios);