mirror of
https://github.com/rvtr/GodMode9i.git
synced 2025-06-18 19:05:30 -04:00
Fix #201
This commit is contained in:
parent
dfcbab2c81
commit
d8f76fcb3d
@ -23,7 +23,7 @@
|
||||
#include <unistd.h>
|
||||
#include <vector>
|
||||
|
||||
extern u8 copyBuf[];
|
||||
extern u8* copyBuf;
|
||||
|
||||
static sNDSHeaderExt ndsCardHeader;
|
||||
|
||||
|
@ -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;
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user