mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
some HLE LLE stuff :)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@837 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -23,9 +23,11 @@
|
||||
|
||||
#include "gdsp_interpreter.h"
|
||||
|
||||
bool DumpDSPCode(uint32 _Address, uint32 _Length)
|
||||
bool DumpDSPCode(uint32 _Address, uint32 _Length, uint32 crc)
|
||||
{
|
||||
FILE* pFile = fopen("d:\\DSP_UCode.bin", "wb");
|
||||
char szFilename[MAX_PATH];
|
||||
sprintf(szFilename, "c:\\_\\DSP_UC_%08X.bin", crc);
|
||||
FILE* pFile = fopen(szFilename, "wb");
|
||||
|
||||
if (pFile != NULL)
|
||||
{
|
||||
@ -33,6 +35,10 @@ bool DumpDSPCode(uint32 _Address, uint32 _Length)
|
||||
fclose(pFile);
|
||||
return(true);
|
||||
}
|
||||
else
|
||||
{
|
||||
PanicAlert("Cant open file (%s) to dump UCode!!", szFilename);
|
||||
}
|
||||
|
||||
return(false);
|
||||
}
|
||||
|
Reference in New Issue
Block a user