Added mail viewer to the HLE DSP plugin. Use it by selecting Mail > Scan mails in the sound debugger.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1109 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
John Peterson
2008-11-10 10:32:18 +00:00
parent 6492b21367
commit 814aa547ac
14 changed files with 831 additions and 135 deletions

View File

@ -18,6 +18,7 @@
#ifndef _UCODE_AX
#define _UCODE_AX
#include <iostream>
#include "UCode_AXStructs.h"
enum
@ -35,8 +36,16 @@ public:
void MixAdd(short* _pBuffer, int _iSize);
void Update();
// this is a little ugly perhaps, feel free to move it out of here
// Logging
void Logging(short* _pBuffer, int _iSize, int a);
void SaveLog_(bool Wii, const char* _fmt, ...);
void SaveMail(bool Wii, u32 _uMail);
void SaveLogFile(std::string f, int resizeTo, bool type, bool Wii);
std::string TmpMailLog;
int saveNext;
// PBs
u32 m_addressPBs;
private:
enum
@ -49,14 +58,12 @@ private:
AXLIST_END = 0x000F
};
// PBs
u32 m_addressPBs;
int *templbuffer;
int *temprbuffer;
// ax task message handler
bool AXTask(u32& _uMail);
void SaveLog(const char* _fmt, ...);
void SendMail(u32 _uMail);
};