added doc for plain video mode

renamed plain video mode option
This commit is contained in:
thrust26 2020-10-05 14:26:11 +02:00
parent e2d8d7e23e
commit 60bffab65d
5 changed files with 89 additions and 81 deletions

View File

@ -37,7 +37,7 @@
are no longer corrupted/cut off. This includes properly supporting the are no longer corrupted/cut off. This includes properly supporting the
2600-daptor II, which is flashable to an AVox-USB converter. 2600-daptor II, which is flashable to an AVox-USB converter.
* The serial port to use for an AtariVox-USB adaptor is now autodetected. * Added auto-detection of the serial port used for an AtariVox-USB adaptor.
* Added QuadTari controller support. * Added QuadTari controller support.
@ -51,11 +51,14 @@
* Added another oddball TIA glitch option for delayed background color. * Added another oddball TIA glitch option for delayed background color.
* Added option to disable all scaling and postprocessing.
* Replaced "Re-disassemble" with "Disassemble @ current line" in debugger. * Replaced "Re-disassemble" with "Disassemble @ current line" in debugger.
* Fixed bug when taking fullscreen snapshots; the dimensions were * Fixed bug when taking fullscreen snapshots; the dimensions were
sometimes cut off. sometimes cut off.
-Have fun! -Have fun!

View File

@ -2284,6 +2284,11 @@
</td> </td>
</tr> </tr>
<tr>
<td><pre>-tia.plain_video &lt;1|0&gt;</pre></td>
<td>Disable all scaling and postprocessing.</td>
</tr>
<tr> <tr>
<td><pre>-tv.filter &lt;0 - 5&gt;</pre></td> <td><pre>-tv.filter &lt;0 - 5&gt;</pre></td>
<td>Blargg TV effects, 0 is disabled, next numbers in <td>Blargg TV effects, 0 is disabled, next numbers in

View File

@ -623,7 +623,7 @@ FBInitStatus Console::initializeVideo(bool full)
if(full) if(full)
{ {
uInt32 width, height; uInt32 width, height;
if (myOSystem.settings().getBool("plain-video")) { if (myOSystem.settings().getBool("tia.plain_video")) {
width = 2 * myTIA->width(); width = 2 * myTIA->width();
height = myTIA->height(); height = myTIA->height();
} else { } else {

View File

@ -48,7 +48,6 @@ Settings::Settings()
setPermanent("windowedpos", Common::Point(50, 50)); setPermanent("windowedpos", Common::Point(50, 50));
setPermanent("display", 0); setPermanent("display", 0);
setPermanent("uimessages", "true"); setPermanent("uimessages", "true");
setTemporary("plain-video", "false");
// TIA specific options // TIA specific options
setPermanent("tia.inter", "false"); setPermanent("tia.inter", "false");
setPermanent("tia.zoom", "3"); setPermanent("tia.zoom", "3");
@ -58,6 +57,7 @@ Settings::Settings()
setPermanent("tia.fs_overscan", "0"); setPermanent("tia.fs_overscan", "0");
setPermanent("tia.vsizeadjust", 0); setPermanent("tia.vsizeadjust", 0);
setPermanent("tia.dbgcolors", "roygpb"); setPermanent("tia.dbgcolors", "roygpb");
setTemporary("tia.plain_video", "false");
// Palette options // Palette options
setPermanent("palette", PaletteHandler::SETTING_STANDARD); setPermanent("palette", PaletteHandler::SETTING_STANDARD);
setPermanent("pal.phase_ntsc", "26.2"); setPermanent("pal.phase_ntsc", "26.2");
@ -418,7 +418,6 @@ void Settings::usage() const
<< " -palette <standard| Use the specified color palette\n" << " -palette <standard| Use the specified color palette\n"
<< " z26|user|\n" << " z26|user|\n"
<< " custom>\n" << " custom>\n"
<< " -plain-video <1|0> Disable all scaling and postprocessing\n"
<< " -pal.phase_ntsc <number> Phase shift for NTSC 'custom' palette\n" << " -pal.phase_ntsc <number> Phase shift for NTSC 'custom' palette\n"
<< " -pal.phase_pal <number> Phase shift for PAL 'custom' palette\n" << " -pal.phase_pal <number> Phase shift for PAL 'custom' palette\n"
<< " -pal.hue <-1.0 - 1.0> Adjust hue for current palette\n" << " -pal.hue <-1.0 - 1.0> Adjust hue for current palette\n"
@ -455,6 +454,7 @@ void Settings::usage() const
<< " -tia.fs_overscan <0-10> Add overscan to TIA image in fullscreen mode\n" << " -tia.fs_overscan <0-10> Add overscan to TIA image in fullscreen mode\n"
<< " -tia.dbgcolors <string> Debug colors to use for each object (see manual\n" << " -tia.dbgcolors <string> Debug colors to use for each object (see manual\n"
<< " for description)\n" << " for description)\n"
<< " -tia.plain_video <1|0> Disable all scaling and postprocessing\n"
<< endl << endl
<< " -tv.filter <0-5> Set TV effects off (0) or to specified mode\n" << " -tv.filter <0-5> Set TV effects off (0) or to specified mode\n"
<< " (1-5)\n" << " (1-5)\n"

View File

@ -317,7 +317,7 @@ void TIASurface::enableNTSC(bool enable)
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
string TIASurface::effectsInfo() const string TIASurface::effectsInfo() const
{ {
if (plainVideoEnabled()) return "plain video mode"; if (plainVideoEnabled()) return "Plain video mode";
const FBSurface::Attributes& attr = mySLineSurface->attributes(); const FBSurface::Attributes& attr = mySLineSurface->attributes();
ostringstream buf; ostringstream buf;
@ -525,5 +525,5 @@ void TIASurface::updateSurfaceSettings()
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
bool TIASurface::plainVideoEnabled() const { bool TIASurface::plainVideoEnabled() const {
return myOSystem.settings().getBool("plain-video"); return myOSystem.settings().getBool("tia.plain_video");
} }