Expose some printer settings.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
This commit is contained in:
parent
4f3c92bee4
commit
2a908c1889
2 changed files with 16 additions and 2 deletions
|
@ -12,7 +12,7 @@ The format of the configuration file is the same as the Windows Registry of Appl
|
|||
*Drag & drop* works for floppy disks. With ImGui it is possible to select which drive they are dropped into (``D&D``).
|
||||
If the filename ends with `.yaml`, it will be loaded as a *State* file.
|
||||
|
||||
Individual options can be passed via arguments too: ``-c Configuration.Printer_FileName=Printer.txt``.
|
||||
Individual options can be passed via arguments too: ``-r Configuration.Printer_Filename=Printer.txt``.
|
||||
|
||||
If you have a modern gamepad where the axes (``LEFTX`` and ``LEFTY``) move in a circle, the emulator will automatically map to a square: use ``--no-squaring`` to avoid this.
|
||||
|
||||
|
|
|
@ -248,7 +248,6 @@ namespace sa2
|
|||
ImGui::LabelText("Clock", "%15.2f Hz", g_fCurrentCLK6502);
|
||||
|
||||
ImGui::Separator();
|
||||
ImGui::LabelText("Printer", "%s", Printer_GetFilename().c_str());
|
||||
ImGui::LabelText("Save state", "%s", Snapshot_GetPathname().c_str());
|
||||
ImGui::Separator();
|
||||
|
||||
|
@ -543,6 +542,21 @@ namespace sa2
|
|||
ImGui::EndTabItem();
|
||||
}
|
||||
|
||||
if (ImGui::BeginTabItem("Printer"))
|
||||
{
|
||||
ImGui::LabelText("Printer file", "%s", Printer_GetFilename().c_str());
|
||||
ImGui::SameLine();
|
||||
if (ImGui::Button("Reset"))
|
||||
{
|
||||
PrintReset();
|
||||
}
|
||||
ImGui::Separator();
|
||||
ImGui::Checkbox("Append", &g_bPrinterAppend);
|
||||
ImGui::Checkbox("Filter unprintable", &g_bFilterUnprintable);
|
||||
ImGui::Checkbox("Convert encoding", &g_bConvertEncoding);
|
||||
ImGui::EndTabItem();
|
||||
}
|
||||
|
||||
if (ImGui::BeginTabItem("Audio"))
|
||||
{
|
||||
const int volumeMax = GetPropertySheet().GetVolumeMax();
|
||||
|
|
Loading…
Add table
Reference in a new issue