fix dumping roms from dspspy
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4009 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
3124aa803c
commit
5d0ad965d7
|
@ -220,10 +220,10 @@ void DumpDSP_ROMs(const u16* rom, const u16* coef)
|
|||
FILE *fCOEF = fopen(filename, "wb");
|
||||
if (fROM && fCOEF)
|
||||
{
|
||||
fwrite(rom, 0x2000, 1, fROM);
|
||||
fwrite(MEM_PHYSICAL_TO_K0(rom), 0x2000, 1, fROM);
|
||||
fclose(fROM);
|
||||
|
||||
fwrite(coef, 0x2000, 1, fCOEF);
|
||||
fwrite(MEM_PHYSICAL_TO_K0(coef), 0x1000, 1, fCOEF);
|
||||
fclose(fCOEF);
|
||||
UpdateLastMessage("DSP ROMs dumped to SD");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue