mirror of https://github.com/stella-emu/stella.git
minor fixes for KidVid, one can start the games with 8, 9, 0 now if right controller is KidVid
This commit is contained in:
parent
6ea270cf8f
commit
364137d20d
|
@ -327,6 +327,7 @@ void PhysicalJoystickHandler::defineControllerMappings(const Controller::Type ty
|
|||
switch(type)
|
||||
{
|
||||
case Controller::Type::Keyboard:
|
||||
case Controller::Type::KidVid:
|
||||
if(port == Controller::Jack::Left)
|
||||
myLeftMode = EventMode::kKeypadMode;
|
||||
else
|
||||
|
|
|
@ -145,6 +145,7 @@ void PhysicalKeyboardHandler::defineControllerMappings(const Controller::Type ty
|
|||
switch(type)
|
||||
{
|
||||
case Controller::Type::Keyboard:
|
||||
case Controller::Type::KidVid:
|
||||
if(port == Controller::Jack::Left)
|
||||
myLeftMode = EventMode::kKeypadMode;
|
||||
else
|
||||
|
|
|
@ -66,7 +66,7 @@ void KidVid::update()
|
|||
myTape = 0; // rewind Kid Vid tape
|
||||
closeSampleFile();
|
||||
}
|
||||
if(myEvent.get(Event::KeyboardZero1))
|
||||
if(myEvent.get(Event::KeyboardOne1))
|
||||
{
|
||||
myTape = 2;
|
||||
myIdx = myGame == KVBBEARS ? KVBLOCKBITS : 0;
|
||||
|
@ -75,7 +75,7 @@ void KidVid::update()
|
|||
openSampleFile();
|
||||
cerr << "myTape = " << myTape << endl;
|
||||
}
|
||||
else if(myEvent.get(Event::KeyboardZero2))
|
||||
else if(myEvent.get(Event::KeyboardOne2))
|
||||
{
|
||||
myTape = 3;
|
||||
myIdx = myGame == KVBBEARS ? KVBLOCKBITS : 0;
|
||||
|
@ -84,7 +84,7 @@ cerr << "myTape = " << myTape << endl;
|
|||
openSampleFile();
|
||||
cerr << "myTape = " << myTape << endl;
|
||||
}
|
||||
else if(myEvent.get(Event::KeyboardZero3))
|
||||
else if(myEvent.get(Event::KeyboardOne3))
|
||||
{
|
||||
if(myGame == KVBBEARS) /* Berenstain Bears ? */
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue