Add ability to use Reset (reset button interrupt, still figuring out the other reset modes)

Add support for button combos that are built-in to controllers:
y+x+start for three seconds updates the origin
b+x+start for three seconds resets
Changed CPeripheralInterface to a namespace and renamed to ProcessorInterface

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4366 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Shawn Hoffman
2009-10-06 15:49:20 +00:00
parent 19b8e6bc08
commit 4c22bea4d4
33 changed files with 342 additions and 295 deletions

View File

@ -229,7 +229,7 @@ void ConsoleListener::PixelSpace(int Left, int Top, int Width, int Height, bool
int BytesWritten = 0;
DWORD cAttrWritten = 0;
for (int i = 0; i < Attr.size(); i++)
for (size_t i = 0; i < Attr.size(); i++)
{
if (!WriteConsoleOutputCharacter(hConsole, Str[i], ReadBufferSize, coordScreen, &cCharsWritten))
SLog += StringFromFormat("WriteConsoleOutputCharacter error");

View File

@ -52,7 +52,7 @@ enum LOG_TYPE {
MEMCARD_MANAGER,
OSREPORT,
PAD,
PERIPHERALINTERFACE,
PROCESSORINTERFACE,
PIXELENGINE,
SERIALINTERFACE,
SP1,

View File

@ -40,7 +40,7 @@ LogManager::LogManager() : logMutex(1) {
m_Log[LogTypes::COMMANDPROCESSOR] = new LogContainer("CP", "CommandProc");
m_Log[LogTypes::VIDEOINTERFACE] = new LogContainer("VI", "VideoInt");
m_Log[LogTypes::SERIALINTERFACE] = new LogContainer("SI", "SerialInt");
m_Log[LogTypes::PERIPHERALINTERFACE]= new LogContainer("PI", "PeripheralInt");
m_Log[LogTypes::PROCESSORINTERFACE] = new LogContainer("PI", "ProcessorInt");
m_Log[LogTypes::MEMMAP] = new LogContainer("MI", "MI & memmap");
m_Log[LogTypes::SP1] = new LogContainer("SP1", "Serial Port 1");
m_Log[LogTypes::STREAMINGINTERFACE] = new LogContainer("Stream", "StreamingInt");