mirror of https://github.com/stella-emu/stella.git
minor fixes
This commit is contained in:
parent
e06ca50b13
commit
cd59144999
|
@ -489,7 +489,7 @@ void PhysicalJoystickHandler::defineControllerMappings(const Controller::Type ty
|
|||
const Properties& properties)
|
||||
{
|
||||
// Determine controller events to use
|
||||
if(type == Controller::Type::QuadTari)
|
||||
if(type == Controller::Type::QuadTari)
|
||||
{
|
||||
if(port == Controller::Jack::Left)
|
||||
{
|
||||
|
@ -501,7 +501,7 @@ void PhysicalJoystickHandler::defineControllerMappings(const Controller::Type ty
|
|||
myRightMode = getMode(properties, PropType::Controller_Right1);
|
||||
myRight2ndMode = getMode(properties, PropType::Controller_Right2);
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
const EventMode mode = getMode(type);
|
||||
|
@ -729,7 +729,7 @@ bool PhysicalJoystickHandler::isDrivingEvent(const Event::Type event)
|
|||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
bool PhysicalJoystickHandler::isCommonEvent(const Event::Type event)
|
||||
{
|
||||
return !(isJoystickEvent(event) || isPaddleEvent(event)
|
||||
return !(isJoystickEvent(event) || isPaddleEvent(event)
|
||||
|| isKeyboardEvent(event) || isDrivingEvent(event));
|
||||
}
|
||||
|
||||
|
|
|
@ -1333,13 +1333,13 @@ string CartDebug::saveDisassembly(string path)
|
|||
out << "\n";
|
||||
out << ALIGN(16) << ourZPMnemonic[addr - 0x80] << "= $"
|
||||
<< Base::HEX2 << right << (addr)
|
||||
<< ((stackUsed|codeUsed) ? "; (" : "")
|
||||
<< ((stackUsed || codeUsed) ? "; (" : "")
|
||||
<< (codeUsed ? "c" : "")
|
||||
<< (stackUsed ? "s" : "")
|
||||
<< ((stackUsed | codeUsed) ? ")" : "")
|
||||
<< ((stackUsed || codeUsed) ? ")" : "")
|
||||
<< "\n";
|
||||
addLine = false;
|
||||
} else if (ramUsed|codeUsed|stackUsed) {
|
||||
} else if (ramUsed || codeUsed || stackUsed) {
|
||||
if (addLine)
|
||||
out << "\n";
|
||||
out << ALIGN(18) << ";" << "$"
|
||||
|
|
Loading…
Reference in New Issue