mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 16:49:58 -06:00
some progress on dsp llet debugger. go dump some ucodes ;)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2854 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -26,7 +26,7 @@
|
||||
bool DumpDSPCode(u32 _Address, u32 _Length, u32 crc)
|
||||
{
|
||||
char szFilename[MAX_PATH];
|
||||
sprintf(szFilename, "c:\\_\\DSP_UC_%08X.bin", crc);
|
||||
sprintf(szFilename, "%sDSP_UC_%08X.bin", FULL_DUMP_DIR, crc);
|
||||
FILE* pFile = fopen(szFilename, "wb");
|
||||
|
||||
if (pFile != NULL)
|
||||
@ -73,7 +73,9 @@ u32 GenerateCRC(const unsigned char* _pBuffer, int _pLength)
|
||||
|
||||
bool DumpCWCode(u32 _Address, u32 _Length)
|
||||
{
|
||||
FILE* pFile = fopen("d:\\DSP_UCode.bin", "wb");
|
||||
char filename[256];
|
||||
sprintf(filename, "%sDSP_UCode.bin", FULL_DUMP_DIR);
|
||||
FILE* pFile = fopen(filename, "wb");
|
||||
|
||||
if (pFile != NULL)
|
||||
{
|
||||
|
Reference in New Issue
Block a user