mirror of
https://github.com/rvtr/GodMode9i.git
synced 2025-11-02 00:11:07 -04:00
Fix #201
This commit is contained in:
parent
dfcbab2c81
commit
d8f76fcb3d
@ -23,7 +23,7 @@
|
|||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
extern u8 copyBuf[];
|
extern u8* copyBuf;
|
||||||
|
|
||||||
static sNDSHeaderExt ndsCardHeader;
|
static sNDSHeaderExt ndsCardHeader;
|
||||||
|
|
||||||
|
|||||||
@ -15,7 +15,7 @@
|
|||||||
#define copyBufSize 0x8000
|
#define copyBufSize 0x8000
|
||||||
#define shaChunkSize 0x10000
|
#define shaChunkSize 0x10000
|
||||||
|
|
||||||
u32* copyBuf = (u32*)0x02004000;
|
u8* copyBuf = (u8*)0x02004000;
|
||||||
|
|
||||||
std::vector<ClipboardFile> clipboard;
|
std::vector<ClipboardFile> clipboard;
|
||||||
bool clipboardOn = false;
|
bool clipboardOn = false;
|
||||||
|
|||||||
@ -214,8 +214,8 @@ int main(int argc, char **argv) {
|
|||||||
if (bios) {
|
if (bios) {
|
||||||
tonccpy((u32*)0x02008000, (u32*)0x02000000, 0x4000);
|
tonccpy((u32*)0x02008000, (u32*)0x02000000, 0x4000);
|
||||||
|
|
||||||
extern u32* copyBuf;
|
extern u8* copyBuf;
|
||||||
copyBuf = new u32[0x8000/4];
|
copyBuf = new u8[0x8000];
|
||||||
|
|
||||||
fread((u32*)0x02000000, 1, 0x8000, bios);
|
fread((u32*)0x02000000, 1, 0x8000, bios);
|
||||||
fclose(bios);
|
fclose(bios);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user