@@ -1933,8 +1933,8 @@ void NDS::debug(u32 param)
19331933
19341934 // for (int i = 0; i < 9; i++)
19351935 // printf("VRAM %c: %02X\n", 'A'+i, GPU->VRAMCNT[i]);
1936-
1937- /* Platform::FileHandle* shit = Platform::OpenFile("debug/pokeplat .bin", FileMode::Write);
1936+ return ;
1937+ Platform::FileHandle* shit = Platform::OpenFile (" debug/dragonball .bin" , FileMode::Write);
19381938 Platform::FileWrite (ARM9 .ITCM , 0x8000 , 1 , shit);
19391939 for (u32 i = 0x02000000 ; i < 0x02400000 ; i+=4 )
19401940 {
@@ -1951,9 +1951,9 @@ void NDS::debug(u32 param)
19511951 u32 val = NDS::ARM7Read32 (i);
19521952 Platform::FileWrite (&val, 4 , 1 , shit);
19531953 }
1954- Platform::CloseFile(shit);*/
1954+ Platform::CloseFile (shit);
19551955
1956- FILE *
1956+ /* FILE*
19571957 shit = fopen("debug/bowser9.bin", "wb");
19581958 fwrite(ARM9.ITCM, 0x8000, 1, shit);
19591959 for (u32 i = 0x02000000; i < 0x04000000; i+=4)
@@ -1968,7 +1968,7 @@ void NDS::debug(u32 param)
19681968 u32 val = ARM7Read32(i);
19691969 fwrite(&val, 4, 1, shit);
19701970 }
1971- fclose (shit);
1971+ fclose(shit);*/
19721972}
19731973
19741974
0 commit comments