mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-05-22 11:02:38 +00: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:
parent
9356a920e2
commit
2a5b8f4366
8 changed files with 74 additions and 26 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue