mirror of https://github.com/stella-emu/stella.git
reimplemented ystart (TODO: GameInfoDialog)
This commit is contained in:
parent
0a4143768a
commit
8d321de90d
|
@ -1514,16 +1514,29 @@
|
|||
|
||||
<tr>
|
||||
<td>Increase overscan in fullscreen mode</td>
|
||||
<td>Shift + PageUp</td>
|
||||
<td>Shift + PageUp</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Decrease overscan in fullscreen mode</td>
|
||||
<td>Shift + PageDown</td>
|
||||
<td>Shift + PageDown</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Move display <i>up</i> (uses "Display.YStart")</td>
|
||||
<td>Alt + PageUp</td>
|
||||
<td>Cmd + PageUp</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Decrease overscan in fullscreen mode</td>
|
||||
<td>Move display <i>down</i> (uses "Display.YStart")</td>
|
||||
<td>Alt + PageDown</td>
|
||||
<td>Cmd + PageDown</td>
|
||||
</tr>
|
||||
|
||||
|
||||
<tr>
|
||||
<td>Switch display format in <i>increasing</i> order (NTSC/PAL/SECAM etc.)</td>
|
||||
<td>Control + f</td>
|
||||
|
@ -3718,6 +3731,19 @@ Ms Pac-Man (Stella extended codes):
|
|||
<b>PAL60</b> or <b>SECAM60</b>.</td>
|
||||
</tr>
|
||||
|
||||
<td VALIGN="TOP"><i>Display.Format:</i></td>
|
||||
<td>Indicates the television format the game was designed for. The value
|
||||
must be <b>Auto</b>, <b>NTSC</b>, <b>PAL</b>, <b>SECAM</b>, <b>NTSC50</b>,
|
||||
<b>PAL60</b> or <b>SECAM60</b>.</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td VALIGN="TOP"><i>Display.YStart:</i></td>
|
||||
<td>Indicates the scan-line to start displaying at.
|
||||
The value must be <i>n</i> such that 0 <= <i>n</i> <= 64.
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td VALIGN="TOP"><i>Display.Phosphor:</i></td>
|
||||
<td>Indicates whether the phosphor effect should be emulated or not.
|
||||
|
|
|
@ -431,13 +431,15 @@ PhysicalKeyboardHandler::EventMappingArray PhysicalKeyboardHandler::DefaultCommo
|
|||
|
||||
{Event::VidmodeDecrease, KBDK_MINUS, MOD3},
|
||||
{Event::VidmodeIncrease, KBDK_EQUALS, MOD3},
|
||||
{Event::DecreaseYStart, KBDK_PAGEUP, MOD3},
|
||||
{Event::IncreaseYStart, KBDK_PAGEDOWN, MOD3},
|
||||
{Event::VolumeDecrease, KBDK_LEFTBRACKET, MOD3},
|
||||
{Event::VolumeIncrease, KBDK_RIGHTBRACKET, MOD3},
|
||||
{Event::SoundToggle, KBDK_RIGHTBRACKET, KBDM_CTRL},
|
||||
|
||||
{Event::ToggleFullScreen, KBDK_RETURN, MOD3},
|
||||
{Event::DecreaseOverscan, KBDK_PAGEDOWN, MOD3},
|
||||
{Event::IncreaseOverScan, KBDK_PAGEUP, MOD3},
|
||||
{Event::DecreaseOverscan, KBDK_PAGEDOWN, KBDM_SHIFT},
|
||||
{Event::IncreaseOverScan, KBDK_PAGEUP, KBDM_SHIFT},
|
||||
{Event::VidmodeStd, KBDK_1, MOD3},
|
||||
{Event::VidmodeRGB, KBDK_2, MOD3},
|
||||
{Event::VidmodeSVideo, KBDK_3, MOD3},
|
||||
|
|
|
@ -120,6 +120,8 @@ class Event
|
|||
CompuMateQuote, CompuMateBackspace, CompuMateEquals, CompuMatePlus,
|
||||
CompuMateSlash,
|
||||
|
||||
DecreaseYStart, IncreaseYStart,
|
||||
|
||||
LastType
|
||||
|
||||
};
|
||||
|
|
|
@ -419,6 +419,14 @@ void EventHandler::handleEvent(Event::Type event, Int32 value, bool repeated)
|
|||
if(pressed) myOSystem.frameBuffer().changeVidMode(+1);
|
||||
return;
|
||||
|
||||
case Event::DecreaseYStart:
|
||||
if (pressed) myOSystem.console().changeYStart(-1);
|
||||
return;
|
||||
|
||||
case Event::IncreaseYStart:
|
||||
if (pressed) myOSystem.console().changeYStart(+1);
|
||||
return;
|
||||
|
||||
case Event::ToggleFullScreen:
|
||||
if (pressed && !repeated) myOSystem.frameBuffer().toggleFullscreen();
|
||||
return;
|
||||
|
@ -1824,6 +1832,8 @@ EventHandler::EmulActionList EventHandler::ourEmulActionList = { {
|
|||
{ Event::IncreaseOverScan, "Increase overscan in fullscreen mode", "" },
|
||||
{ Event::DecreaseFormat, "Decrease display format", "" },
|
||||
{ Event::IncreaseFormat, "Increase display format", "" },
|
||||
{ Event::DecreaseYStart, "Move display up", "" },
|
||||
{ Event::IncreaseYStart, "Move display down", "" },
|
||||
{ Event::TogglePalette, "Switch palette (Standard/Z26/User)", "" },
|
||||
|
||||
// TV effects:
|
||||
|
@ -1949,6 +1959,7 @@ const Event::EventSet EventHandler::AudioVideoEvents = {
|
|||
Event::ScanlinesDecrease, Event::ScanlinesIncrease,
|
||||
Event::DecreasePhosphor, Event::IncreasePhosphor, Event::TogglePhosphor,
|
||||
Event::DecreaseFormat, Event::IncreaseFormat,
|
||||
Event::DecreaseYStart, Event::IncreaseYStart,
|
||||
Event::DecreaseOverscan, Event::IncreaseOverScan,
|
||||
Event::TogglePalette,
|
||||
};
|
||||
|
|
|
@ -464,7 +464,7 @@ class EventHandler
|
|||
#else
|
||||
PNG_SIZE = 0,
|
||||
#endif
|
||||
EMUL_ACTIONLIST_SIZE = 138 + PNG_SIZE + COMBO_SIZE,
|
||||
EMUL_ACTIONLIST_SIZE = 140 + PNG_SIZE + COMBO_SIZE,
|
||||
MENU_ACTIONLIST_SIZE = 18
|
||||
;
|
||||
|
||||
|
|
Loading…
Reference in New Issue