AmatCoder / mednaffe

A front-end (GUI) for mednafen emulator
GNU General Public License v3.0
425 stars 35 forks source link

snes.xscalefs (and yscalesfs) resets to lower value itself #170

Closed jeandestouches closed 6 months ago

jeandestouches commented 1 year ago

Hello,

With the following options : Fullscreen -> Horizontal resolution 0 Vertical resolution 0 Stretch to fill screen 0 Scaling factor for the X axis : 3,500000 Scaling factor for the Y axis : 3,500000

Setting are correctly saved in .mednafen/mednafen.cfg

cat .mednafen/mednafen.cfg | grep snes.*scalefs snes.xscalefs 3,500000 snes.yscalefs 3,500000

Game starts fine in fullscreen with 3,500000 scaling factor.

But when closing/launching again the same rom, it resets itself to 3,000000 for both. I tried to start with a blank config for both mednafen & mednaffe to rule out corrupted config file but it still happens.

Log:

[04:15:37] Starting Mednaffe 0.9.2
[04:16:12] Launching mednafen with command line:
  "/usr/bin/mednafen -snes.xscalefs 3,500000 -snes.yscalefs 3,500000 /home/jean/Donkey Kong Country (USA).zip"
[04:16:16] End of execution caught
[04:16:16] Launching mednafen with command line:
  "/usr/bin/mednafen -snes.xscalefs 3,000000 -snes.yscalefs 3,000000 /home/jean/Donkey Kong Country (USA).zip"
[04:16:19] End of execution caught

Starting Mednafen 1.29.0
 Build information:
   Compiled with gcc 12.2.1 20230428
   Compiled against zlib 1.2.13, running with zlib 1.2.13(flags=0x000000a9)
   Compiled against SDL 2.26.2(SDL-release-2.26.2-0-gf070c83a6), running with SDL 2.26.2(SDL-release-2.26.2-0-gf070c83a6)
   Running with libFLAC 1.4.2
 Base directory: /home/jean/.mednafen
 Emulation modules: apple2 nes snes gb gba pce lynx md pcfx ngp psx ss ssfplay vb wswan sms gg sasplay snes_faust pce_fast demo cdplay
 Opening lockfile...
 Loading settings from "/home/jean/.mednafen/mednafen.cfg"...
[...]

 Initializing sound...
  Using "ALSA" audio driver with device "sexyal-literal-default":
   Format: 16 bits(signed, 2 bytes, little-endian)
   Rate: 48000
   Channels: 2
   Buffer size: 1536 sample frames(32.000000 ms)
   Latency: 1536 sample frames(32.000000 ms)
   Period size: 256 sample frames(5.333333 ms)
 Initializing video...
  Driver: OpenGL
  Display Mode: 1280 x 800 x 24 bpp @ 60Hz  (Window: 1280 x 800)
  Shader: none
  Fullscreen: Yes
  Special Scaler: None
  Scanlines: Off
  Destination Rectangle: X=192, Y=8, W=896, H=784
  OpenGL Implementation: Intel Mesa Mobile Intel® GM45 Express Chipset (CTG) 2.1 Mesa 23.0.3
  Checking extensions:
   GL_ARB_texture_non_power_of_two found.
   GL_ARB_sync found.
  Using non-power-of-2 sized textures.
  Checking maximum texture size...
   Apparently it is at least: 8192 x 8192
  Using GL_RGBA - GL_BGRA, GL_UNSIGNED_INT_8_8_8_8_REV for texture source data.
AmatCoder commented 6 months ago

I can not reproduce this.

Reopen if it persist.