From 7f8a1f9e8aa06a20e0ab9d0ed5f73f426893d00a Mon Sep 17 00:00:00 2001 From: thrust26 Date: Thu, 18 Jan 2024 16:15:02 +0100 Subject: [PATCH] updated WhatsNewDialog --- src/common/FBBackendSDL2.cxx | 6 +++++- src/emucore/stella.pro | 6 ++++++ src/gui/LauncherDialog.cxx | 1 + src/gui/WhatsNewDialog.cxx | 11 ++++++++--- 4 files changed, 20 insertions(+), 4 deletions(-) diff --git a/src/common/FBBackendSDL2.cxx b/src/common/FBBackendSDL2.cxx index 435d7ee21..0b6334141 100644 --- a/src/common/FBBackendSDL2.cxx +++ b/src/common/FBBackendSDL2.cxx @@ -331,8 +331,12 @@ bool FBBackendSDL2::setVideoMode(const VideoModeHandler::Mode& mode, ostringstream msg; msg << "Display refresh rate changed to " - << adaptedSdlMode.refresh_rate << " Hz"; + << adaptedSdlMode.refresh_rate << " Hz " << "(" << adaptedSdlMode.w << "x" << adaptedSdlMode.h << ")"; Logger::info(msg.str()); + + SDL_DisplayMode setSdlMode; + SDL_GetWindowDisplayMode(myWindow, &setSdlMode); + cerr << setSdlMode.refresh_rate << "Hz\n"; } } #endif diff --git a/src/emucore/stella.pro b/src/emucore/stella.pro index 681c84020..b2445f9da 100644 --- a/src/emucore/stella.pro +++ b/src/emucore/stella.pro @@ -6326,6 +6326,7 @@ f"Cart.MD5" "000509d1ed2b8d30a9d94be1b3b5febb" "Cart.Manufacturer" "Atari - GCC, Kevin Osborn" "Cart.ModelNo" "CX2689" "Cart.Name" "Kangaroo (1983) (Atari)" +"Display.Phosphor" "YES" "" "Cart.MD5" "435fd469f088468c4d66be6b5204d887" @@ -6392,6 +6393,7 @@ f"Cart.MD5" "000509d1ed2b8d30a9d94be1b3b5febb" "Cart.Name" "Kangaroo (Genesis)" "Cart.Note" "Genesis controller (B is punch, C is jump)" "Cart.Rarity" "Hack of Kangaroo" +"Display.Phosphor" "YES" "" "Cart.MD5" "4474b3ad3bf6aabe719a2d7f1d1fb4cc" @@ -10424,6 +10426,7 @@ f"Cart.MD5" "000509d1ed2b8d30a9d94be1b3b5febb" "Cart.Name" "Kanguru (1983) (Zirok)" "Cart.Note" "AKA Kangaroo" "Bezel.Name" "Kangaroo (USA)" +"Display.Phosphor" "YES" "" "Cart.MD5" "6d9afd70e9369c2a6bff96c4964413b7" @@ -10614,6 +10617,7 @@ f"Cart.MD5" "000509d1ed2b8d30a9d94be1b3b5febb" "Cart.Manufacturer" "Atari - GCC, Kevin Osborn" "Cart.ModelNo" "CX2689, CX2689P" "Cart.Name" "Kangaroo (1983) (Atari) (PAL)" +"Display.Phosphor" "YES" "" "Cart.MD5" "6ff4156d10b357f61f09820d03c0f852" @@ -19128,6 +19132,7 @@ f"Cart.MD5" "000509d1ed2b8d30a9d94be1b3b5febb" "Cart.Name" "Kangaroo (01-19-1983) (Atari) (Prototype)" "Cart.Rarity" "Prototype" "Cart.Url" "http://www.atariprotos.com/2600/software/kangaroo/kangaroo.htm" +"Display.Phosphor" "YES" "" "Cart.MD5" "ce243747bf34a2de366f846b3f4ca772" @@ -20513,6 +20518,7 @@ f"Cart.MD5" "000509d1ed2b8d30a9d94be1b3b5febb" "Cart.Manufacturer" "Atari - GCC, Kevin Osborn" "Cart.ModelNo" "CX2689, CX2689P" "Cart.Name" "Kangaroo (1983) (Atari) (PAL) [a]" +"Display.Phosphor" "YES" "" "Cart.MD5" "dd0cbe5351551a538414fb9e37fc56e8" diff --git a/src/gui/LauncherDialog.cxx b/src/gui/LauncherDialog.cxx index 66ecb4ed8..eddf18741 100644 --- a/src/gui/LauncherDialog.cxx +++ b/src/gui/LauncherDialog.cxx @@ -207,6 +207,7 @@ void LauncherDialog::addFilteringWidgets(int& ypos) myRomCount = new StaticTextWidget(this, _font, xpos, ypos, lwFound, fontHeight, "", TextAlign::Right); xpos = myRomCount->getRight() + LBL_GAP; + xpos = _w - HBORDER - bwSettings - randomButtonWidth - btnGap; // Show the random ROM button myRandomRomButton = new ButtonWidget(this, _font, xpos, ypos - btnYOfs, diff --git a/src/gui/WhatsNewDialog.cxx b/src/gui/WhatsNewDialog.cxx index 7dac643a8..06cc9e39b 100644 --- a/src/gui/WhatsNewDialog.cxx +++ b/src/gui/WhatsNewDialog.cxx @@ -53,7 +53,8 @@ WhatsNewDialog::WhatsNewDialog(OSystem& osystem, DialogContainer& parent, add(ypos, "added keeping multiple dump files when dumping to SD"); add(ypos, "removed deadzone from USB game controllers"); add(ypos, "added opt-out for overclocking to the settings file"); - add(ypos, "enhanced ROM launcher to allow multiple images per ROM (heaps of additional images are available for download)"); + add(ypos, "enhanced ROM launcher to allow multiple images per ROM"); + add(ypos, "made heaps of additional images and bezels available for download"); add(ypos, "added bezel support (incl. Sinden Lightgun)"); add(ypos, "accelerated ARM emulation by ~15%"); #else @@ -61,12 +62,16 @@ WhatsNewDialog::WhatsNewDialog(OSystem& osystem, DialogContainer& parent, { add(ypos, "extensively redesigned and enhanced ROM launcher"); } - add(ypos, "enhanced ROM launcher to allow multiple images per ROM (heaps of additional images are available for download)"); + add(ypos, "enhanced ROM launcher to allow multiple images per ROM"); add(ypos, "added bezel support (incl. Sinden Lightgun)"); + add(ypos, "made heaps of additional images and bezels available for download"); add(ypos, "enhanced Kid Vid support to play tape audio"); add(ypos, "added Joy2B+ controller support"); + if(version < "6.7.1") + { + add(ypos, "fixed broken mouse and Stelladaptor input for Driving Controller"); + } add(ypos, "accelerated ARM emulation by ~15%"); - add(ypos, "fixed broken mouse and Stelladaptor input for Driving Controller"); add(ypos, "added user defined CPU cycle timers to debugger"); add(ypos, ELLIPSIS + " (for a complete list see 'docs/Changes.txt')"); #endif