mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
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:
@ -18,7 +18,7 @@
|
||||
#include "Debugger.h"
|
||||
#include "RegisterView.h"
|
||||
#include "PowerPC/PowerPC.h"
|
||||
#include "HW/PeripheralInterface.h"
|
||||
#include "HW/ProcessorInterface.h"
|
||||
|
||||
// F-zero 80005e60 wtf??
|
||||
|
||||
@ -39,8 +39,8 @@ static u32 GetSpecialRegValue(int reg) {
|
||||
case 5: return PowerPC::ppcState.spr[SPR_SRR0];
|
||||
case 6: return PowerPC::ppcState.spr[SPR_SRR1];
|
||||
case 7: return PowerPC::ppcState.Exceptions;
|
||||
case 8: return CPeripheralInterface::GetMask();
|
||||
case 9: return CPeripheralInterface::GetCause();
|
||||
case 8: return ProcessorInterface::GetMask();
|
||||
case 9: return ProcessorInterface::GetCause();
|
||||
default: return 0;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user