JesseTG / melonds-ds

A remake of the libretro melonDS core that prioritizes standalone parity, reliability, and usability.
GNU General Public License v3.0
135 stars 16 forks source link

Crash when switching to OpenGL renderer #203

Closed molly-o-k closed 3 months ago

molly-o-k commented 5 months ago

What version of melonDS DS are you using?

1.1.1

Does the problem happen in standalone melonDS?

No, it's a bug specific to melonDS DS.

What happened?

I saw another thread about this, so sorry if this is repeated information, but I thought I'd add that I've tested this on MelonDS (standalone) and melonDS (old libretro core) and it doesn't happen. Like the other poster, when I switch to OpenGL renderer on MelonDS DS, no matter what I do afterwards RetroArch basically instantly crashes. If I change this when a game is open and resume content, crash, if I restart/close and reopen game, crash, if I load the core with no game and change this setting, once the retroarch menu is closed even if nothing is loaded, crash. If this config gets saved I have to manually go and edit the config file or delete it because I can't open the core with a game loaded once this setting is turned on, the entire program just force closes. I'm using a GTX 1080. Debug log included (I hope I've done it right, anyway!).

Incidentally, I tested this on the most recent version of melonds ds and the version before this one and it happened on both versions.

retroarch.log

[INFO] [Environ]: SET_SUBSYSTEM_INFO.
[DEBUG] Subsystem ID: 0
Special game type: Slot 1 & 2 Boot
  Ident: gba
  ID: 1
  Content:
[DEBUG]     Nintendo DS (Slot 1) (required)
[DEBUG]     GBA (Slot 2) (required)
[DEBUG]     GBA Save Data (optional)
[DEBUG] Subsystem ID: 1
Special game type: Slot 1 & 2 Boot (No GBA Save Data)
  Ident: gbanosav
  ID: 2
  Content:
[DEBUG]     Nintendo DS (Slot 1) (required)
[DEBUG]     GBA (Slot 2) (required)
[DEBUG] Subsystems: 2
[INFO] [Content]: Updating firmware status for: "D:\Steam\steamapps\common\RetroArch\cores\melondsds_libretro.dll" on "D:\Steam\steamapps\common\RetroArch\system".
[INFO] [Core]: Using content: "D:\Steam\steamapps\common\RetroArch\downloads\Dragon Quest IX - Sentinels of the Starry Skies (Europe) (En,Fr,De,Es,It).nds".
[INFO] [Core]: Content ran for a total of: 00 hours, 00 minutes, 00 seconds.
[DEBUG] [Audio]: Stopped audio driver "xaudio"
[INFO] [Core]: Unloading core..
[INFO] [Core]: Unloading core symbols..
[INFO] [Video]: Average monitor Hz: 139.004726 Hz. (14.076 % frame time deviation, based on 2048 last samples).
[INFO] RetroArch 1.17.0 (Git ad8975cb5a)
[INFO] === Build =======================================
[INFO] CPU Model Name: Intel(R) Core(TM) i5-8600K CPU @ 3.60GHz
[INFO] Capabilities: MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4 SSE42 AES AVX AVX2 
[INFO] Version: 1.17.0
[INFO] Git: ad8975cb5a
[INFO] Built: Feb  3 2024
[INFO] =================================================
[INFO] [Input]: Found input driver: "dinput".
[INFO] [Core]: Loading dynamic libretro core from: "D:\Steam\steamapps\common\RetroArch\cores\melondsds_libretro.dll"
[INFO] [Overrides]: Redirecting save file to "D:\Steam\steamapps\common\RetroArch\saves\melonDS DS\Dragon Quest IX - Sentinels of the Starry Skies (Europe) (En,Fr,De,Es,It).srm".
[INFO] [Overrides]: Redirecting save state to "D:\Steam\steamapps\common\RetroArch\states\melonDS DS\Dragon Quest IX - Sentinels of the Starry Skies (Europe) (En,Fr,De,Es,It).state".
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_UPDATE_DISPLAY_CALLBACK.
[INFO] [Environ]: RETRO_ENVIRONMENT_SET_CONTENT_INFO_OVERRIDE.
[INFO] [Content Override]: File Extension: 'srm' - need_fullpath: TRUE, persistent_data: FALSE
[INFO] [Content Override]: File Extension: 'sav' - need_fullpath: TRUE, persistent_data: FALSE
[INFO] [Content Override]: File Extension: 'nds' - need_fullpath: FALSE, persistent_data: TRUE
[INFO] [Content Override]: File Extension: 'dsi' - need_fullpath: FALSE, persistent_data: TRUE
[INFO] [Content Override]: File Extension: 'ids' - need_fullpath: FALSE, persistent_data: TRUE
[INFO] [Content Override]: File Extension: 'gba' - need_fullpath: FALSE, persistent_data: TRUE
[INFO] [Environ]: SET_CONTROLLER_INFO.
[DEBUG]    Port 1:
[DEBUG]       "Nintendo DS" (1)
[INFO] [Environ]: SET_SUPPORT_ACHIEVEMENTS: yes.
[INFO] [Environ]: GET_LOG_INTERFACE.
[libretro DEBUG] retro_set_environment(0x410680)
[INFO] [Environ]: GET_MESSAGE_INTERFACE_VERSION.
[INFO] [Environ]: SAVE_DIRECTORY: "D:\Steam\steamapps\common\RetroArch\saves\melonDS DS".
[libretro INFO] Save directory: "D:/Steam/steamapps/common/RetroArch/saves/melonDS DS"
[libretro INFO] melonDS DS save subdirectory: "D:/Steam/steamapps/common/RetroArch/saves/melonDS DS"
[INFO] [Environ]: SYSTEM_DIRECTORY: "D:\Steam\steamapps\common\RetroArch\system".
[libretro INFO] System directory: "D:/Steam/steamapps/common/RetroArch/system"
[libretro INFO] melonDS DS system subdirectory: "D:/Steam/steamapps/common/RetroArch/system/melonDS DS"
[DEBUG] [Environ]: SET_SUBSYSTEM_INFO.
[DEBUG] Special game type: Slot 1 & 2 Boot
  Ident: gba
  ID: 1
  Content:
[DEBUG]     Nintendo DS (Slot 1) (required)
[DEBUG]     GBA (Slot 2) (required)
[DEBUG]     GBA Save Data (optional)
[DEBUG] Special game type: Slot 1 & 2 Boot (No GBA Save Data)
  Ident: gbanosav
  ID: 2
  Content:
[DEBUG]     Nintendo DS (Slot 1) (required)
[DEBUG]     GBA (Slot 2) (required)
[INFO] [Environ]: GET_VFS_INTERFACE. Core requested version >= V1, providing V3.
[INFO] [Environ]: SET_SUPPORT_NO_GAME: yes.
[INFO] [Remaps]: Core-specific remap found at "D:\Steam\steamapps\common\RetroArch\config\remaps\melonDS DS\melonDS DS.rmp".
[libretro DEBUG] Frontend supports no-game mode.
[libretro DEBUG] Power state available
[libretro DEBUG] retro_init
[libretro INFO] melonDS DS 1.1.0
[INFO] [Environ]: RETRO_ENVIRONMENT_GET_MICROPHONE_INTERFACE.
[libretro DEBUG] Microphone support available (version 1)
[INFO] [Content]: Loading content file: "D:\Steam\steamapps\common\RetroArch\downloads\Dragon Quest IX - Sentinels of the Starry Skies (Europe) (En,Fr,De,Es,It).nds".
[libretro DEBUG] retro_load_game("D:\Steam\steamapps\common\RetroArch\downloads\Dragon Quest IX - Sentinels of the Starry Skies (Europe) (En,Fr,De,Es,It).nds", 268435456)
[INFO] [Environ]: SET_PIXEL_FORMAT: XRGB8888.
[libretro DEBUG] D:/Steam/steamapps/common/RetroArch/system/bios7.bin is not a known firmware size (found 16384 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] D:/Steam/steamapps/common/RetroArch/system/bios9.bin is not a known firmware size (found 4096 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] D:/Steam/steamapps/common/RetroArch/system/BIOSGBA.ROM is not a known firmware size (found 16384 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] D:/Steam/steamapps/common/RetroArch/system/firmware.bin.bak is a backup file, not counting it as firmware
[libretro DEBUG] D:/Steam/steamapps/common/RetroArch/system/key.cfg is not a known firmware size (found 13 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] D:/Steam/steamapps/common/RetroArch/system/mupen64plus.ini is not a known firmware size (found 455032 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] Found a firmware image at "D:/Steam/steamapps/common/RetroArch/system/firmware.bin"
[libretro ERROR] [melonDS] PCap: init failed
[libretro WARN] Failed to enumerate Wi-fi adapters
[INFO] [Environ]: GET_CORE_OPTIONS_VERSION.
[INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_V2.
[INFO] [Core]: Game-specific core options found at "D:\Steam\steamapps\common\RetroArch\config\melonDS DS\Dragon Quest IX - Sentinels of the Starry Skies (Europe) (En,Fr,De,Es,It).opt".
[libretro DEBUG] V2 core options set successfully
[DEBUG] [Environ]: GET_VARIABLE: melonds_console_mode = "ds"
[DEBUG] [Environ]: GET_VARIABLE: melonds_boot_mode = "direct"
[DEBUG] [Environ]: GET_VARIABLE: melonds_sysfile_mode = "native"
[DEBUG] [Environ]: GET_VARIABLE: melonds_ds_battery_ok_threshold = "20"
[DEBUG] [Environ]: GET_VARIABLE: melonds_battery_update_interval = "15"
[DEBUG] [Environ]: GET_VARIABLE: melonds_start_time_mode = "real"
[DEBUG] [Environ]: GET_VARIABLE: melonds_start_time_relative_year_offset = "0"
[DEBUG] [Environ]: GET_VARIABLE: melonds_start_time_relative_day_offset = "0"
[DEBUG] [Environ]: GET_VARIABLE: melonds_start_time_relative_hour_offset = "0"
[DEBUG] [Environ]: GET_VARIABLE: melonds_start_time_relative_minute_offset = "0"
[DEBUG] [Environ]: GET_VARIABLE: melonds_start_time_absolute_year = "2004"
[DEBUG] [Environ]: GET_VARIABLE: melonds_start_time_absolute_month = "1"
[DEBUG] [Environ]: GET_VARIABLE: melonds_start_time_absolute_day = "1"
[DEBUG] [Environ]: GET_VARIABLE: melonds_start_time_absolute_hour = "0"
[DEBUG] [Environ]: GET_VARIABLE: melonds_start_time_absolute_minute = "0"
[DEBUG] [Environ]: GET_VARIABLE: melonds_show_unsupported_features = "enabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_show_mic_state = "disabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_show_camera_state = "enabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_show_bios_warnings = "enabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_show_current_layout = "disabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_show_lid_state = "enabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_jit_enable = "enabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_jit_block_size = "32"
[DEBUG] [Environ]: GET_VARIABLE: melonds_jit_branch_optimisations = "enabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_jit_literal_optimisations = "enabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_jit_fast_memory = "enabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_homebrew_readonly = "disabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_homebrew_sync_sdcard_to_host = "disabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_homebrew_sdcard = "enabled"
[libretro INFO] No homebrew SD card image found at "D:/Steam/steamapps/common/RetroArch/saves/melonDS DS/dldi_sd_card.bin"; will create an image.
[DEBUG] [Environ]: GET_VARIABLE: melonds_dsi_sdcard_readonly = "disabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_dsi_sdcard_sync_sdcard_to_host = "disabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_dsi_sdcard = "enabled"
[libretro INFO] No DSi SD card image found at "D:/Steam/steamapps/common/RetroArch/saves/melonDS DS/dsi_sd_card.bin"; will create an image.
[DEBUG] [Environ]: GET_VARIABLE: melonds_dsi_nand_path = "/notfound"
[DEBUG] [Environ]: GET_VARIABLE: melonds_firmware_nds_path = "firmware.bin"
[DEBUG] [Environ]: GET_VARIABLE: melonds_firmware_dsi_path = "firmware.bin"
[DEBUG] [Environ]: GET_VARIABLE: melonds_firmware_language = "auto"
[DEBUG] [Environ]: GET_VARIABLE: melonds_firmware_favorite_color = "12"
[DEBUG] [Environ]: GET_VARIABLE: melonds_firmware_username = "guess_username"
[DEBUG] [Environ]: GET_VARIABLE: melonds_firmware_enable_alarm = "default"
[DEBUG] [Environ]: GET_VARIABLE: melonds_firmware_alarm_hour = "default"
[DEBUG] [Environ]: GET_VARIABLE: melonds_firmware_alarm_minute = "default"
[DEBUG] [Environ]: GET_VARIABLE: melonds_firmware_birth_month = "3"
[DEBUG] [Environ]: GET_VARIABLE: melonds_firmware_birth_day = "18"
[DEBUG] [Environ]: GET_VARIABLE: melonds_firmware_wfc_dns = "178.62.43.212"
[DEBUG] [Environ]: GET_VARIABLE: melonds_mic_input_active = "hold"
[DEBUG] [Environ]: GET_VARIABLE: melonds_mic_input = "microphone"
[DEBUG] [Environ]: GET_VARIABLE: melonds_audio_bitdepth = "auto"
[DEBUG] [Environ]: GET_VARIABLE: melonds_audio_interpolation = "disabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_network_mode = "indirect"
[DEBUG] [Environ]: GET_VARIABLE: melonds_direct_network_interface = "auto"
[DEBUG] [Environ]: GET_VARIABLE: melonds_screen_gap = "0"
[DEBUG] [Environ]: GET_VARIABLE: melonds_cursor_timeout = "3"
[DEBUG] [Environ]: GET_VARIABLE: melonds_touch_mode = "auto"
[DEBUG] [Environ]: GET_VARIABLE: melonds_show_cursor = "timeout"
[DEBUG] [Environ]: GET_VARIABLE: melonds_hybrid_ratio = "3"
[DEBUG] [Environ]: GET_VARIABLE: melonds_hybrid_small_screen = "one"
[DEBUG] [Environ]: GET_VARIABLE: melonds_number_of_screen_layouts = "2"
[DEBUG] [Environ]: GET_VARIABLE: melonds_screen_layout1 = "hybrid-bottom"
[DEBUG] [Environ]: GET_VARIABLE: melonds_screen_layout2 = "hybrid-top"
[DEBUG] [Environ]: GET_VARIABLE: melonds_screen_layout3 = "top"
[DEBUG] [Environ]: GET_VARIABLE: melonds_screen_layout4 = "bottom"
[DEBUG] [Environ]: GET_VARIABLE: melonds_screen_layout5 = "hybrid-top"
[DEBUG] [Environ]: GET_VARIABLE: melonds_screen_layout6 = "hybrid-bottom"
[DEBUG] [Environ]: GET_VARIABLE: melonds_screen_layout7 = "bottom-top"
[DEBUG] [Environ]: GET_VARIABLE: melonds_screen_layout8 = "right-left"
[DEBUG] [Environ]: GET_VARIABLE: melonds_opengl_filtering = "nearest"
[DEBUG] [Environ]: GET_VARIABLE: melonds_threaded_renderer = "enabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_render_mode = "opengl"
[DEBUG] [Environ]: GET_VARIABLE: melonds_opengl_resolution = "2"
[DEBUG] [Environ]: GET_VARIABLE: melonds_opengl_better_polygons = "disabled"
[libretro DEBUG] bool MelonDsDs::CoreOptionVisibility::Update()
[DEBUG] [Environ]: GET_VARIABLE: melonds_mic_input = "microphone"
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: GET_VARIABLE: melonds_render_mode = "opengl"
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: GET_VARIABLE: melonds_console_mode = "ds"
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: GET_VARIABLE: melonds_dsi_sdcard = "enabled"
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: GET_VARIABLE: melonds_homebrew_sdcard = "enabled"
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: GET_VARIABLE: melonds_show_cursor = "timeout"
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: GET_VARIABLE: melonds_number_of_screen_layouts = "2"
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: GET_VARIABLE: melonds_screen_layout1 = "hybrid-bottom"
[DEBUG] [Environ]: GET_VARIABLE: melonds_screen_layout2 = "hybrid-top"
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: GET_VARIABLE: melonds_firmware_enable_alarm = "default"
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: GET_VARIABLE: melonds_jit_enable = "enabled"
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: GET_VARIABLE: melonds_network_mode = "indirect"
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: GET_VARIABLE: melonds_start_time_mode = "real"
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[libretro DEBUG] MelonDsDs::OpenGLRenderState::OpenGLRenderState()
[INFO] [Environ]: SET_HW_RENDER, context type: gl.
[INFO] Requesting OpenGL context.
[DEBUG] Reached end of SET_HW_RENDER.
[libretro DEBUG] Initialized OpenGL render state
[INFO] [Environ]: SET_ROTATION: 0
[INFO] [Microphone]: Microphone requested before driver context was ready; deferring initialization.
[libretro INFO] Loaded DS Lite firmware from "D:/Steam/steamapps/common/RetroArch/system/firmware.bin" (Identifier: MACh)
[libretro ERROR] Failed to open ARM7 file "D:/Steam/steamapps/common/RetroArch/system/melonDS DS/bios7.bin" for reading
[libretro INFO] Successfully loaded 16384-byte ARM7 file "D:/Steam/steamapps/common/RetroArch/system/bios7.bin"
[libretro ERROR] Failed to open ARM9 file "D:/Steam/steamapps/common/RetroArch/system/melonDS DS/bios9.bin" for reading
[libretro INFO] Successfully loaded 4096-byte ARM9 file "D:/Steam/steamapps/common/RetroArch/system/bios9.bin"
[libretro DEBUG] Installed native ARM7 and ARM9 NDS BIOS images
[INFO] [Environ]: GET_USERNAME: "".
[INFO] [Environ]: GET_LANGUAGE: "0".
[libretro DEBUG] Parsed NDS ROM: "D:\Steam\steamapps\common\RetroArch\downloads\Dragon Quest IX - Sentinels of the Starry Skies (Europe) (En,Fr,De,Es,It).nds"
[libretro DEBUG] Initialized indirect-mode Wi-fi support
[libretro DEBUG] [melonDS] Re-encrypting cart secure area
[libretro DEBUG] [melonDS] NDSCart: Initialized Key1_KeyBuf from memory
[libretro DEBUG] [melonDS] NDSCart: Initialized Key1_KeyBuf from memory
[libretro DEBUG] [melonDS] Re-encrypted cart secure area
[libretro INFO] [melonDS] Inserted cart with game code: YDQP
[libretro INFO] [melonDS] Inserted cart with ID: 0000FFC2
[libretro INFO] [melonDS] ROM entry: 10000000 00000003
[libretro INFO] No GBA SRAM was provided.
[INFO] [Environ]: GET_MESSAGE_INTERFACE_VERSION.
[INFO] [Environ]: SET_INPUT_DESCRIPTORS:
[DEBUG]    Port 1:
[DEBUG]       "D-Pad Up" => "Up"
[DEBUG]       "D-Pad Down" => "Down"
[DEBUG]       "D-Pad Left" => "Left"
[DEBUG]       "D-Pad Right" => "Right"
[DEBUG]       "B Button (Down)" => "B"
[DEBUG]       "A Button (Right)" => "A"
[DEBUG]       "Y Button (Left)" => "Y"
[DEBUG]       "X Button (Top)" => "X"
[DEBUG]       "Select Button" => "Select"
[DEBUG]       "Start Button" => "Start"
[DEBUG]       "L Button (Shoulder)" => "L"
[DEBUG]       "R Button (Shoulder)" => "R"
[DEBUG]       "L2 Button (Trigger)" => "Microphone"
[DEBUG]       "R2 Button (Trigger)" => "Next Screen Layout"
[DEBUG]       "L3 Button (Thumb)" => "Close Lid"
[DEBUG]       "R3 Button (Thumb)" => "Touch Joystick"
[DEBUG]    Port 2:
[DEBUG]    Port 3:
[DEBUG]    Port 4:
[DEBUG]    Port 5:
[DEBUG]    Port 6:
[DEBUG]    Port 7:
[DEBUG]    Port 8:
[libretro INFO] Deferring initialization until the OpenGL context is ready
[INFO] [RCHEEVOS]: Using host: https://retroachievements.org
[INFO] [RCHEEVOS]: Unofficial disabled
[INFO] [RCHEEVOS]: Encore mode disabled
[INFO] [RCHEEVOS]: Spectator mode disabled
[INFO] [RCHEEVOS]: Load started, hardcore active
[INFO] [RCHEEVOS]: Attempting to log in Socktopus (with token)
[INFO] [RCHEEVOS]: Identifying game: 268435456 bytes at 000000001E639040 (D:\Steam\steamapps\common\RetroArch\downloads\Dragon Quest IX - Sentinels of the Starry Skies (Europe) (En,Fr,De,Es,It).nds)
[INFO] [RCHEEVOS]: Found 1 potential consoles for nds file extension
[INFO] [RCHEEVOS]: Trying console 18
[INFO] [RCHEEVOS]: Opened [buffered file]
[INFO] [RCHEEVOS]: Hashing 352 byte header
[INFO] [RCHEEVOS]: Hashing 638216 byte arm9 code (at 00004000)
[INFO] [RCHEEVOS]: Hashing 167876 byte arm7 code (at 001E2400)
[INFO] [RCHEEVOS]: Hashing 2560 byte icon and labels data (at 00230400)
[INFO] [RCHEEVOS]: Generated hash ebb3e9ee86d520f624ffc701a912779b
[INFO] [Replay]: Found last replay slot: #0
[libretro DEBUG] retro_get_memory_data(RETRO_MEMORY_SAVE_RAM)
[libretro DEBUG] retro_get_memory_data(RETRO_MEMORY_RTC)
[libretro DEBUG] retro_get_memory_data(RETRO_MEMORY_SAVE_RAM)
[libretro DEBUG] retro_get_memory_data(RETRO_MEMORY_RTC)
[INFO] [Core]: Version of libretro API: 1, Compiled against API: 1
[INFO] [Core]: Geometry: 2048x1152, Aspect: 1.778, FPS: 59.90, Sample rate: 32768.00 Hz.
[INFO] [Audio]: Set audio input rate to: 32823.63 Hz.
[INFO] [Video]: Set video size to: fullscreen.
[INFO] [Video]: Using HW render, OpenGL driver forced.
[INFO] [Video]: Using configured "gl" driver for GL HW render.
[INFO] [GL]: Found GL context: "wgl".
[INFO] [GL]: Detecting screen resolution: 1920x1080.
[INFO] [WGL]: Extensions: WGL_ARB_buffer_region WGL_ARB_create_context WGL_ARB_create_context_no_error WGL_ARB_create_context_profile WGL_ARB_create_context_robustness WGL_ARB_context_flush_control WGL_ARB_extensions_string WGL_ARB_make_current_read WGL_ARB_multisample WGL_ARB_pbuffer WGL_ARB_pixel_format WGL_ARB_pixel_format_float WGL_ARB_render_texture WGL_ATI_pixel_format_float WGL_EXT_colorspace WGL_EXT_create_context_es_profile WGL_EXT_create_context_es2_profile WGL_EXT_extensions_string WGL_EXT_framebuffer_sRGB WGL_EXT_pixel_format_packed_float WGL_EXT_swap_control WGL_EXT_swap_control_tear WGL_NVX_DX_interop WGL_NV_DX_interop WGL_NV_DX_interop2 WGL_NV_copy_image WGL_NV_delay_before_swap WGL_NV_float_buffer WGL_NV_multisample_coverage WGL_NV_multigpu_context WGL_NV_render_depth_texture WGL_NV_render_texture_rectangle 
[INFO] [WGL]: Adaptive VSync supported.
[INFO] [GL]: Vendor: NVIDIA Corporation, Renderer: NVIDIA GeForce GTX 1080/PCIe/SSE2.
[INFO] [GL]: Version: 4.6.0 NVIDIA 552.22.
[INFO] [GL]: Using resolution 1920x1080.
[INFO] [GL]: Default shader backend found: glsl.
[INFO] [Shader driver]: Using GLSL shader backend.
[INFO] [GLSL]: Checking GLSL shader support ...
[WARN] [GL]: Stock GLSL shaders will be used.
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GL]: Using 4 textures.
[INFO] [GL]: Loaded 1 program(s).
[INFO] [XInput]: Found XInput v1.4.
[INFO] [Joypad]: Found joypad driver: "xinput".
[INFO] [Autoconf]: Xbox 360 Wireless Controller configured in port 1.
[ERROR] [GL]: GL: Invalid enum.
[ERROR] [Video]: Cannot open video driver.. Exiting..
[ERROR] Fatal error received in: "video_driver_init_internal()"
[INFO] [Core]: Content ran for a total of: 00 hours, 00 minutes, 00 seconds.
[libretro DEBUG] void MelonDsDs::OpenGLRenderState::ContextDestroyed()
[INFO] [Core]: Unloading game..
[libretro DEBUG] retro_unload_game()
[libretro DEBUG] Flushed 262144-byte firmware to "D:/Steam/steamapps/common/RetroArch/system/firmware.bin"
[libretro DEBUG] [melonDS] Resetting JIT block cache...
[libretro DEBUG] [melonDS] done resetting jit mem
[INFO] [Core]: Unloading core..
[libretro DEBUG] retro_deinit()
[libretro DEBUG] virtual MelonDsDs::OpenGLRenderState::~OpenGLRenderState()
[INFO] [Environ]: SET_HW_RENDER, context type: N/A.
[INFO] Requesting no HW context.
[DEBUG] Reached end of SET_HW_RENDER.
[WARN] [Microphone]: Attempted to free a microphone without an active driver context.
[INFO] [Core]: Unloading core symbols..
[INFO] [Core]: Saved game-specific core options to "D:\Steam\steamapps\common\RetroArch\config\melonDS DS\Dragon Quest IX - Sentinels of the Starry Skies (Europe) (En,Fr,De,Es,It).opt".
[INFO] [RCHEEVOS]: Socktopus logged in successfully
[INFO] [RCHEEVOS]: Load failed (-31): (null)
[INFO] [RCHEEVOS]: Load aborted during game identification

What should've happened instead?

Should not crash when switching to OpenGL renderer.

Which platforms do you see the problem on?

Which versions of the OS?

Windows 10

Which libretro frontend are you using?

RetroArch Steam release

Terms

forkymcforkface commented 4 months ago

Check https://github.com/JesseTG/melonds-ds/issues/23

molly-o-k commented 4 months ago

Check #23

23 seems to talk about a version of OpenGL for mobile devices or for android/iOS. My issue is happening on a Windows desktop, and the upstream version of MelonDS (ie the standalone) works completely fine with the OpenGL renderer on the same desktop. The old melonDS core works fine as well, this is specific to this new core. I did try the advice in that thread about putting the screen version into left:right mode rather than hybrid and that didn't fix anything, either - it still crashed. Thanks for the comment regardless.

JesseTG commented 3 months ago

Hi, @molly-o-k . I just pushed out an update to melonDS DS that may resolve this issue; would you mind updating to 1.1.2 and telling me if the issue persists? If it still does, could you post another log?

molly-o-k commented 3 months ago

Hi, @molly-o-k . I just pushed out an update to melonDS DS that may resolve this issue; would you mind updating to 1.1.2 and telling me if the issue persists? If it still does, could you post another log?

Hi! Thanks for the reply. I've just tested it and the issue is still occurring on my desktop. Interestingly, it works completely fine on my steam deck (even before this new update), so it must be something about my desktop it doesn't like. In any situation, switching to the opengl renderer causes a hard crash where retroarch completely closes and has to be relaunched. If a config is saved that specifies the opengl renderer should be used, then I cannot launch the core at all - attempting to do so hard crashes retroarch, closing the whole program seemingly as soon as it opens. I have to go into Retroarch's files, locate the config file, and either manually delete or change it to be able to launch the core.

The first is a log launching a game with the config file saved as using the opengl renderer.

[INFO] [Environ]: SET_SUBSYSTEM_INFO.
[DEBUG] Subsystem ID: 0
Special game type: Slot 1 & 2 Boot
  Ident: gba
  ID: 1
  Content:
[DEBUG]     Nintendo DS (Slot 1) (required)
[DEBUG]     GBA (Slot 2) (required)
[DEBUG]     GBA Save Data (optional)
[DEBUG] Subsystem ID: 1
Special game type: Slot 1 & 2 Boot (No GBA Save Data)
  Ident: gbanosav
  ID: 2
  Content:
[DEBUG]     Nintendo DS (Slot 1) (required)
[DEBUG]     GBA (Slot 2) (required)
[DEBUG] Subsystems: 2
[INFO] [Content]: Updating firmware status for: "D:\Steam\steamapps\common\RetroArch\cores\melondsds_libretro.dll" on "D:\Steam\steamapps\common\RetroArch\system".
[INFO] [Core]: Using content: "D:\Steam\steamapps\common\RetroArch\downloads\Dragon Quest IX - Sentinels of the Starry Skies (Europe) (En,Fr,De,Es,It).nds".
[INFO] [Core]: Content ran for a total of: 00 hours, 00 minutes, 00 seconds.
[INFO] [Core]: Unloading core..
[INFO] [Core]: Unloading core symbols..
[DEBUG] [Video]: Average monitor Hz: 139.645301 Hz. (11.974 % frame time deviation, based on 2048 last samples).
[INFO] RetroArch 1.19.1 (Git 0792144fe3)
[INFO] === Build =======================================
[INFO] CPU Model Name: Intel(R) Core(TM) i5-8600K CPU @ 3.60GHz
[INFO] Capabilities: MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4 SSE42 AES AVX AVX2 
[INFO] Version: 1.19.1
[INFO] Git: 0792144fe3
[INFO] Built: Jun  4 2024
[INFO] =================================================
[INFO] [Input]: Found input driver: "dinput".
[INFO] [Core]: Loading dynamic libretro core from: "D:\Steam\steamapps\common\RetroArch\cores\melondsds_libretro.dll"
[INFO] [Overrides]: Redirecting save file to "D:\Steam\steamapps\common\RetroArch\saves\melonDS DS\Dragon Quest IX - Sentinels of the Starry Skies (Europe) (En,Fr,De,Es,It).srm".
[INFO] [Overrides]: Redirecting save state to "D:\Steam\steamapps\common\RetroArch\states\melonDS DS\Dragon Quest IX - Sentinels of the Starry Skies (Europe) (En,Fr,De,Es,It).state".
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_UPDATE_DISPLAY_CALLBACK.
[INFO] [Environ]: RETRO_ENVIRONMENT_SET_CONTENT_INFO_OVERRIDE.
[INFO] [Content Override]: File Extension: 'srm' - need_fullpath: TRUE, persistent_data: FALSE
[INFO] [Content Override]: File Extension: 'sav' - need_fullpath: TRUE, persistent_data: FALSE
[INFO] [Content Override]: File Extension: 'nds' - need_fullpath: FALSE, persistent_data: TRUE
[INFO] [Content Override]: File Extension: 'dsi' - need_fullpath: FALSE, persistent_data: TRUE
[INFO] [Content Override]: File Extension: 'ids' - need_fullpath: FALSE, persistent_data: TRUE
[INFO] [Content Override]: File Extension: 'gba' - need_fullpath: FALSE, persistent_data: TRUE
[INFO] [Environ]: SET_CONTROLLER_INFO.
[DEBUG]    Port 1:
[DEBUG]       "Nintendo DS" (1)
[INFO] [Environ]: SET_SUPPORT_ACHIEVEMENTS: yes.
[INFO] [Environ]: GET_LOG_INTERFACE.
[libretro DEBUG] retro_set_environment(0x4109b0)
[INFO] [Environ]: UNSUPPORTED (#33).
[INFO] [Environ]: GET_MESSAGE_INTERFACE_VERSION.
[libretro DEBUG] Frontend report a message API version 1
[INFO] [Environ]: SAVE_DIRECTORY: "D:\Steam\steamapps\common\RetroArch\saves\melonDS DS".
[libretro INFO] Save directory: "D:/Steam/steamapps/common/RetroArch/saves/melonDS DS"
[libretro INFO] melonDS DS save subdirectory: "D:/Steam/steamapps/common/RetroArch/saves/melonDS DS"
[INFO] [Environ]: SYSTEM_DIRECTORY: "D:\Steam\steamapps\common\RetroArch\system".
[libretro INFO] System directory: "D:/Steam/steamapps/common/RetroArch/system"
[libretro INFO] melonDS DS system subdirectory: "D:/Steam/steamapps/common/RetroArch/system/melonDS DS"
[DEBUG] [Environ]: SET_SUBSYSTEM_INFO.
[DEBUG] Special game type: Slot 1 & 2 Boot
  Ident: gba
  ID: 1
  Content:
[DEBUG]     Nintendo DS (Slot 1) (required)
[DEBUG]     GBA (Slot 2) (required)
[DEBUG]     GBA Save Data (optional)
[DEBUG] Special game type: Slot 1 & 2 Boot (No GBA Save Data)
  Ident: gbanosav
  ID: 2
  Content:
[DEBUG]     Nintendo DS (Slot 1) (required)
[DEBUG]     GBA (Slot 2) (required)
[INFO] [Environ]: GET_VFS_INTERFACE. Core requested version >= V3, providing V3.
[libretro DEBUG] Requested VFS interface version 3, got 3
[INFO] [Environ]: SET_SUPPORT_NO_GAME: yes.
[INFO] [Remaps]: Core-specific remap found at "D:\Steam\steamapps\common\RetroArch\config\remaps\melonDS DS\melonDS DS.rmp".
[libretro DEBUG] Frontend supports no-game mode.[libretro DEBUG] Power state available[libretro DEBUG] retro_init
[libretro INFO] melonDS DS 1.1.2
[INFO] [Environ]: RETRO_ENVIRONMENT_GET_MICROPHONE_INTERFACE.
[libretro DEBUG] Microphone support available (version 1)[INFO] [Content]: Loading content file: "D:\Steam\steamapps\common\RetroArch\downloads\Dragon Quest IX - Sentinels of the Starry Skies (Europe) (En,Fr,De,Es,It).nds".
[libretro DEBUG] retro_load_game("D:\Steam\steamapps\common\RetroArch\downloads\Dragon Quest IX - Sentinels of the Starry Skies (Europe) (En,Fr,De,Es,It).nds", 268435456)
[INFO] [Environ]: SET_PIXEL_FORMAT: XRGB8888.
[libretro DEBUG] D:/Steam/steamapps/common/RetroArch/system/bios7.bin is not a known firmware size (found 16384 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] D:/Steam/steamapps/common/RetroArch/system/bios9.bin is not a known firmware size (found 4096 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] D:/Steam/steamapps/common/RetroArch/system/BIOSGBA.ROM is not a known firmware size (found 16384 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] D:/Steam/steamapps/common/RetroArch/system/firmware.bin.bak is a backup file, not counting it as firmware
[libretro DEBUG] D:/Steam/steamapps/common/RetroArch/system/key.cfg is not a known firmware size (found 13 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] D:/Steam/steamapps/common/RetroArch/system/mupen64plus.ini is not a known firmware size (found 455032 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] Found a firmware image at "D:/Steam/steamapps/common/RetroArch/system/firmware.bin"
[libretro ERROR] [melonDS] PCap: init failed
[libretro WARN] Failed to enumerate Wi-fi adapters
[INFO] [Environ]: GET_CORE_OPTIONS_VERSION.
[libretro DEBUG] Frontend reports core options version: 2
[INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_V2.
[INFO] [Core]: Game-specific core options found at "D:\Steam\steamapps\common\RetroArch\config\melonDS DS\Dragon Quest IX - Sentinels of the Starry Skies (Europe) (En,Fr,De,Es,It).opt".
[libretro DEBUG] V2 core options set successfully
[DEBUG] [Environ]: GET_VARIABLE: melonds_console_mode = "ds"
[DEBUG] [Environ]: GET_VARIABLE: melonds_boot_mode = "direct"
[DEBUG] [Environ]: GET_VARIABLE: melonds_sysfile_mode = "native"
[DEBUG] [Environ]: GET_VARIABLE: melonds_ds_battery_ok_threshold = "20"
[DEBUG] [Environ]: GET_VARIABLE: melonds_battery_update_interval = "15"
[DEBUG] [Environ]: GET_VARIABLE: melonds_start_time_mode = "real"
[DEBUG] [Environ]: GET_VARIABLE: melonds_start_time_relative_year_offset = "0"
[DEBUG] [Environ]: GET_VARIABLE: melonds_start_time_relative_day_offset = "0"
[DEBUG] [Environ]: GET_VARIABLE: melonds_start_time_relative_hour_offset = "0"
[DEBUG] [Environ]: GET_VARIABLE: melonds_start_time_relative_minute_offset = "0"
[DEBUG] [Environ]: GET_VARIABLE: melonds_start_time_absolute_year = "2004"
[DEBUG] [Environ]: GET_VARIABLE: melonds_start_time_absolute_month = "1"
[DEBUG] [Environ]: GET_VARIABLE: melonds_start_time_absolute_day = "1"
[DEBUG] [Environ]: GET_VARIABLE: melonds_start_time_absolute_hour = "0"
[DEBUG] [Environ]: GET_VARIABLE: melonds_start_time_absolute_minute = "0"
[DEBUG] [Environ]: GET_VARIABLE: melonds_show_unsupported_features = "enabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_show_mic_state = "disabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_show_camera_state = "enabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_show_bios_warnings = "enabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_show_current_layout = "disabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_show_lid_state = "enabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_jit_enable = "enabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_jit_block_size = "32"
[DEBUG] [Environ]: GET_VARIABLE: melonds_jit_branch_optimisations = "enabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_jit_literal_optimisations = "enabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_jit_fast_memory = "enabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_homebrew_readonly = "disabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_homebrew_sync_sdcard_to_host = "disabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_homebrew_sdcard = "enabled"
[libretro INFO] No homebrew SD card image found at "D:/Steam/steamapps/common/RetroArch/saves/melonDS DS/dldi_sd_card.bin"; will create an image.
[DEBUG] [Environ]: GET_VARIABLE: melonds_dsi_sdcard_readonly = "disabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_dsi_sdcard_sync_sdcard_to_host = "disabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_dsi_sdcard = "enabled"
[libretro INFO] No DSi SD card image found at "D:/Steam/steamapps/common/RetroArch/saves/melonDS DS/dsi_sd_card.bin"; will create an image.
[DEBUG] [Environ]: GET_VARIABLE: melonds_dsi_nand_path = "/notfound"
[DEBUG] [Environ]: GET_VARIABLE: melonds_firmware_nds_path = "firmware.bin"
[DEBUG] [Environ]: GET_VARIABLE: melonds_firmware_dsi_path = "firmware.bin"
[DEBUG] [Environ]: GET_VARIABLE: melonds_firmware_language = "auto"
[DEBUG] [Environ]: GET_VARIABLE: melonds_firmware_favorite_color = "12"
[DEBUG] [Environ]: GET_VARIABLE: melonds_firmware_username = "guess_username"
[DEBUG] [Environ]: GET_VARIABLE: melonds_firmware_enable_alarm = "default"
[DEBUG] [Environ]: GET_VARIABLE: melonds_firmware_alarm_hour = "default"
[DEBUG] [Environ]: GET_VARIABLE: melonds_firmware_alarm_minute = "default"
[DEBUG] [Environ]: GET_VARIABLE: melonds_firmware_birth_month = "3"
[DEBUG] [Environ]: GET_VARIABLE: melonds_firmware_birth_day = "18"
[DEBUG] [Environ]: GET_VARIABLE: melonds_firmware_wfc_dns = "178.62.43.212"
[DEBUG] [Environ]: GET_VARIABLE: melonds_mic_input_active = "hold"
[DEBUG] [Environ]: GET_VARIABLE: melonds_mic_input = "microphone"
[DEBUG] [Environ]: GET_VARIABLE: melonds_audio_bitdepth = "auto"
[DEBUG] [Environ]: GET_VARIABLE: melonds_audio_interpolation = "disabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_network_mode = "indirect"
[DEBUG] [Environ]: GET_VARIABLE: melonds_direct_network_interface = "auto"
[DEBUG] [Environ]: GET_VARIABLE: melonds_screen_gap = "0"
[DEBUG] [Environ]: GET_VARIABLE: melonds_cursor_timeout = "3"
[DEBUG] [Environ]: GET_VARIABLE: melonds_touch_mode = "auto"
[DEBUG] [Environ]: GET_VARIABLE: melonds_show_cursor = "timeout"
[DEBUG] [Environ]: GET_VARIABLE: melonds_hybrid_ratio = "3"
[DEBUG] [Environ]: GET_VARIABLE: melonds_hybrid_small_screen = "one"
[DEBUG] [Environ]: GET_VARIABLE: melonds_number_of_screen_layouts = "2"
[DEBUG] [Environ]: GET_VARIABLE: melonds_screen_layout1 = "top-bottom"
[DEBUG] [Environ]: GET_VARIABLE: melonds_screen_layout2 = "bottom-top"
[DEBUG] [Environ]: GET_VARIABLE: melonds_screen_layout3 = "top-bottom"
[DEBUG] [Environ]: GET_VARIABLE: melonds_screen_layout4 = "bottom-top"
[DEBUG] [Environ]: GET_VARIABLE: melonds_screen_layout5 = "hybrid-top"
[DEBUG] [Environ]: GET_VARIABLE: melonds_screen_layout6 = "hybrid-bottom"
[DEBUG] [Environ]: GET_VARIABLE: melonds_screen_layout7 = "bottom-top"
[DEBUG] [Environ]: GET_VARIABLE: melonds_screen_layout8 = "right-left"
[DEBUG] [Environ]: GET_VARIABLE: melonds_opengl_filtering = "linear"
[DEBUG] [Environ]: GET_VARIABLE: melonds_threaded_renderer = "enabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_render_mode = "opengl"
[DEBUG] [Environ]: GET_VARIABLE: melonds_opengl_resolution = "2"
[DEBUG] [Environ]: GET_VARIABLE: melonds_opengl_better_polygons = "disabled"
[libretro DEBUG] bool MelonDsDs::CoreOptionVisibility::Update()
[DEBUG] [Environ]: GET_VARIABLE: melonds_mic_input = "microphone"
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: GET_VARIABLE: melonds_render_mode = "opengl"
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: GET_VARIABLE: melonds_console_mode = "ds"
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: GET_VARIABLE: melonds_dsi_sdcard = "enabled"
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: GET_VARIABLE: melonds_homebrew_sdcard = "enabled"
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: GET_VARIABLE: melonds_show_cursor = "timeout"
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: GET_VARIABLE: melonds_number_of_screen_layouts = "2"
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: GET_VARIABLE: melonds_screen_layout1 = "top-bottom"
[DEBUG] [Environ]: GET_VARIABLE: melonds_screen_layout2 = "bottom-top"
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: GET_VARIABLE: melonds_firmware_enable_alarm = "default"
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: GET_VARIABLE: melonds_jit_enable = "enabled"
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: GET_VARIABLE: melonds_network_mode = "indirect"
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: GET_VARIABLE: melonds_start_time_mode = "real"
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[libretro DEBUG] MelonDsDs::OpenGLRenderState::OpenGLRenderState()
[INFO] [Environ]: SET_HW_RENDER, context type: gl.
[INFO] Requesting OpenGL context.
[DEBUG] Reached end of SET_HW_RENDER.
[libretro DEBUG] OpenGL context requested. Current framebuffer: 0
[libretro DEBUG] Initialized OpenGL render state
[DEBUG] [Environ]: SET_ROTATION: 0
[INFO] [Microphone]: Microphone requested before driver context was ready; deferring initialization.
[libretro INFO] Loaded DS Lite firmware from "D:/Steam/steamapps/common/RetroArch/system/firmware.bin" (Identifier: MACh)
[libretro ERROR] Failed to open ARM7 file "D:/Steam/steamapps/common/RetroArch/system/melonDS DS/bios7.bin" for reading
[libretro INFO] Successfully loaded 16384-byte ARM7 file "D:/Steam/steamapps/common/RetroArch/system/bios7.bin"
[libretro ERROR] Failed to open ARM9 file "D:/Steam/steamapps/common/RetroArch/system/melonDS DS/bios9.bin" for reading
[libretro INFO] Successfully loaded 4096-byte ARM9 file "D:/Steam/steamapps/common/RetroArch/system/bios9.bin"
[libretro DEBUG] Installed native ARM7 and ARM9 NDS BIOS images
[INFO] [Environ]: GET_USERNAME: "".
[INFO] [Environ]: GET_LANGUAGE: "0".
[libretro DEBUG] Parsed NDS ROM: "D:\Steam\steamapps\common\RetroArch\downloads\Dragon Quest IX - Sentinels of the Starry Skies (Europe) (En,Fr,De,Es,It).nds"
[libretro DEBUG] Initialized indirect-mode Wi-fi support[libretro DEBUG] [melonDS] Re-encrypting cart secure area
[libretro DEBUG] [melonDS] NDSCart: Initialized Key1_KeyBuf from memory
[libretro DEBUG] [melonDS] NDSCart: Initialized Key1_KeyBuf from memory
[libretro DEBUG] [melonDS] Re-encrypted cart secure area
[libretro INFO] [melonDS] Inserted cart with game code: YDQP
[libretro INFO] [melonDS] Inserted cart with ID: 0000FFC2
[libretro INFO] [melonDS] ROM entry: 10000000 00000003
[libretro DEBUG] Allocated 65536-byte SRAM buffer for loaded NDS ROM.
[libretro INFO] No GBA SRAM was provided.
[INFO] [Environ]: GET_MESSAGE_INTERFACE_VERSION.
[INFO] [Environ]: SET_INPUT_DESCRIPTORS:
[DEBUG]    Port 1:
[DEBUG]       "D-Pad Up" => "Up"
[DEBUG]       "D-Pad Down" => "Down"
[DEBUG]       "D-Pad Left" => "Left"
[DEBUG]       "D-Pad Right" => "Right"
[DEBUG]       "B Button (Down)" => "B"
[DEBUG]       "A Button (Right)" => "A"
[DEBUG]       "Y Button (Left)" => "Y"
[DEBUG]       "X Button (Top)" => "X"
[DEBUG]       "Select Button" => "Select"
[DEBUG]       "Start Button" => "Start"
[DEBUG]       "L Button (Shoulder)" => "L"
[DEBUG]       "R Button (Shoulder)" => "R"
[DEBUG]       "L2 Button (Trigger)" => "Microphone"
[DEBUG]       "R2 Button (Trigger)" => "Next Screen Layout"
[DEBUG]       "L3 Button (Thumb)" => "Close Lid"
[DEBUG]       "R3 Button (Thumb)" => "Touch Joystick"
[DEBUG]    Port 2:
[DEBUG]    Port 3:
[DEBUG]    Port 4:
[DEBUG]    Port 5:
[DEBUG]    Port 6:
[DEBUG]    Port 7:
[DEBUG]    Port 8:
[libretro INFO] Deferring initialization until the OpenGL context is ready
[INFO] [RCHEEVOS]: Using host: https://retroachievements.org
[INFO] [RCHEEVOS]: Unofficial disabled
[INFO] [RCHEEVOS]: Encore mode disabled
[INFO] [RCHEEVOS]: Spectator mode disabled
[INFO] [RCHEEVOS]: Load started, hardcore active
[INFO] [RCHEEVOS]: Attempting to log in Socktopus (with token)
[INFO] [RCHEEVOS]: Identifying game: 268435456 bytes at 000000001F3C5040 (D:\Steam\steamapps\common\RetroArch\downloads\Dragon Quest IX - Sentinels of the Starry Skies (Europe) (En,Fr,De,Es,It).nds)
[INFO] [RCHEEVOS]: Found 1 potential consoles for nds file extension
[INFO] [RCHEEVOS]: Trying console 18
[INFO] [RCHEEVOS]: Opened [buffered file]
[INFO] [RCHEEVOS]: Hashing 352 byte header
[INFO] [RCHEEVOS]: Hashing 638216 byte arm9 code (at 00004000)
[INFO] [RCHEEVOS]: Hashing 167876 byte arm7 code (at 001E2400)
[INFO] [RCHEEVOS]: Hashing 2560 byte icon and labels data (at 00230400)
[INFO] [RCHEEVOS]: Generated hash ebb3e9ee86d520f624ffc701a912779b
[libretro DEBUG] retro_get_memory_data(RETRO_MEMORY_SAVE_RAM)[libretro DEBUG] retro_get_memory_data(RETRO_MEMORY_RTC)[libretro DEBUG] retro_get_memory_data(RETRO_MEMORY_SAVE_RAM)[libretro DEBUG] retro_get_memory_data(RETRO_MEMORY_RTC)[INFO] [Core]: Version of libretro API: 1, Compiled against API: 1
[libretro DEBUG] void retro_get_system_av_info(retro_system_av_info*)
[libretro DEBUG] retro_get_system_av_info finished
[INFO] [Core]: Geometry: 512x768, Aspect: 0.667, FPS: 59.90, Sample rate: 32768.00 Hz.
[INFO] [Audio]: Set audio input rate to: 32823.63 Hz.
[INFO] [Video]: Set video size to: fullscreen.
[INFO] [Video]: Using HW render, OpenGL driver forced.
[INFO] [Video]: Using configured "gl" driver for GL HW render.
[INFO] [GL]: Found GL context: "wgl".
[INFO] [GL]: Detecting screen resolution: 1920x1080.
[INFO] [WGL]: Extensions: WGL_ARB_buffer_region WGL_ARB_create_context WGL_ARB_create_context_no_error WGL_ARB_create_context_profile WGL_ARB_create_context_robustness WGL_ARB_context_flush_control WGL_ARB_extensions_string WGL_ARB_make_current_read WGL_ARB_multisample WGL_ARB_pbuffer WGL_ARB_pixel_format WGL_ARB_pixel_format_float WGL_ARB_render_texture WGL_ATI_pixel_format_float WGL_EXT_colorspace WGL_EXT_create_context_es_profile WGL_EXT_create_context_es2_profile WGL_EXT_extensions_string WGL_EXT_framebuffer_sRGB WGL_EXT_pixel_format_packed_float WGL_EXT_swap_control WGL_EXT_swap_control_tear WGL_NVX_DX_interop WGL_NV_DX_interop WGL_NV_DX_interop2 WGL_NV_copy_image WGL_NV_delay_before_swap WGL_NV_float_buffer WGL_NV_multisample_coverage WGL_NV_multigpu_context WGL_NV_render_depth_texture WGL_NV_render_texture_rectangle 
[INFO] [WGL]: Adaptive VSync supported.
[INFO] [GL]: Vendor: NVIDIA Corporation, Renderer: NVIDIA GeForce GTX 1080/PCIe/SSE2.
[INFO] [GL]: Version: 4.6.0 NVIDIA 555.85.
[INFO] [GL]: Using resolution 1920x1080.
[INFO] [GL]: Default shader backend found: glsl.
[INFO] [Shader driver]: Using GLSL shader backend.
[INFO] [GLSL]: Checking GLSL shader support ...
[WARN] [GL]: Stock GLSL shaders will be used.
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GL]: Using 4 textures.
[INFO] [GL]: Loaded 1 program(s).
[INFO] [XInput]: Found XInput v1.4.
[INFO] [Joypad]: Found joypad driver: "xinput".
[INFO] [Autoconf]: Xbox 360 Wireless Controller configured in port 1.
[ERROR] [GL]: GL: Invalid enum.
[ERROR] [Video]: Cannot open video driver.. Exiting..
[ERROR] Fatal error received in: "video_driver_init_internal()"
[INFO] [Core]: Content ran for a total of: 00 hours, 00 minutes, 00 seconds.
[libretro DEBUG] void MelonDsDs::OpenGLRenderState::ContextDestroyed()
[INFO] [Core]: Unloading game..
[libretro DEBUG] retro_unload_game()
[libretro DEBUG] Flushed 262144-byte firmware to "D:/Steam/steamapps/common/RetroArch/system/firmware.bin"
[libretro DEBUG] [melonDS] Resetting JIT block cache...
[libretro DEBUG] [melonDS] done resetting jit mem
[INFO] [Core]: Unloading core..
[libretro DEBUG] retro_deinit()
[libretro DEBUG] virtual MelonDsDs::OpenGLRenderState::~OpenGLRenderState()
[INFO] [Environ]: SET_HW_RENDER, context type: N/A.
[INFO] Requesting no HW context.
[DEBUG] Reached end of SET_HW_RENDER.
[WARN] [Microphone]: Attempted to free a microphone without an active driver context.
[INFO] [Core]: Unloading core symbols..
[INFO] [Core]: Saved game-specific core options to "D:\Steam\steamapps\common\RetroArch\config\melonDS DS\Dragon Quest IX - Sentinels of the Starry Skies (Europe) (En,Fr,De,Es,It).opt".
[ERROR] failed_to_start_audio_driver
[INFO] [RCHEEVOS]: Login failed: Invalid user/token combination.
[INFO] [RCHEEVOS]: RetroAchievements login failed: Invalid user/token combination.
[INFO] [RCHEEVOS]: Load failed (-31): (null)
[INFO] [RCHEEVOS]: Load aborted during game identification

The second is a log where the game has launched successfully using jit and I then change the renderer to opengl, causing a crash.

[INFO] [Environ]: SET_SUBSYSTEM_INFO.
[DEBUG] Subsystem ID: 0
Special game type: Slot 1 & 2 Boot
  Ident: gba
  ID: 1
  Content:
[DEBUG]     Nintendo DS (Slot 1) (required)
[DEBUG]     GBA (Slot 2) (required)
[DEBUG]     GBA Save Data (optional)
[DEBUG] Subsystem ID: 1
Special game type: Slot 1 & 2 Boot (No GBA Save Data)
  Ident: gbanosav
  ID: 2
  Content:
[DEBUG]     Nintendo DS (Slot 1) (required)
[DEBUG]     GBA (Slot 2) (required)
[DEBUG] Subsystems: 2
[INFO] [Content]: Updating firmware status for: "D:\Steam\steamapps\common\RetroArch\cores\melondsds_libretro.dll" on "D:\Steam\steamapps\common\RetroArch\system".
[INFO] [Core]: Using content: "D:\Steam\steamapps\common\RetroArch\downloads\Dragon Quest IX - Sentinels of the Starry Skies (Europe) (En,Fr,De,Es,It).nds".
[INFO] [Core]: Content ran for a total of: 00 hours, 00 minutes, 00 seconds.
[INFO] [Core]: Unloading core..
[INFO] [Core]: Unloading core symbols..
[DEBUG] [Video]: Does not have enough samples for monitor refresh rate estimation. Requires to run for at least 4096 frames.
[INFO] RetroArch 1.19.1 (Git 0792144fe3)
[INFO] === Build =======================================
[INFO] CPU Model Name: Intel(R) Core(TM) i5-8600K CPU @ 3.60GHz
[INFO] Capabilities: MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4 SSE42 AES AVX AVX2 
[INFO] Version: 1.19.1
[INFO] Git: 0792144fe3
[INFO] Built: Jun  4 2024
[INFO] =================================================
[INFO] [Input]: Found input driver: "dinput".
[INFO] [Core]: Loading dynamic libretro core from: "D:\Steam\steamapps\common\RetroArch\cores\melondsds_libretro.dll"
[INFO] [Overrides]: Redirecting save file to "D:\Steam\steamapps\common\RetroArch\saves\melonDS DS\Dragon Quest IX - Sentinels of the Starry Skies (Europe) (En,Fr,De,Es,It).srm".
[INFO] [Overrides]: Redirecting save state to "D:\Steam\steamapps\common\RetroArch\states\melonDS DS\Dragon Quest IX - Sentinels of the Starry Skies (Europe) (En,Fr,De,Es,It).state".
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_UPDATE_DISPLAY_CALLBACK.
[INFO] [Environ]: RETRO_ENVIRONMENT_SET_CONTENT_INFO_OVERRIDE.
[INFO] [Content Override]: File Extension: 'srm' - need_fullpath: TRUE, persistent_data: FALSE
[INFO] [Content Override]: File Extension: 'sav' - need_fullpath: TRUE, persistent_data: FALSE
[INFO] [Content Override]: File Extension: 'nds' - need_fullpath: FALSE, persistent_data: TRUE
[INFO] [Content Override]: File Extension: 'dsi' - need_fullpath: FALSE, persistent_data: TRUE
[INFO] [Content Override]: File Extension: 'ids' - need_fullpath: FALSE, persistent_data: TRUE
[INFO] [Content Override]: File Extension: 'gba' - need_fullpath: FALSE, persistent_data: TRUE
[INFO] [Environ]: SET_CONTROLLER_INFO.
[DEBUG]    Port 1:
[DEBUG]       "Nintendo DS" (1)
[INFO] [Environ]: SET_SUPPORT_ACHIEVEMENTS: yes.
[INFO] [Environ]: GET_LOG_INTERFACE.
[libretro DEBUG] retro_set_environment(0x4109b0)
[INFO] [Environ]: UNSUPPORTED (#33).
[INFO] [Environ]: GET_MESSAGE_INTERFACE_VERSION.
[libretro DEBUG] Frontend report a message API version 1
[INFO] [Environ]: SAVE_DIRECTORY: "D:\Steam\steamapps\common\RetroArch\saves\melonDS DS".
[libretro INFO] Save directory: "D:/Steam/steamapps/common/RetroArch/saves/melonDS DS"
[libretro INFO] melonDS DS save subdirectory: "D:/Steam/steamapps/common/RetroArch/saves/melonDS DS"
[INFO] [Environ]: SYSTEM_DIRECTORY: "D:\Steam\steamapps\common\RetroArch\system".
[libretro INFO] System directory: "D:/Steam/steamapps/common/RetroArch/system"
[libretro INFO] melonDS DS system subdirectory: "D:/Steam/steamapps/common/RetroArch/system/melonDS DS"
[DEBUG] [Environ]: SET_SUBSYSTEM_INFO.
[DEBUG] Special game type: Slot 1 & 2 Boot
  Ident: gba
  ID: 1
  Content:
[DEBUG]     Nintendo DS (Slot 1) (required)
[DEBUG]     GBA (Slot 2) (required)
[DEBUG]     GBA Save Data (optional)
[DEBUG] Special game type: Slot 1 & 2 Boot (No GBA Save Data)
  Ident: gbanosav
  ID: 2
  Content:
[DEBUG]     Nintendo DS (Slot 1) (required)
[DEBUG]     GBA (Slot 2) (required)
[INFO] [Environ]: GET_VFS_INTERFACE. Core requested version >= V3, providing V3.
[libretro DEBUG] Requested VFS interface version 3, got 3
[INFO] [Environ]: SET_SUPPORT_NO_GAME: yes.
[INFO] [Remaps]: Core-specific remap found at "D:\Steam\steamapps\common\RetroArch\config\remaps\melonDS DS\melonDS DS.rmp".
[libretro DEBUG] Frontend supports no-game mode.[libretro DEBUG] Power state available[libretro DEBUG] retro_init
[libretro INFO] melonDS DS 1.1.2
[INFO] [Environ]: RETRO_ENVIRONMENT_GET_MICROPHONE_INTERFACE.
[libretro DEBUG] Microphone support available (version 1)[INFO] [Content]: Loading content file: "D:\Steam\steamapps\common\RetroArch\downloads\Dragon Quest IX - Sentinels of the Starry Skies (Europe) (En,Fr,De,Es,It).nds".
[libretro DEBUG] retro_load_game("D:\Steam\steamapps\common\RetroArch\downloads\Dragon Quest IX - Sentinels of the Starry Skies (Europe) (En,Fr,De,Es,It).nds", 268435456)
[INFO] [Environ]: SET_PIXEL_FORMAT: XRGB8888.
[libretro DEBUG] D:/Steam/steamapps/common/RetroArch/system/bios7.bin is not a known firmware size (found 16384 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] D:/Steam/steamapps/common/RetroArch/system/bios9.bin is not a known firmware size (found 4096 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] D:/Steam/steamapps/common/RetroArch/system/BIOSGBA.ROM is not a known firmware size (found 16384 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] D:/Steam/steamapps/common/RetroArch/system/firmware.bin.bak is a backup file, not counting it as firmware
[libretro DEBUG] D:/Steam/steamapps/common/RetroArch/system/key.cfg is not a known firmware size (found 13 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] D:/Steam/steamapps/common/RetroArch/system/mupen64plus.ini is not a known firmware size (found 455032 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] Found a firmware image at "D:/Steam/steamapps/common/RetroArch/system/firmware.bin"
[libretro ERROR] [melonDS] PCap: init failed
[libretro WARN] Failed to enumerate Wi-fi adapters
[INFO] [Environ]: GET_CORE_OPTIONS_VERSION.
[libretro DEBUG] Frontend reports core options version: 2
[INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_V2.
[libretro DEBUG] V2 core options set successfully
[DEBUG] [Environ]: GET_VARIABLE: melonds_console_mode = "ds"
[DEBUG] [Environ]: GET_VARIABLE: melonds_boot_mode = "direct"
[DEBUG] [Environ]: GET_VARIABLE: melonds_sysfile_mode = "native"
[DEBUG] [Environ]: GET_VARIABLE: melonds_ds_battery_ok_threshold = "20"
[DEBUG] [Environ]: GET_VARIABLE: melonds_battery_update_interval = "15"
[DEBUG] [Environ]: GET_VARIABLE: melonds_start_time_mode = "real"
[DEBUG] [Environ]: GET_VARIABLE: melonds_start_time_relative_year_offset = "0"
[DEBUG] [Environ]: GET_VARIABLE: melonds_start_time_relative_day_offset = "0"
[DEBUG] [Environ]: GET_VARIABLE: melonds_start_time_relative_hour_offset = "0"
[DEBUG] [Environ]: GET_VARIABLE: melonds_start_time_relative_minute_offset = "0"
[DEBUG] [Environ]: GET_VARIABLE: melonds_start_time_absolute_year = "2004"
[DEBUG] [Environ]: GET_VARIABLE: melonds_start_time_absolute_month = "1"
[DEBUG] [Environ]: GET_VARIABLE: melonds_start_time_absolute_day = "1"
[DEBUG] [Environ]: GET_VARIABLE: melonds_start_time_absolute_hour = "0"
[DEBUG] [Environ]: GET_VARIABLE: melonds_start_time_absolute_minute = "0"
[DEBUG] [Environ]: GET_VARIABLE: melonds_show_unsupported_features = "enabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_show_mic_state = "disabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_show_camera_state = "enabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_show_bios_warnings = "enabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_show_current_layout = "disabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_show_lid_state = "enabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_jit_enable = "enabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_jit_block_size = "32"
[DEBUG] [Environ]: GET_VARIABLE: melonds_jit_branch_optimisations = "enabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_jit_literal_optimisations = "enabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_jit_fast_memory = "enabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_homebrew_readonly = "disabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_homebrew_sync_sdcard_to_host = "disabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_homebrew_sdcard = "enabled"
[libretro INFO] No homebrew SD card image found at "D:/Steam/steamapps/common/RetroArch/saves/melonDS DS/dldi_sd_card.bin"; will create an image.
[DEBUG] [Environ]: GET_VARIABLE: melonds_dsi_sdcard_readonly = "disabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_dsi_sdcard_sync_sdcard_to_host = "disabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_dsi_sdcard = "enabled"
[libretro INFO] No DSi SD card image found at "D:/Steam/steamapps/common/RetroArch/saves/melonDS DS/dsi_sd_card.bin"; will create an image.
[DEBUG] [Environ]: GET_VARIABLE: melonds_dsi_nand_path = "/notfound"
[DEBUG] [Environ]: GET_VARIABLE: melonds_firmware_nds_path = "firmware.bin"
[DEBUG] [Environ]: GET_VARIABLE: melonds_firmware_dsi_path = "firmware.bin"
[DEBUG] [Environ]: GET_VARIABLE: melonds_firmware_language = "auto"
[DEBUG] [Environ]: GET_VARIABLE: melonds_firmware_favorite_color = "12"
[DEBUG] [Environ]: GET_VARIABLE: melonds_firmware_username = "guess_username"
[DEBUG] [Environ]: GET_VARIABLE: melonds_firmware_enable_alarm = "default"
[DEBUG] [Environ]: GET_VARIABLE: melonds_firmware_alarm_hour = "default"
[DEBUG] [Environ]: GET_VARIABLE: melonds_firmware_alarm_minute = "default"
[DEBUG] [Environ]: GET_VARIABLE: melonds_firmware_birth_month = "3"
[DEBUG] [Environ]: GET_VARIABLE: melonds_firmware_birth_day = "18"
[DEBUG] [Environ]: GET_VARIABLE: melonds_firmware_wfc_dns = "178.62.43.212"
[DEBUG] [Environ]: GET_VARIABLE: melonds_mic_input_active = "hold"
[DEBUG] [Environ]: GET_VARIABLE: melonds_mic_input = "microphone"
[DEBUG] [Environ]: GET_VARIABLE: melonds_audio_bitdepth = "auto"
[DEBUG] [Environ]: GET_VARIABLE: melonds_audio_interpolation = "disabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_network_mode = "indirect"
[DEBUG] [Environ]: GET_VARIABLE: melonds_direct_network_interface = "auto"
[DEBUG] [Environ]: GET_VARIABLE: melonds_screen_gap = "0"
[DEBUG] [Environ]: GET_VARIABLE: melonds_cursor_timeout = "3"
[DEBUG] [Environ]: GET_VARIABLE: melonds_touch_mode = "auto"
[DEBUG] [Environ]: GET_VARIABLE: melonds_show_cursor = "timeout"
[DEBUG] [Environ]: GET_VARIABLE: melonds_hybrid_ratio = "3"
[DEBUG] [Environ]: GET_VARIABLE: melonds_hybrid_small_screen = "one"
[DEBUG] [Environ]: GET_VARIABLE: melonds_number_of_screen_layouts = "2"
[DEBUG] [Environ]: GET_VARIABLE: melonds_screen_layout1 = "top-bottom"
[DEBUG] [Environ]: GET_VARIABLE: melonds_screen_layout2 = "hybrid-top"
[DEBUG] [Environ]: GET_VARIABLE: melonds_screen_layout3 = "top"
[DEBUG] [Environ]: GET_VARIABLE: melonds_screen_layout4 = "bottom"
[DEBUG] [Environ]: GET_VARIABLE: melonds_screen_layout5 = "hybrid-top"
[DEBUG] [Environ]: GET_VARIABLE: melonds_screen_layout6 = "hybrid-bottom"
[DEBUG] [Environ]: GET_VARIABLE: melonds_screen_layout7 = "bottom-top"
[DEBUG] [Environ]: GET_VARIABLE: melonds_screen_layout8 = "right-left"
[DEBUG] [Environ]: GET_VARIABLE: melonds_opengl_filtering = "nearest"
[DEBUG] [Environ]: GET_VARIABLE: melonds_threaded_renderer = "enabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_render_mode = "software"
[DEBUG] [Environ]: GET_VARIABLE: melonds_opengl_resolution = "2"
[DEBUG] [Environ]: GET_VARIABLE: melonds_opengl_better_polygons = "disabled"
[libretro DEBUG] bool MelonDsDs::CoreOptionVisibility::Update()
[DEBUG] [Environ]: GET_VARIABLE: melonds_mic_input = "microphone"
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: GET_VARIABLE: melonds_render_mode = "software"
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: GET_VARIABLE: melonds_console_mode = "ds"
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: GET_VARIABLE: melonds_dsi_sdcard = "enabled"
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: GET_VARIABLE: melonds_homebrew_sdcard = "enabled"
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: GET_VARIABLE: melonds_show_cursor = "timeout"
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: GET_VARIABLE: melonds_number_of_screen_layouts = "2"
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: GET_VARIABLE: melonds_screen_layout1 = "top-bottom"
[DEBUG] [Environ]: GET_VARIABLE: melonds_screen_layout2 = "hybrid-top"
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: GET_VARIABLE: melonds_firmware_enable_alarm = "default"
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: GET_VARIABLE: melonds_jit_enable = "enabled"
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: GET_VARIABLE: melonds_network_mode = "indirect"
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: GET_VARIABLE: melonds_start_time_mode = "real"
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[libretro DEBUG] Initialized software render state
[DEBUG] [Environ]: SET_ROTATION: 0
[INFO] [Microphone]: Microphone requested before driver context was ready; deferring initialization.
[libretro INFO] Loaded DS Lite firmware from "D:/Steam/steamapps/common/RetroArch/system/firmware.bin" (Identifier: MACh)
[libretro ERROR] Failed to open ARM7 file "D:/Steam/steamapps/common/RetroArch/system/melonDS DS/bios7.bin" for reading
[libretro INFO] Successfully loaded 16384-byte ARM7 file "D:/Steam/steamapps/common/RetroArch/system/bios7.bin"
[libretro ERROR] Failed to open ARM9 file "D:/Steam/steamapps/common/RetroArch/system/melonDS DS/bios9.bin" for reading
[libretro INFO] Successfully loaded 4096-byte ARM9 file "D:/Steam/steamapps/common/RetroArch/system/bios9.bin"
[libretro DEBUG] Installed native ARM7 and ARM9 NDS BIOS images
[INFO] [Environ]: GET_USERNAME: "".
[INFO] [Environ]: GET_LANGUAGE: "0".
[libretro DEBUG] Parsed NDS ROM: "D:\Steam\steamapps\common\RetroArch\downloads\Dragon Quest IX - Sentinels of the Starry Skies (Europe) (En,Fr,De,Es,It).nds"
[libretro DEBUG] Initialized indirect-mode Wi-fi support[libretro DEBUG] [melonDS] Re-encrypting cart secure area
[libretro DEBUG] [melonDS] NDSCart: Initialized Key1_KeyBuf from memory
[libretro DEBUG] [melonDS] NDSCart: Initialized Key1_KeyBuf from memory
[libretro DEBUG] [melonDS] Re-encrypted cart secure area
[libretro INFO] [melonDS] Inserted cart with game code: YDQP
[libretro INFO] [melonDS] Inserted cart with ID: 0000FFC2
[libretro INFO] [melonDS] ROM entry: 10000000 00000003
[libretro DEBUG] Allocated 65536-byte SRAM buffer for loaded NDS ROM.
[libretro INFO] No GBA SRAM was provided.
[INFO] [Environ]: GET_MESSAGE_INTERFACE_VERSION.
[INFO] [Environ]: SET_INPUT_DESCRIPTORS:
[DEBUG]    Port 1:
[DEBUG]       "D-Pad Up" => "Up"
[DEBUG]       "D-Pad Down" => "Down"
[DEBUG]       "D-Pad Left" => "Left"
[DEBUG]       "D-Pad Right" => "Right"
[DEBUG]       "B Button (Down)" => "B"
[DEBUG]       "A Button (Right)" => "A"
[DEBUG]       "Y Button (Left)" => "Y"
[DEBUG]       "X Button (Top)" => "X"
[DEBUG]       "Select Button" => "Select"
[DEBUG]       "Start Button" => "Start"
[DEBUG]       "L Button (Shoulder)" => "L"
[DEBUG]       "R Button (Shoulder)" => "R"
[DEBUG]       "L2 Button (Trigger)" => "Microphone"
[DEBUG]       "R2 Button (Trigger)" => "Next Screen Layout"
[DEBUG]       "L3 Button (Thumb)" => "Close Lid"
[DEBUG]       "R3 Button (Thumb)" => "Touch Joystick"
[DEBUG]    Port 2:
[DEBUG]    Port 3:
[DEBUG]    Port 4:
[DEBUG]    Port 5:
[DEBUG]    Port 6:
[DEBUG]    Port 7:
[DEBUG]    Port 8:
[libretro INFO] No need to defer initialization, proceeding now
[libretro DEBUG] void MelonDsDs::CoreState::StartConsole()
[libretro DEBUG] [melonDS] Resetting JIT block cache...
[libretro DEBUG] [melonDS] done resetting jit mem
[libretro DEBUG] [melonDS] done resetting jit mem
[libretro INFO] [melonDS] MAC: 00:16:56:83:31:F9
[libretro DEBUG] [melonDS] FW: WIFI CRC16 = GOOD
[libretro DEBUG] [melonDS] FW: AP1 CRC16 = GOOD
[libretro DEBUG] [melonDS] FW: AP2 CRC16 = GOOD
[libretro DEBUG] [melonDS] FW: AP3 CRC16 = GOOD
[libretro DEBUG] [melonDS] FW: USER0 CRC16 = GOOD
[libretro DEBUG] [melonDS] FW: USER1 CRC16 = GOOD
[libretro DEBUG] Starting the RTC at 2024-06-13 05:26:56 PM (local time)
[libretro DEBUG] [melonDS] remapping SWRAM
[libretro DEBUG] [melonDS] NDSCart: Initialized Key1_KeyBuf from memory
[libretro DEBUG] [melonDS] NDSCart: Initialized Key1_KeyBuf from memory
[libretro INFO] [melonDS] Secure area decryption OK
[libretro DEBUG] [melonDS] remapping DTCM 0 1000 ffffffff ffffffff
[libretro DEBUG] [melonDS] PU: region 0 = 04000033 : enabled, 04000000-08000000
[libretro DEBUG] [melonDS] PU: region 0 = 04000033 : enabled, 04000000-08000000
[libretro DEBUG] [melonDS] PU: region 1 = 0200002B : enabled, 02000000-02400000
[libretro DEBUG] [melonDS] PU: region 1 = 0200002B : enabled, 02000000-02400000
[libretro DEBUG] [melonDS] PU: region 2 = 00000000 : disabled, 00000000-00000002
[libretro DEBUG] [melonDS] PU: region 2 = 00000000 : disabled, 00000000-00000002
[libretro DEBUG] [melonDS] PU: region 3 = 08000035 : enabled, 08000000-10000000
[libretro DEBUG] [melonDS] PU: region 3 = 08000035 : enabled, 08000000-10000000
[libretro DEBUG] [melonDS] PU: region 4 = 0300001B : enabled, 03000000-03004000
[libretro DEBUG] [melonDS] PU: region 4 = 0300001B : enabled, 03000000-03004000
[libretro DEBUG] [melonDS] PU: region 5 = 00000000 : disabled, 00000000-00000002
[libretro DEBUG] [melonDS] PU: region 5 = 00000000 : disabled, 00000000-00000002
[libretro DEBUG] [melonDS] PU: region 6 = FFFF001D : enabled, FFFF0000-FFFF8000
[libretro DEBUG] [melonDS] PU: region 6 = FFFF001D : enabled, FFFF0000-FFFF8000
[libretro DEBUG] [melonDS] PU: region 7 = 027FF017 : enabled, 027FF000-02800000
[libretro DEBUG] [melonDS] PU: region 7 = 027FF017 : enabled, 027FF000-02800000
[libretro DEBUG] [melonDS] remapping DTCM 3000000 3004000 0 fffff000
[libretro INFO] [melonDS] Game is now booting
[libretro DEBUG] Initialized direct boot for "Dragon Quest IX - Sentinels of the Starry Skies (Europe) (En,Fr,De,Es,It).nds"
[libretro INFO] Started emulated console
[INFO] [RCHEEVOS]: Using host: https://retroachievements.org
[INFO] [RCHEEVOS]: Unofficial disabled
[INFO] [RCHEEVOS]: Encore mode disabled
[INFO] [RCHEEVOS]: Spectator mode disabled
[INFO] [RCHEEVOS]: Load started, hardcore active
[INFO] [RCHEEVOS]: Attempting to log in Socktopus (with token)
[INFO] [RCHEEVOS]: Identifying game: 268435456 bytes at 000000001EF69040 (D:\Steam\steamapps\common\RetroArch\downloads\Dragon Quest IX - Sentinels of the Starry Skies (Europe) (En,Fr,De,Es,It).nds)
[INFO] [RCHEEVOS]: Found 1 potential consoles for nds file extension
[INFO] [RCHEEVOS]: Trying console 18
[INFO] [RCHEEVOS]: Opened [buffered file]
[INFO] [RCHEEVOS]: Hashing 352 byte header
[INFO] [RCHEEVOS]: Hashing 638216 byte arm9 code (at 00004000)
[INFO] [RCHEEVOS]: Hashing 167876 byte arm7 code (at 001E2400)
[INFO] [RCHEEVOS]: Hashing 2560 byte icon and labels data (at 00230400)
[INFO] [RCHEEVOS]: Generated hash ebb3e9ee86d520f624ffc701a912779b
[libretro DEBUG] retro_get_memory_data(RETRO_MEMORY_SAVE_RAM)[libretro DEBUG] retro_get_memory_data(RETRO_MEMORY_RTC)[libretro DEBUG] retro_get_memory_data(RETRO_MEMORY_SAVE_RAM)[libretro DEBUG] retro_get_memory_data(RETRO_MEMORY_RTC)[INFO] [Core]: Version of libretro API: 1, Compiled against API: 1
[libretro DEBUG] void retro_get_system_av_info(retro_system_av_info*)
[libretro DEBUG] retro_get_system_av_info finished
[INFO] [Core]: Geometry: 256x384, Aspect: 0.667, FPS: 59.90, Sample rate: 32768.00 Hz.
[INFO] [Audio]: Set audio input rate to: 32823.63 Hz.
[INFO] [Video]: Set video size to: fullscreen.
[INFO] [GL]: Found GL context: "wgl".
[INFO] [GL]: Detecting screen resolution: 1920x1080.
[INFO] [WGL]: Extensions: WGL_ARB_buffer_region WGL_ARB_create_context WGL_ARB_create_context_no_error WGL_ARB_create_context_profile WGL_ARB_create_context_robustness WGL_ARB_context_flush_control WGL_ARB_extensions_string WGL_ARB_make_current_read WGL_ARB_multisample WGL_ARB_pbuffer WGL_ARB_pixel_format WGL_ARB_pixel_format_float WGL_ARB_render_texture WGL_ATI_pixel_format_float WGL_EXT_colorspace WGL_EXT_create_context_es_profile WGL_EXT_create_context_es2_profile WGL_EXT_extensions_string WGL_EXT_framebuffer_sRGB WGL_EXT_pixel_format_packed_float WGL_EXT_swap_control WGL_EXT_swap_control_tear WGL_NVX_DX_interop WGL_NV_DX_interop WGL_NV_DX_interop2 WGL_NV_copy_image WGL_NV_delay_before_swap WGL_NV_float_buffer WGL_NV_multisample_coverage WGL_NV_multigpu_context WGL_NV_render_depth_texture WGL_NV_render_texture_rectangle 
[INFO] [WGL]: Adaptive VSync supported.
[INFO] [GL]: Vendor: NVIDIA Corporation, Renderer: NVIDIA GeForce GTX 1080/PCIe/SSE2.
[INFO] [GL]: Version: 4.6.0 NVIDIA 555.85.
[INFO] [GL]: Using resolution 1920x1080.
[INFO] [GL]: Default shader backend found: glsl.
[INFO] [Shader driver]: Using GLSL shader backend.
[INFO] [GLSL]: Checking GLSL shader support ...
[WARN] [GL]: Stock GLSL shaders will be used.
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GL]: Using 4 textures.
[INFO] [GL]: Loaded 1 program(s).
[INFO] [XInput]: Found XInput v1.4.
[INFO] [Joypad]: Found joypad driver: "xinput".
[INFO] [Video]: Found display server: "win32".
[INFO] [Autoconf]: Xbox 360 Wireless Controller configured in port 1.
[INFO] [XAudio2]: Requesting 64 ms latency, using 64 ms latency.
[INFO] [Audio]: Started synchronous audio driver.
[DEBUG] [WASAPI mic]: Initialized microphone driver context.
[INFO] [Microphone]: Initialized microphone driver.
[DEBUG] [WASAPI]: Initializing default eCapture device..
[DEBUG] [WASAPI]: Requesting shared 16-bit 1-channel client with WAVE_FORMAT_PCM samples at 44100Hz 64ms.
[DEBUG] [WASAPI]: Windows suggests a format of (KSDATAFORMAT_SUBTYPE_IEEE_FLOAT, 2-channel, 48000Hz).
[DEBUG] [WASAPI]: Default device period is 10.0ms.
[DEBUG] [WASAPI]: Minimum device period is 3.0ms.
[DEBUG] [WASAPI]: Shared stream latency is 0.0ms.
[DEBUG] [WASAPI]: Endpoint buffer size is 3072 frames (3072 samples, 12288 bytes, 64.0 ms).
[INFO] [WASAPI]: Client initialized (shared, FLOAT, 48000Hz, 64.0ms).
[INFO] [WASAPI]: Intermediate shared-mode capture buffer length is 960 frames (20.0ms, 3840 bytes).
[INFO] [WASAPI mic]: Stopped capture device "Mic in at front panel (Pink) (Realtek(R) Audio)".
[INFO] [Microphone]: Disabled microphone.
[INFO] [Microphone]: Requested microphone sample rate of 44100Hz, got 48000Hz.
[INFO] [Microphone]: Initialized microphone.
[DEBUG] [Microphone]: Initialized a previously-pending microphone.
[INFO] [Display]: Found display driver: "gl".
[libretro DEBUG] Frontend report a message API version 1
[INFO] [Environ]: SET_SUBSYSTEM_INFO.
[DEBUG] Subsystem ID: 0
Special game type: Slot 1 & 2 Boot
  Ident: gba
  ID: 1
  Content:
[DEBUG]     Nintendo DS (Slot 1) (required)
[DEBUG]     GBA (Slot 2) (required)
[DEBUG]     GBA Save Data (optional)
[DEBUG] Subsystem ID: 1
Special game type: Slot 1 & 2 Boot (No GBA Save Data)
  Ident: gbanosav
  ID: 2
  Content:
[DEBUG]     Nintendo DS (Slot 1) (required)
[DEBUG]     GBA (Slot 2) (required)
[DEBUG] Subsystems: 2
[libretro WARN] Could not get VFS interface 3, falling back to libretro-common defaults
[libretro DEBUG] Frontend report a message API version 1
[libretro WARN] Could not get VFS interface 3, falling back to libretro-common defaults
[INFO] [MIDI]: Output device: "Microsoft GS Wavetable Synth".
[libretro DEBUG] retro_set_controller_port_device(0, RETRO_DEVICE_JOYPAD)
[INFO] [Playlist]: Loading history file: "D:\Steam\steamapps\common\RetroArch\content_history.lpl".
[INFO] [Playlist]: Loading history file: "D:\Steam\steamapps\common\RetroArch\content_music_history.lpl".
[INFO] [Playlist]: Loading history file: "D:\Steam\steamapps\common\RetroArch\content_video_history.lpl".
[INFO] [Playlist]: Loading history file: "D:\Steam\steamapps\common\RetroArch\content_image_history.lpl".
[INFO] [Playlist]: Loading favorites file: "D:\Steam\steamapps\common\RetroArch\content_favorites.lpl".
[DEBUG] [Audio]: Started audio driver "xaudio" (is_shutdown=false)
[INFO] [Microphone]: Enabled microphone.
[DEBUG] [Microphone]: Started a microphone that was enabled when the driver was last stopped.
[INFO] [RCHEEVOS]: Login failed: Invalid user/token combination.
[INFO] [RCHEEVOS]: RetroAchievements login failed: Invalid user/token combination.
[INFO] [RCHEEVOS]: Identified game: 9093 (ebb3e9ee86d520f624ffc701a912779b)
[INFO] [RCHEEVOS]: Load failed (-28): Login required
[INFO] [RCHEEVOS]: RetroAchievements game load failed: Login required
[libretro DEBUG] Installed 65536-byte SRAM
[DEBUG] [Environ]: SET_ROTATION: 0
[INFO] [Environ]: SET_GEOMETRY.
[libretro DEBUG] [melonDS] remapping DTCM ffffffff ffffffff 3000000 2ffc000
[libretro DEBUG] [melonDS] PU: region 0 = 04000033 : enabled, 04000000-08000000
[libretro DEBUG] [melonDS] PU: region 1 = 0200002D : enabled, 02000000-02800000
[libretro DEBUG] [melonDS] PU: region 2 = 027E0021 : enabled, 027E0000-02800000
[libretro DEBUG] [melonDS] PU: region 3 = 08000035 : enabled, 08000000-10000000
[libretro DEBUG] [melonDS] PU: region 4 = 027E001B : enabled, 027E0000-027E4000
[libretro DEBUG] [melonDS] PU: region 5 = 0100002F : enabled, 01000000-02000000
[libretro DEBUG] [melonDS] PU: region 6 = FFFF001D : enabled, FFFF0000-FFFF8000
[libretro DEBUG] [melonDS] PU: region 7 = 027FF017 : enabled, 027FF000-02800000
[libretro DEBUG] [melonDS] remapping DTCM 27e0000 27e4000 ffffffff ffffffff
[libretro DEBUG] [melonDS] unmapping 9 3800000 10000 1 0
[libretro DEBUG] [melonDS] PU region 0: 04000000-08000000, user=00 priv=07, 15111011/05100011
[libretro DEBUG] [melonDS] PU region 1: 02000000-02800000, user=70 priv=77, 15111011/05100011
[libretro DEBUG] [melonDS] PU region 2: 027E0000-02800000, user=00 priv=00, 15111011/05100011
[libretro DEBUG] [melonDS] PU region 3: 08000000-10000000, user=00 priv=03, 15111011/05100011
[libretro DEBUG] [melonDS] PU region 4: 027E0000-027E4000, user=00 priv=03, 15111011/05100011
[libretro DEBUG] [melonDS] PU region 5: 01000000-02000000, user=00 priv=07, 15111011/05100011
[libretro DEBUG] [melonDS] PU region 6: FFFF0000-FFFF8000, user=50 priv=55, 15111011/05100011
[libretro DEBUG] [melonDS] PU region 7: 027FF000-02800000, user=00 priv=03, 15111011/05100011
[libretro DEBUG] [melonDS] PU: region 1 = 0200002B : enabled, 02000000-02400000
[libretro DEBUG] [melonDS] PU region 0: 04000000-08000000, user=00 priv=07, 15111011/05100011
[libretro DEBUG] [melonDS] PU region 1: 02000000-02400000, user=70 priv=77, 15111011/05100011
[libretro DEBUG] [melonDS] PU region 2: 027E0000-02800000, user=00 priv=00, 15111011/05100011
[libretro DEBUG] [melonDS] PU region 3: 08000000-10000000, user=00 priv=03, 15111011/05100011
[libretro DEBUG] [melonDS] PU region 4: 027E0000-027E4000, user=00 priv=03, 15111011/05100011
[libretro DEBUG] [melonDS] PU region 5: 01000000-02000000, user=00 priv=07, 15111011/05100011
[libretro DEBUG] [melonDS] PU region 6: FFFF0000-FFFF8000, user=50 priv=55, 15111011/05100011
[libretro DEBUG] [melonDS] PU region 7: 027FF000-02800000, user=00 priv=03, 15111011/05100011
[libretro DEBUG] [melonDS] PU: region 2 = 023E0021 : enabled, 023E0000-02400000
[libretro DEBUG] [melonDS] PU region 0: 04000000-08000000, user=00 priv=07, 15111011/05100011
[libretro DEBUG] [melonDS] PU region 1: 02000000-02400000, user=70 priv=77, 15111011/05100011
[libretro DEBUG] [melonDS] PU region 2: 023E0000-02400000, user=00 priv=00, 15111011/05100011
[libretro DEBUG] [melonDS] PU region 3: 08000000-10000000, user=00 priv=03, 15111011/05100011
[libretro DEBUG] [melonDS] PU region 4: 027E0000-027E4000, user=00 priv=03, 15111011/05100011
[libretro DEBUG] [melonDS] PU region 5: 01000000-02000000, user=00 priv=07, 15111011/05100011
[libretro DEBUG] [melonDS] PU region 6: FFFF0000-FFFF8000, user=50 priv=55, 15111011/05100011
[libretro DEBUG] [melonDS] PU region 7: 027FF000-02800000, user=00 priv=03, 15111011/05100011
[libretro DEBUG] [melonDS] PU region 3: 08000000-10000000, user=00 priv=01, 15115011/05100011
[libretro DEBUG] [melonDS] WIFI: ON
[libretro DEBUG] [melonDS] WIFI: OFF
[libretro DEBUG] [melonDS] unknown ARM9 IO write32 04001060 00000000 01FF8580
[libretro DEBUG] [melonDS] unknown ARM9 IO write32 04001064 00000000 01FF8580
[libretro DEBUG] [melonDS] unknown ARM9 IO write32 04001068 00000000 01FF8580
[DEBUG] [Audio]: Stopped audio driver "xaudio"
[INFO] [WASAPI mic]: Stopped capture device "Mic in at front panel (Pink) (Realtek(R) Audio)".
[DEBUG] [Audio]: Started audio driver "xaudio" (is_shutdown=false)
[INFO] [Microphone]: Enabled microphone.
[DEBUG] [Microphone]: Started a microphone that was enabled when the driver was last stopped.
[DEBUG] [Audio]: Stopped audio driver "xaudio"
[INFO] [WASAPI mic]: Stopped capture device "Mic in at front panel (Pink) (Realtek(R) Audio)".
[libretro DEBUG] bool MelonDsDs::CoreOptionVisibility::Update()
[DEBUG] [Environ]: GET_VARIABLE: melonds_mic_input = "microphone"
[DEBUG] [Environ]: GET_VARIABLE: melonds_render_mode = "opengl"
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: GET_VARIABLE: melonds_console_mode = "ds"
[DEBUG] [Environ]: GET_VARIABLE: melonds_dsi_sdcard = "enabled"
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: GET_VARIABLE: melonds_homebrew_sdcard = "enabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_show_cursor = "timeout"
[DEBUG] [Environ]: GET_VARIABLE: melonds_number_of_screen_layouts = "2"
[DEBUG] [Environ]: GET_VARIABLE: melonds_screen_layout1 = "top-bottom"
[DEBUG] [Environ]: GET_VARIABLE: melonds_screen_layout2 = "hybrid-top"
[DEBUG] [Environ]: GET_VARIABLE: melonds_firmware_enable_alarm = "default"
[DEBUG] [Environ]: GET_VARIABLE: melonds_jit_enable = "enabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_network_mode = "indirect"
[DEBUG] [Environ]: GET_VARIABLE: melonds_start_time_mode = "real"
[DEBUG] [Audio]: Started audio driver "xaudio" (is_shutdown=false)
[INFO] [Microphone]: Enabled microphone.
[DEBUG] [Microphone]: Started a microphone that was enabled when the driver was last stopped.
[libretro DEBUG] At least one setting has changed; updating now
[DEBUG] [Environ]: GET_VARIABLE: melonds_console_mode = "ds"
[DEBUG] [Environ]: GET_VARIABLE: melonds_boot_mode = "direct"
[DEBUG] [Environ]: GET_VARIABLE: melonds_sysfile_mode = "native"
[DEBUG] [Environ]: GET_VARIABLE: melonds_ds_battery_ok_threshold = "20"
[DEBUG] [Environ]: GET_VARIABLE: melonds_battery_update_interval = "15"
[DEBUG] [Environ]: GET_VARIABLE: melonds_start_time_mode = "real"
[DEBUG] [Environ]: GET_VARIABLE: melonds_start_time_relative_year_offset = "0"
[DEBUG] [Environ]: GET_VARIABLE: melonds_start_time_relative_day_offset = "0"
[DEBUG] [Environ]: GET_VARIABLE: melonds_start_time_relative_hour_offset = "0"
[DEBUG] [Environ]: GET_VARIABLE: melonds_start_time_relative_minute_offset = "0"
[DEBUG] [Environ]: GET_VARIABLE: melonds_start_time_absolute_year = "2004"
[DEBUG] [Environ]: GET_VARIABLE: melonds_start_time_absolute_month = "1"
[DEBUG] [Environ]: GET_VARIABLE: melonds_start_time_absolute_day = "1"
[DEBUG] [Environ]: GET_VARIABLE: melonds_start_time_absolute_hour = "0"
[DEBUG] [Environ]: GET_VARIABLE: melonds_start_time_absolute_minute = "0"
[DEBUG] [Environ]: GET_VARIABLE: melonds_show_unsupported_features = "enabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_show_mic_state = "disabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_show_camera_state = "enabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_show_bios_warnings = "enabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_show_current_layout = "disabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_show_lid_state = "enabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_jit_enable = "enabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_jit_block_size = "32"
[DEBUG] [Environ]: GET_VARIABLE: melonds_jit_branch_optimisations = "enabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_jit_literal_optimisations = "enabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_jit_fast_memory = "enabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_homebrew_readonly = "disabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_homebrew_sync_sdcard_to_host = "disabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_homebrew_sdcard = "enabled"
[libretro INFO] No homebrew SD card image found at "D:/Steam/steamapps/common/RetroArch/saves/melonDS DS/dldi_sd_card.bin"; will create an image.
[DEBUG] [Environ]: GET_VARIABLE: melonds_dsi_sdcard_readonly = "disabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_dsi_sdcard_sync_sdcard_to_host = "disabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_dsi_sdcard = "enabled"
[libretro INFO] No DSi SD card image found at "D:/Steam/steamapps/common/RetroArch/saves/melonDS DS/dsi_sd_card.bin"; will create an image.
[DEBUG] [Environ]: GET_VARIABLE: melonds_dsi_nand_path = "/notfound"
[DEBUG] [Environ]: GET_VARIABLE: melonds_firmware_nds_path = "firmware.bin"
[DEBUG] [Environ]: GET_VARIABLE: melonds_firmware_dsi_path = "firmware.bin"
[DEBUG] [Environ]: GET_VARIABLE: melonds_firmware_language = "auto"
[DEBUG] [Environ]: GET_VARIABLE: melonds_firmware_favorite_color = "12"
[DEBUG] [Environ]: GET_VARIABLE: melonds_firmware_username = "guess_username"
[DEBUG] [Environ]: GET_VARIABLE: melonds_firmware_enable_alarm = "default"
[DEBUG] [Environ]: GET_VARIABLE: melonds_firmware_alarm_hour = "default"
[DEBUG] [Environ]: GET_VARIABLE: melonds_firmware_alarm_minute = "default"
[DEBUG] [Environ]: GET_VARIABLE: melonds_firmware_birth_month = "3"
[DEBUG] [Environ]: GET_VARIABLE: melonds_firmware_birth_day = "18"
[DEBUG] [Environ]: GET_VARIABLE: melonds_firmware_wfc_dns = "178.62.43.212"
[DEBUG] [Environ]: GET_VARIABLE: melonds_mic_input_active = "hold"
[DEBUG] [Environ]: GET_VARIABLE: melonds_mic_input = "microphone"
[DEBUG] [Environ]: GET_VARIABLE: melonds_audio_bitdepth = "auto"
[DEBUG] [Environ]: GET_VARIABLE: melonds_audio_interpolation = "disabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_network_mode = "indirect"
[DEBUG] [Environ]: GET_VARIABLE: melonds_direct_network_interface = "auto"
[DEBUG] [Environ]: GET_VARIABLE: melonds_screen_gap = "0"
[DEBUG] [Environ]: GET_VARIABLE: melonds_cursor_timeout = "3"
[DEBUG] [Environ]: GET_VARIABLE: melonds_touch_mode = "auto"
[DEBUG] [Environ]: GET_VARIABLE: melonds_show_cursor = "timeout"
[DEBUG] [Environ]: GET_VARIABLE: melonds_hybrid_ratio = "3"
[DEBUG] [Environ]: GET_VARIABLE: melonds_hybrid_small_screen = "one"
[DEBUG] [Environ]: GET_VARIABLE: melonds_number_of_screen_layouts = "2"
[DEBUG] [Environ]: GET_VARIABLE: melonds_screen_layout1 = "top-bottom"
[DEBUG] [Environ]: GET_VARIABLE: melonds_screen_layout2 = "hybrid-top"
[DEBUG] [Environ]: GET_VARIABLE: melonds_screen_layout3 = "top"
[DEBUG] [Environ]: GET_VARIABLE: melonds_screen_layout4 = "bottom"
[DEBUG] [Environ]: GET_VARIABLE: melonds_screen_layout5 = "hybrid-top"
[DEBUG] [Environ]: GET_VARIABLE: melonds_screen_layout6 = "hybrid-bottom"
[DEBUG] [Environ]: GET_VARIABLE: melonds_screen_layout7 = "bottom-top"
[DEBUG] [Environ]: GET_VARIABLE: melonds_screen_layout8 = "right-left"
[DEBUG] [Environ]: GET_VARIABLE: melonds_opengl_filtering = "nearest"
[DEBUG] [Environ]: GET_VARIABLE: melonds_threaded_renderer = "enabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_render_mode = "opengl"
[DEBUG] [Environ]: GET_VARIABLE: melonds_opengl_resolution = "2"
[DEBUG] [Environ]: GET_VARIABLE: melonds_opengl_better_polygons = "disabled"
[libretro DEBUG] MelonDsDs::OpenGLRenderState::OpenGLRenderState()
[INFO] [Environ]: SET_HW_RENDER, context type: gl.
[INFO] Requesting OpenGL context.
[DEBUG] Reached end of SET_HW_RENDER.
[libretro DEBUG] OpenGL context requested. Current framebuffer: 0
[libretro DEBUG] Initialized OpenGL render state
[DEBUG] [Environ]: SET_ROTATION: 0
[libretro DEBUG] Switching render mode from Software to OpenGL
[INFO] [Environ]: SET_SYSTEM_AV_INFO: 512x768, Aspect: 0.667, FPS: 59.90, Sample rate: 32768.00 Hz.
[libretro DEBUG] void MelonDsDs::OpenGLRenderState::ContextDestroyed()
[DEBUG] [Video]: Does not have enough samples for monitor refresh rate estimation. Requires to run for at least 4096 frames.
[INFO] [Audio]: Set audio input rate to: 32823.63 Hz.
[INFO] [Video]: Set video size to: fullscreen.
[INFO] [Video]: Using HW render, OpenGL driver forced.
[INFO] [Video]: Using configured "gl" driver for GL HW render.
[INFO] [GL]: Found GL context: "wgl".
[INFO] [GL]: Detecting screen resolution: 1920x1080.
[INFO] [WGL]: Extensions: WGL_ARB_buffer_region WGL_ARB_create_context WGL_ARB_create_context_no_error WGL_ARB_create_context_profile WGL_ARB_create_context_robustness WGL_ARB_context_flush_control WGL_ARB_extensions_string WGL_ARB_make_current_read WGL_ARB_multisample WGL_ARB_pbuffer WGL_ARB_pixel_format WGL_ARB_pixel_format_float WGL_ARB_render_texture WGL_ATI_pixel_format_float WGL_EXT_colorspace WGL_EXT_create_context_es_profile WGL_EXT_create_context_es2_profile WGL_EXT_extensions_string WGL_EXT_framebuffer_sRGB WGL_EXT_pixel_format_packed_float WGL_EXT_swap_control WGL_EXT_swap_control_tear WGL_NVX_DX_interop WGL_NV_DX_interop WGL_NV_DX_interop2 WGL_NV_copy_image WGL_NV_delay_before_swap WGL_NV_float_buffer WGL_NV_multisample_coverage WGL_NV_multigpu_context WGL_NV_render_depth_texture WGL_NV_render_texture_rectangle 
[INFO] [WGL]: Adaptive VSync supported.
[INFO] [GL]: Vendor: NVIDIA Corporation, Renderer: NVIDIA GeForce GTX 1080/PCIe/SSE2.
[INFO] [GL]: Version: 4.6.0 NVIDIA 555.85.
[INFO] [GL]: Using resolution 1920x1080.
[INFO] [GL]: Default shader backend found: glsl.
[INFO] [Shader driver]: Using GLSL shader backend.
[INFO] [GLSL]: Checking GLSL shader support ...
[WARN] [GL]: Stock GLSL shaders will be used.
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GL]: Using 4 textures.
[INFO] [GL]: Loaded 1 program(s).
[INFO] [XInput]: Found XInput v1.4.
[INFO] [Joypad]: Found joypad driver: "xinput".
[INFO] [Autoconf]: Xbox 360 Wireless Controller configured in port 1.
[ERROR] [GL]: GL: Invalid enum.
[ERROR] [Video]: Cannot open video driver.. Exiting..

And, finally, the core loaded successfully with jit with no game open, then switched to the opengl renderer. Each situation results in a hard crash, where after choosing the new compiler and exiting the menu, the whole window closes.

[INFO] [Environ]: SET_SUBSYSTEM_INFO.
[DEBUG] Subsystem ID: 0
Special game type: Slot 1 & 2 Boot
  Ident: gba
  ID: 1
  Content:
[DEBUG]     Nintendo DS (Slot 1) (required)
[DEBUG]     GBA (Slot 2) (required)
[DEBUG]     GBA Save Data (optional)
[DEBUG] Subsystem ID: 1
Special game type: Slot 1 & 2 Boot (No GBA Save Data)
  Ident: gbanosav
  ID: 2
  Content:
[DEBUG]     Nintendo DS (Slot 1) (required)
[DEBUG]     GBA (Slot 2) (required)
[DEBUG] Subsystems: 2
[INFO] [Content]: Updating firmware status for: "D:\Steam\steamapps\common\RetroArch\cores\melondsds_libretro.dll" on "D:\Steam\steamapps\common\RetroArch\system".
[INFO] [Core]: No content, starting dummy core.
[INFO] [Core]: Content ran for a total of: 00 hours, 00 minutes, 00 seconds.
[INFO] [Core]: Unloading core..
[INFO] [Core]: Unloading core symbols..
[DEBUG] [Video]: Does not have enough samples for monitor refresh rate estimation. Requires to run for at least 4096 frames.
[INFO] RetroArch 1.19.1 (Git 0792144fe3)
[INFO] === Build =======================================
[INFO] CPU Model Name: Intel(R) Core(TM) i5-8600K CPU @ 3.60GHz
[INFO] Capabilities: MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4 SSE42 AES AVX AVX2 
[INFO] Version: 1.19.1
[INFO] Git: 0792144fe3
[INFO] Built: Jun  4 2024
[INFO] =================================================
[INFO] [Input]: Found input driver: "dinput".
[INFO] [Core]: Loading dynamic libretro core from: "D:\Steam\steamapps\common\RetroArch\cores\melondsds_libretro.dll"
[INFO] [Overrides]: Redirecting save file to "D:\Steam\steamapps\common\RetroArch\saves\melonDS DS\melonDS DS.srm".
[INFO] [Overrides]: Redirecting save state to "D:\Steam\steamapps\common\RetroArch\states\melonDS DS\melonDS DS.state".
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_UPDATE_DISPLAY_CALLBACK.
[INFO] [Environ]: RETRO_ENVIRONMENT_SET_CONTENT_INFO_OVERRIDE.
[INFO] [Content Override]: File Extension: 'srm' - need_fullpath: TRUE, persistent_data: FALSE
[INFO] [Content Override]: File Extension: 'sav' - need_fullpath: TRUE, persistent_data: FALSE
[INFO] [Content Override]: File Extension: 'nds' - need_fullpath: FALSE, persistent_data: TRUE
[INFO] [Content Override]: File Extension: 'dsi' - need_fullpath: FALSE, persistent_data: TRUE
[INFO] [Content Override]: File Extension: 'ids' - need_fullpath: FALSE, persistent_data: TRUE
[INFO] [Content Override]: File Extension: 'gba' - need_fullpath: FALSE, persistent_data: TRUE
[INFO] [Environ]: SET_CONTROLLER_INFO.
[DEBUG]    Port 1:
[DEBUG]       "Nintendo DS" (1)
[INFO] [Environ]: SET_SUPPORT_ACHIEVEMENTS: yes.
[INFO] [Environ]: GET_LOG_INTERFACE.
[libretro DEBUG] retro_set_environment(0x4109b0)
[INFO] [Environ]: UNSUPPORTED (#33).
[INFO] [Environ]: GET_MESSAGE_INTERFACE_VERSION.
[libretro DEBUG] Frontend report a message API version 1
[INFO] [Environ]: SAVE_DIRECTORY: "D:\Steam\steamapps\common\RetroArch\saves\melonDS DS".
[libretro INFO] Save directory: "D:/Steam/steamapps/common/RetroArch/saves/melonDS DS"
[libretro INFO] melonDS DS save subdirectory: "D:/Steam/steamapps/common/RetroArch/saves/melonDS DS"
[INFO] [Environ]: SYSTEM_DIRECTORY: "D:\Steam\steamapps\common\RetroArch\system".
[libretro INFO] System directory: "D:/Steam/steamapps/common/RetroArch/system"
[libretro INFO] melonDS DS system subdirectory: "D:/Steam/steamapps/common/RetroArch/system/melonDS DS"
[DEBUG] [Environ]: SET_SUBSYSTEM_INFO.
[DEBUG] Special game type: Slot 1 & 2 Boot
  Ident: gba
  ID: 1
  Content:
[DEBUG]     Nintendo DS (Slot 1) (required)
[DEBUG]     GBA (Slot 2) (required)
[DEBUG]     GBA Save Data (optional)
[DEBUG] Special game type: Slot 1 & 2 Boot (No GBA Save Data)
  Ident: gbanosav
  ID: 2
  Content:
[DEBUG]     Nintendo DS (Slot 1) (required)
[DEBUG]     GBA (Slot 2) (required)
[INFO] [Environ]: GET_VFS_INTERFACE. Core requested version >= V3, providing V3.
[libretro DEBUG] Requested VFS interface version 3, got 3
[INFO] [Environ]: SET_SUPPORT_NO_GAME: yes.
[INFO] [Remaps]: Core-specific remap found at "D:\Steam\steamapps\common\RetroArch\config\remaps\melonDS DS\melonDS DS.rmp".
[libretro DEBUG] Frontend supports no-game mode.[libretro DEBUG] Power state available[libretro DEBUG] retro_init
[libretro INFO] melonDS DS 1.1.2
[INFO] [Environ]: RETRO_ENVIRONMENT_GET_MICROPHONE_INTERFACE.
[libretro DEBUG] Microphone support available (version 1)[libretro DEBUG] retro_load_game(<no content>)
[INFO] [Environ]: SET_PIXEL_FORMAT: XRGB8888.
[libretro DEBUG] D:/Steam/steamapps/common/RetroArch/system/bios7.bin is not a known firmware size (found 16384 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] D:/Steam/steamapps/common/RetroArch/system/bios9.bin is not a known firmware size (found 4096 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] D:/Steam/steamapps/common/RetroArch/system/BIOSGBA.ROM is not a known firmware size (found 16384 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] D:/Steam/steamapps/common/RetroArch/system/firmware.bin.bak is a backup file, not counting it as firmware
[libretro DEBUG] D:/Steam/steamapps/common/RetroArch/system/key.cfg is not a known firmware size (found 13 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] D:/Steam/steamapps/common/RetroArch/system/mupen64plus.ini is not a known firmware size (found 455032 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] Found a firmware image at "D:/Steam/steamapps/common/RetroArch/system/firmware.bin"
[libretro ERROR] [melonDS] PCap: init failed
[libretro WARN] Failed to enumerate Wi-fi adapters
[INFO] [Environ]: GET_CORE_OPTIONS_VERSION.
[libretro DEBUG] Frontend reports core options version: 2
[INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_V2.
[libretro DEBUG] V2 core options set successfully
[DEBUG] [Environ]: GET_VARIABLE: melonds_console_mode = "ds"
[DEBUG] [Environ]: GET_VARIABLE: melonds_boot_mode = "direct"
[DEBUG] [Environ]: GET_VARIABLE: melonds_sysfile_mode = "native"
[DEBUG] [Environ]: GET_VARIABLE: melonds_ds_battery_ok_threshold = "20"
[DEBUG] [Environ]: GET_VARIABLE: melonds_battery_update_interval = "15"
[DEBUG] [Environ]: GET_VARIABLE: melonds_start_time_mode = "real"
[DEBUG] [Environ]: GET_VARIABLE: melonds_start_time_relative_year_offset = "0"
[DEBUG] [Environ]: GET_VARIABLE: melonds_start_time_relative_day_offset = "0"
[DEBUG] [Environ]: GET_VARIABLE: melonds_start_time_relative_hour_offset = "0"
[DEBUG] [Environ]: GET_VARIABLE: melonds_start_time_relative_minute_offset = "0"
[DEBUG] [Environ]: GET_VARIABLE: melonds_start_time_absolute_year = "2004"
[DEBUG] [Environ]: GET_VARIABLE: melonds_start_time_absolute_month = "1"
[DEBUG] [Environ]: GET_VARIABLE: melonds_start_time_absolute_day = "1"
[DEBUG] [Environ]: GET_VARIABLE: melonds_start_time_absolute_hour = "0"
[DEBUG] [Environ]: GET_VARIABLE: melonds_start_time_absolute_minute = "0"
[DEBUG] [Environ]: GET_VARIABLE: melonds_show_unsupported_features = "enabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_show_mic_state = "disabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_show_camera_state = "enabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_show_bios_warnings = "enabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_show_current_layout = "disabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_show_lid_state = "enabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_jit_enable = "enabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_jit_block_size = "32"
[DEBUG] [Environ]: GET_VARIABLE: melonds_jit_branch_optimisations = "enabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_jit_literal_optimisations = "enabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_jit_fast_memory = "enabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_homebrew_readonly = "disabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_homebrew_sync_sdcard_to_host = "disabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_homebrew_sdcard = "enabled"
[libretro INFO] No homebrew SD card image found at "D:/Steam/steamapps/common/RetroArch/saves/melonDS DS/dldi_sd_card.bin"; will create an image.
[DEBUG] [Environ]: GET_VARIABLE: melonds_dsi_sdcard_readonly = "disabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_dsi_sdcard_sync_sdcard_to_host = "disabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_dsi_sdcard = "enabled"
[libretro INFO] No DSi SD card image found at "D:/Steam/steamapps/common/RetroArch/saves/melonDS DS/dsi_sd_card.bin"; will create an image.
[DEBUG] [Environ]: GET_VARIABLE: melonds_dsi_nand_path = "/notfound"
[DEBUG] [Environ]: GET_VARIABLE: melonds_firmware_nds_path = "firmware.bin"
[DEBUG] [Environ]: GET_VARIABLE: melonds_firmware_dsi_path = "firmware.bin"
[DEBUG] [Environ]: GET_VARIABLE: melonds_firmware_language = "auto"
[DEBUG] [Environ]: GET_VARIABLE: melonds_firmware_favorite_color = "12"
[DEBUG] [Environ]: GET_VARIABLE: melonds_firmware_username = "guess_username"
[DEBUG] [Environ]: GET_VARIABLE: melonds_firmware_enable_alarm = "default"
[DEBUG] [Environ]: GET_VARIABLE: melonds_firmware_alarm_hour = "default"
[DEBUG] [Environ]: GET_VARIABLE: melonds_firmware_alarm_minute = "default"
[DEBUG] [Environ]: GET_VARIABLE: melonds_firmware_birth_month = "3"
[DEBUG] [Environ]: GET_VARIABLE: melonds_firmware_birth_day = "18"
[DEBUG] [Environ]: GET_VARIABLE: melonds_firmware_wfc_dns = "178.62.43.212"
[DEBUG] [Environ]: GET_VARIABLE: melonds_mic_input_active = "hold"
[DEBUG] [Environ]: GET_VARIABLE: melonds_mic_input = "microphone"
[DEBUG] [Environ]: GET_VARIABLE: melonds_audio_bitdepth = "auto"
[DEBUG] [Environ]: GET_VARIABLE: melonds_audio_interpolation = "disabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_network_mode = "indirect"
[DEBUG] [Environ]: GET_VARIABLE: melonds_direct_network_interface = "auto"
[DEBUG] [Environ]: GET_VARIABLE: melonds_screen_gap = "0"
[DEBUG] [Environ]: GET_VARIABLE: melonds_cursor_timeout = "3"
[DEBUG] [Environ]: GET_VARIABLE: melonds_touch_mode = "auto"
[DEBUG] [Environ]: GET_VARIABLE: melonds_show_cursor = "timeout"
[DEBUG] [Environ]: GET_VARIABLE: melonds_hybrid_ratio = "3"
[DEBUG] [Environ]: GET_VARIABLE: melonds_hybrid_small_screen = "one"
[DEBUG] [Environ]: GET_VARIABLE: melonds_number_of_screen_layouts = "2"
[DEBUG] [Environ]: GET_VARIABLE: melonds_screen_layout1 = "top-bottom"
[DEBUG] [Environ]: GET_VARIABLE: melonds_screen_layout2 = "hybrid-top"
[DEBUG] [Environ]: GET_VARIABLE: melonds_screen_layout3 = "top"
[DEBUG] [Environ]: GET_VARIABLE: melonds_screen_layout4 = "bottom"
[DEBUG] [Environ]: GET_VARIABLE: melonds_screen_layout5 = "hybrid-top"
[DEBUG] [Environ]: GET_VARIABLE: melonds_screen_layout6 = "hybrid-bottom"
[DEBUG] [Environ]: GET_VARIABLE: melonds_screen_layout7 = "bottom-top"
[DEBUG] [Environ]: GET_VARIABLE: melonds_screen_layout8 = "right-left"
[DEBUG] [Environ]: GET_VARIABLE: melonds_opengl_filtering = "nearest"
[DEBUG] [Environ]: GET_VARIABLE: melonds_threaded_renderer = "enabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_render_mode = "software"
[DEBUG] [Environ]: GET_VARIABLE: melonds_opengl_resolution = "2"
[DEBUG] [Environ]: GET_VARIABLE: melonds_opengl_better_polygons = "disabled"
[libretro DEBUG] bool MelonDsDs::CoreOptionVisibility::Update()
[DEBUG] [Environ]: GET_VARIABLE: melonds_mic_input = "microphone"
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: GET_VARIABLE: melonds_render_mode = "software"
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: GET_VARIABLE: melonds_console_mode = "ds"
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: GET_VARIABLE: melonds_dsi_sdcard = "enabled"
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: GET_VARIABLE: melonds_homebrew_sdcard = "enabled"
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: GET_VARIABLE: melonds_show_cursor = "timeout"
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: GET_VARIABLE: melonds_number_of_screen_layouts = "2"
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: GET_VARIABLE: melonds_screen_layout1 = "top-bottom"
[DEBUG] [Environ]: GET_VARIABLE: melonds_screen_layout2 = "hybrid-top"
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: GET_VARIABLE: melonds_firmware_enable_alarm = "default"
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: GET_VARIABLE: melonds_jit_enable = "enabled"
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: GET_VARIABLE: melonds_network_mode = "indirect"
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: GET_VARIABLE: melonds_start_time_mode = "real"
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[libretro DEBUG] Initialized software render state
[DEBUG] [Environ]: SET_ROTATION: 0
[INFO] [Microphone]: Microphone requested before driver context was ready; deferring initialization.
[libretro INFO] Loaded DS Lite firmware from "D:/Steam/steamapps/common/RetroArch/system/firmware.bin" (Identifier: MACh)
[libretro ERROR] Failed to open ARM7 file "D:/Steam/steamapps/common/RetroArch/system/melonDS DS/bios7.bin" for reading
[libretro INFO] Successfully loaded 16384-byte ARM7 file "D:/Steam/steamapps/common/RetroArch/system/bios7.bin"
[libretro ERROR] Failed to open ARM9 file "D:/Steam/steamapps/common/RetroArch/system/melonDS DS/bios9.bin" for reading
[libretro INFO] Successfully loaded 4096-byte ARM9 file "D:/Steam/steamapps/common/RetroArch/system/bios9.bin"
[libretro DEBUG] Installed native ARM7 and ARM9 NDS BIOS images
[INFO] [Environ]: GET_USERNAME: "".
[INFO] [Environ]: GET_LANGUAGE: "0".
[libretro DEBUG] Initialized indirect-mode Wi-fi support[libretro INFO] No GBA SRAM was provided.
[INFO] [Environ]: GET_MESSAGE_INTERFACE_VERSION.
[INFO] [Environ]: SET_INPUT_DESCRIPTORS:
[DEBUG]    Port 1:
[DEBUG]       "D-Pad Up" => "Up"
[DEBUG]       "D-Pad Down" => "Down"
[DEBUG]       "D-Pad Left" => "Left"
[DEBUG]       "D-Pad Right" => "Right"
[DEBUG]       "B Button (Down)" => "B"
[DEBUG]       "A Button (Right)" => "A"
[DEBUG]       "Y Button (Left)" => "Y"
[DEBUG]       "X Button (Top)" => "X"
[DEBUG]       "Select Button" => "Select"
[DEBUG]       "Start Button" => "Start"
[DEBUG]       "L Button (Shoulder)" => "L"
[DEBUG]       "R Button (Shoulder)" => "R"
[DEBUG]       "L2 Button (Trigger)" => "Microphone"
[DEBUG]       "R2 Button (Trigger)" => "Next Screen Layout"
[DEBUG]       "L3 Button (Thumb)" => "Close Lid"
[DEBUG]       "R3 Button (Thumb)" => "Touch Joystick"
[DEBUG]    Port 2:
[DEBUG]    Port 3:
[DEBUG]    Port 4:
[DEBUG]    Port 5:
[DEBUG]    Port 6:
[DEBUG]    Port 7:
[DEBUG]    Port 8:
[libretro INFO] No need to defer initialization, proceeding now
[libretro DEBUG] void MelonDsDs::CoreState::StartConsole()
[libretro DEBUG] [melonDS] Resetting JIT block cache...
[libretro DEBUG] [melonDS] done resetting jit mem
[libretro DEBUG] [melonDS] done resetting jit mem
[libretro INFO] [melonDS] MAC: 00:16:56:83:31:F9
[libretro DEBUG] [melonDS] FW: WIFI CRC16 = GOOD
[libretro DEBUG] [melonDS] FW: AP1 CRC16 = GOOD
[libretro DEBUG] [melonDS] FW: AP2 CRC16 = GOOD
[libretro DEBUG] [melonDS] FW: AP3 CRC16 = GOOD
[libretro DEBUG] [melonDS] FW: USER0 CRC16 = GOOD
[libretro DEBUG] [melonDS] FW: USER1 CRC16 = GOOD
[libretro DEBUG] Starting the RTC at 2024-06-13 05:31:06 PM (local time)
[libretro INFO] Started emulated console
[libretro DEBUG] retro_get_memory_data(RETRO_MEMORY_SAVE_RAM)[libretro DEBUG] retro_get_memory_data(RETRO_MEMORY_RTC)[libretro DEBUG] retro_get_memory_data(RETRO_MEMORY_SAVE_RAM)[libretro DEBUG] retro_get_memory_data(RETRO_MEMORY_RTC)[INFO] [SRAM]: Skipping SRAM load.
[INFO] [Core]: Version of libretro API: 1, Compiled against API: 1
[libretro DEBUG] void retro_get_system_av_info(retro_system_av_info*)
[libretro DEBUG] retro_get_system_av_info finished
[INFO] [Core]: Geometry: 256x384, Aspect: 0.667, FPS: 59.90, Sample rate: 32768.00 Hz.
[INFO] [Audio]: Set audio input rate to: 32823.63 Hz.
[INFO] [Video]: Set video size to: fullscreen.
[INFO] [GL]: Found GL context: "wgl".
[INFO] [GL]: Detecting screen resolution: 1920x1080.
[INFO] [WGL]: Extensions: WGL_ARB_buffer_region WGL_ARB_create_context WGL_ARB_create_context_no_error WGL_ARB_create_context_profile WGL_ARB_create_context_robustness WGL_ARB_context_flush_control WGL_ARB_extensions_string WGL_ARB_make_current_read WGL_ARB_multisample WGL_ARB_pbuffer WGL_ARB_pixel_format WGL_ARB_pixel_format_float WGL_ARB_render_texture WGL_ATI_pixel_format_float WGL_EXT_colorspace WGL_EXT_create_context_es_profile WGL_EXT_create_context_es2_profile WGL_EXT_extensions_string WGL_EXT_framebuffer_sRGB WGL_EXT_pixel_format_packed_float WGL_EXT_swap_control WGL_EXT_swap_control_tear WGL_NVX_DX_interop WGL_NV_DX_interop WGL_NV_DX_interop2 WGL_NV_copy_image WGL_NV_delay_before_swap WGL_NV_float_buffer WGL_NV_multisample_coverage WGL_NV_multigpu_context WGL_NV_render_depth_texture WGL_NV_render_texture_rectangle 
[INFO] [WGL]: Adaptive VSync supported.
[INFO] [GL]: Vendor: NVIDIA Corporation, Renderer: NVIDIA GeForce GTX 1080/PCIe/SSE2.
[INFO] [GL]: Version: 4.6.0 NVIDIA 555.85.
[INFO] [GL]: Using resolution 1920x1080.
[INFO] [GL]: Default shader backend found: glsl.
[INFO] [Shader driver]: Using GLSL shader backend.
[INFO] [GLSL]: Checking GLSL shader support ...
[WARN] [GL]: Stock GLSL shaders will be used.
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GL]: Using 4 textures.
[INFO] [GL]: Loaded 1 program(s).
[INFO] [XInput]: Found XInput v1.4.
[INFO] [Joypad]: Found joypad driver: "xinput".
[INFO] [Autoconf]: Xbox 360 Wireless Controller configured in port 1.
[INFO] [Video]: Found display server: "win32".
[INFO] [XAudio2]: Requesting 64 ms latency, using 64 ms latency.
[INFO] [Audio]: Started synchronous audio driver.
[DEBUG] [WASAPI mic]: Initialized microphone driver context.
[INFO] [Microphone]: Initialized microphone driver.
[DEBUG] [WASAPI]: Initializing default eCapture device..
[DEBUG] [WASAPI]: Requesting shared 16-bit 1-channel client with WAVE_FORMAT_PCM samples at 44100Hz 64ms.
[DEBUG] [WASAPI]: Windows suggests a format of (KSDATAFORMAT_SUBTYPE_IEEE_FLOAT, 2-channel, 48000Hz).
[DEBUG] [WASAPI]: Default device period is 10.0ms.
[DEBUG] [WASAPI]: Minimum device period is 3.0ms.
[DEBUG] [WASAPI]: Shared stream latency is 0.0ms.
[DEBUG] [WASAPI]: Endpoint buffer size is 3072 frames (3072 samples, 12288 bytes, 64.0 ms).
[INFO] [WASAPI]: Client initialized (shared, FLOAT, 48000Hz, 64.0ms).
[INFO] [WASAPI]: Intermediate shared-mode capture buffer length is 960 frames (20.0ms, 3840 bytes).
[INFO] [WASAPI mic]: Stopped capture device "Mic in at front panel (Pink) (Realtek(R) Audio)".
[INFO] [Microphone]: Disabled microphone.
[INFO] [Microphone]: Requested microphone sample rate of 44100Hz, got 48000Hz.
[INFO] [Microphone]: Initialized microphone.
[DEBUG] [Microphone]: Initialized a previously-pending microphone.
[INFO] [Display]: Found display driver: "gl".
[libretro DEBUG] Frontend report a message API version 1
[INFO] [Environ]: SET_SUBSYSTEM_INFO.
[DEBUG] Subsystem ID: 0
Special game type: Slot 1 & 2 Boot
  Ident: gba
  ID: 1
  Content:
[DEBUG]     Nintendo DS (Slot 1) (required)
[DEBUG]     GBA (Slot 2) (required)
[DEBUG]     GBA Save Data (optional)
[DEBUG] Subsystem ID: 1
Special game type: Slot 1 & 2 Boot (No GBA Save Data)
  Ident: gbanosav
  ID: 2
  Content:
[DEBUG]     Nintendo DS (Slot 1) (required)
[DEBUG]     GBA (Slot 2) (required)
[DEBUG] Subsystems: 2
[libretro WARN] Could not get VFS interface 3, falling back to libretro-common defaults
[libretro DEBUG] Frontend report a message API version 1
[libretro WARN] Could not get VFS interface 3, falling back to libretro-common defaults
[INFO] [MIDI]: Output device: "Microsoft GS Wavetable Synth".
[libretro DEBUG] retro_set_controller_port_device(0, RETRO_DEVICE_JOYPAD)
[INFO] [Playlist]: Loading history file: "D:\Steam\steamapps\common\RetroArch\content_history.lpl".
[INFO] [Playlist]: Loading history file: "D:\Steam\steamapps\common\RetroArch\content_music_history.lpl".
[INFO] [Playlist]: Loading history file: "D:\Steam\steamapps\common\RetroArch\content_video_history.lpl".
[INFO] [Playlist]: Loading history file: "D:\Steam\steamapps\common\RetroArch\content_image_history.lpl".
[INFO] [Playlist]: Loading favorites file: "D:\Steam\steamapps\common\RetroArch\content_favorites.lpl".
[DEBUG] [Audio]: Started audio driver "xaudio" (is_shutdown=false)
[INFO] [Microphone]: Enabled microphone.
[DEBUG] [Microphone]: Started a microphone that was enabled when the driver was last stopped.
[DEBUG] [Environ]: SET_ROTATION: 0
[INFO] [Environ]: SET_GEOMETRY.
[libretro DEBUG] [melonDS] remapping DTCM 800000 804000 ffffffff ffffffff
[libretro DEBUG] [melonDS] unmapping 9 3ff0000 10000 1 0
[libretro DEBUG] [melonDS] remapping SWRAM
[libretro WARN] [melonDS] !!! CLEARING POWCNT BIT0. DANGER
[libretro DEBUG] [melonDS] seed0: 31533A60D5
[libretro DEBUG] [melonDS] seed1: 5C879B9B05
[libretro DEBUG] [melonDS] key2 X: 55832E6546
[libretro DEBUG] [melonDS] key2 Y: 506CECF09D
[DEBUG] [Audio]: Stopped audio driver "xaudio"
[INFO] [WASAPI mic]: Stopped capture device "Mic in at front panel (Pink) (Realtek(R) Audio)".
[libretro DEBUG] bool MelonDsDs::CoreOptionVisibility::Update()
[DEBUG] [Environ]: GET_VARIABLE: melonds_mic_input = "microphone"
[DEBUG] [Environ]: GET_VARIABLE: melonds_render_mode = "opengl"
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: GET_VARIABLE: melonds_console_mode = "ds"
[DEBUG] [Environ]: GET_VARIABLE: melonds_dsi_sdcard = "enabled"
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: GET_VARIABLE: melonds_homebrew_sdcard = "enabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_show_cursor = "timeout"
[DEBUG] [Environ]: GET_VARIABLE: melonds_number_of_screen_layouts = "2"
[DEBUG] [Environ]: GET_VARIABLE: melonds_screen_layout1 = "top-bottom"
[DEBUG] [Environ]: GET_VARIABLE: melonds_screen_layout2 = "hybrid-top"
[DEBUG] [Environ]: GET_VARIABLE: melonds_firmware_enable_alarm = "default"
[DEBUG] [Environ]: GET_VARIABLE: melonds_jit_enable = "enabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_network_mode = "indirect"
[DEBUG] [Environ]: GET_VARIABLE: melonds_start_time_mode = "real"
[DEBUG] [Audio]: Started audio driver "xaudio" (is_shutdown=false)
[INFO] [Microphone]: Enabled microphone.
[DEBUG] [Microphone]: Started a microphone that was enabled when the driver was last stopped.
[libretro DEBUG] At least one setting has changed; updating now
[DEBUG] [Environ]: GET_VARIABLE: melonds_console_mode = "ds"
[DEBUG] [Environ]: GET_VARIABLE: melonds_boot_mode = "direct"
[DEBUG] [Environ]: GET_VARIABLE: melonds_sysfile_mode = "native"
[DEBUG] [Environ]: GET_VARIABLE: melonds_ds_battery_ok_threshold = "20"
[DEBUG] [Environ]: GET_VARIABLE: melonds_battery_update_interval = "15"
[DEBUG] [Environ]: GET_VARIABLE: melonds_start_time_mode = "real"
[DEBUG] [Environ]: GET_VARIABLE: melonds_start_time_relative_year_offset = "0"
[DEBUG] [Environ]: GET_VARIABLE: melonds_start_time_relative_day_offset = "0"
[DEBUG] [Environ]: GET_VARIABLE: melonds_start_time_relative_hour_offset = "0"
[DEBUG] [Environ]: GET_VARIABLE: melonds_start_time_relative_minute_offset = "0"
[DEBUG] [Environ]: GET_VARIABLE: melonds_start_time_absolute_year = "2004"
[DEBUG] [Environ]: GET_VARIABLE: melonds_start_time_absolute_month = "1"
[DEBUG] [Environ]: GET_VARIABLE: melonds_start_time_absolute_day = "1"
[DEBUG] [Environ]: GET_VARIABLE: melonds_start_time_absolute_hour = "0"
[DEBUG] [Environ]: GET_VARIABLE: melonds_start_time_absolute_minute = "0"
[DEBUG] [Environ]: GET_VARIABLE: melonds_show_unsupported_features = "enabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_show_mic_state = "disabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_show_camera_state = "enabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_show_bios_warnings = "enabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_show_current_layout = "disabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_show_lid_state = "enabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_jit_enable = "enabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_jit_block_size = "32"
[DEBUG] [Environ]: GET_VARIABLE: melonds_jit_branch_optimisations = "enabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_jit_literal_optimisations = "enabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_jit_fast_memory = "enabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_homebrew_readonly = "disabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_homebrew_sync_sdcard_to_host = "disabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_homebrew_sdcard = "enabled"
[libretro INFO] No homebrew SD card image found at "D:/Steam/steamapps/common/RetroArch/saves/melonDS DS/dldi_sd_card.bin"; will create an image.
[DEBUG] [Environ]: GET_VARIABLE: melonds_dsi_sdcard_readonly = "disabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_dsi_sdcard_sync_sdcard_to_host = "disabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_dsi_sdcard = "enabled"
[libretro INFO] No DSi SD card image found at "D:/Steam/steamapps/common/RetroArch/saves/melonDS DS/dsi_sd_card.bin"; will create an image.
[DEBUG] [Environ]: GET_VARIABLE: melonds_dsi_nand_path = "/notfound"
[DEBUG] [Environ]: GET_VARIABLE: melonds_firmware_nds_path = "firmware.bin"
[DEBUG] [Environ]: GET_VARIABLE: melonds_firmware_dsi_path = "firmware.bin"
[DEBUG] [Environ]: GET_VARIABLE: melonds_firmware_language = "auto"
[DEBUG] [Environ]: GET_VARIABLE: melonds_firmware_favorite_color = "12"
[DEBUG] [Environ]: GET_VARIABLE: melonds_firmware_username = "guess_username"
[DEBUG] [Environ]: GET_VARIABLE: melonds_firmware_enable_alarm = "default"
[DEBUG] [Environ]: GET_VARIABLE: melonds_firmware_alarm_hour = "default"
[DEBUG] [Environ]: GET_VARIABLE: melonds_firmware_alarm_minute = "default"
[DEBUG] [Environ]: GET_VARIABLE: melonds_firmware_birth_month = "3"
[DEBUG] [Environ]: GET_VARIABLE: melonds_firmware_birth_day = "18"
[DEBUG] [Environ]: GET_VARIABLE: melonds_firmware_wfc_dns = "178.62.43.212"
[DEBUG] [Environ]: GET_VARIABLE: melonds_mic_input_active = "hold"
[DEBUG] [Environ]: GET_VARIABLE: melonds_mic_input = "microphone"
[DEBUG] [Environ]: GET_VARIABLE: melonds_audio_bitdepth = "auto"
[DEBUG] [Environ]: GET_VARIABLE: melonds_audio_interpolation = "disabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_network_mode = "indirect"
[DEBUG] [Environ]: GET_VARIABLE: melonds_direct_network_interface = "auto"
[DEBUG] [Environ]: GET_VARIABLE: melonds_screen_gap = "0"
[DEBUG] [Environ]: GET_VARIABLE: melonds_cursor_timeout = "3"
[DEBUG] [Environ]: GET_VARIABLE: melonds_touch_mode = "auto"
[DEBUG] [Environ]: GET_VARIABLE: melonds_show_cursor = "timeout"
[DEBUG] [Environ]: GET_VARIABLE: melonds_hybrid_ratio = "3"
[DEBUG] [Environ]: GET_VARIABLE: melonds_hybrid_small_screen = "one"
[DEBUG] [Environ]: GET_VARIABLE: melonds_number_of_screen_layouts = "2"
[DEBUG] [Environ]: GET_VARIABLE: melonds_screen_layout1 = "top-bottom"
[DEBUG] [Environ]: GET_VARIABLE: melonds_screen_layout2 = "hybrid-top"
[DEBUG] [Environ]: GET_VARIABLE: melonds_screen_layout3 = "top"
[DEBUG] [Environ]: GET_VARIABLE: melonds_screen_layout4 = "bottom"
[DEBUG] [Environ]: GET_VARIABLE: melonds_screen_layout5 = "hybrid-top"
[DEBUG] [Environ]: GET_VARIABLE: melonds_screen_layout6 = "hybrid-bottom"
[DEBUG] [Environ]: GET_VARIABLE: melonds_screen_layout7 = "bottom-top"
[DEBUG] [Environ]: GET_VARIABLE: melonds_screen_layout8 = "right-left"
[DEBUG] [Environ]: GET_VARIABLE: melonds_opengl_filtering = "nearest"
[DEBUG] [Environ]: GET_VARIABLE: melonds_threaded_renderer = "enabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_render_mode = "opengl"
[DEBUG] [Environ]: GET_VARIABLE: melonds_opengl_resolution = "2"
[DEBUG] [Environ]: GET_VARIABLE: melonds_opengl_better_polygons = "disabled"
[libretro DEBUG] MelonDsDs::OpenGLRenderState::OpenGLRenderState()
[INFO] [Environ]: SET_HW_RENDER, context type: gl.
[INFO] Requesting OpenGL context.
[DEBUG] Reached end of SET_HW_RENDER.
[libretro DEBUG] OpenGL context requested. Current framebuffer: 0
[libretro DEBUG] Initialized OpenGL render state
[DEBUG] [Environ]: SET_ROTATION: 0
[libretro DEBUG] Switching render mode from Software to OpenGL
[INFO] [Environ]: SET_SYSTEM_AV_INFO: 512x768, Aspect: 0.667, FPS: 59.90, Sample rate: 32768.00 Hz.
[libretro DEBUG] void MelonDsDs::OpenGLRenderState::ContextDestroyed()
[DEBUG] [Video]: Does not have enough samples for monitor refresh rate estimation. Requires to run for at least 4096 frames.
[INFO] [Audio]: Set audio input rate to: 32823.63 Hz.
[INFO] [Video]: Set video size to: fullscreen.
[INFO] [Video]: Using HW render, OpenGL driver forced.
[INFO] [Video]: Using configured "gl" driver for GL HW render.
[INFO] [GL]: Found GL context: "wgl".
[INFO] [GL]: Detecting screen resolution: 1920x1080.
[INFO] [WGL]: Extensions: WGL_ARB_buffer_region WGL_ARB_create_context WGL_ARB_create_context_no_error WGL_ARB_create_context_profile WGL_ARB_create_context_robustness WGL_ARB_context_flush_control WGL_ARB_extensions_string WGL_ARB_make_current_read WGL_ARB_multisample WGL_ARB_pbuffer WGL_ARB_pixel_format WGL_ARB_pixel_format_float WGL_ARB_render_texture WGL_ATI_pixel_format_float WGL_EXT_colorspace WGL_EXT_create_context_es_profile WGL_EXT_create_context_es2_profile WGL_EXT_extensions_string WGL_EXT_framebuffer_sRGB WGL_EXT_pixel_format_packed_float WGL_EXT_swap_control WGL_EXT_swap_control_tear WGL_NVX_DX_interop WGL_NV_DX_interop WGL_NV_DX_interop2 WGL_NV_copy_image WGL_NV_delay_before_swap WGL_NV_float_buffer WGL_NV_multisample_coverage WGL_NV_multigpu_context WGL_NV_render_depth_texture WGL_NV_render_texture_rectangle 
[INFO] [WGL]: Adaptive VSync supported.
[INFO] [GL]: Vendor: NVIDIA Corporation, Renderer: NVIDIA GeForce GTX 1080/PCIe/SSE2.
[INFO] [GL]: Version: 4.6.0 NVIDIA 555.85.
[INFO] [GL]: Using resolution 1920x1080.
[INFO] [GL]: Default shader backend found: glsl.
[INFO] [Shader driver]: Using GLSL shader backend.
[INFO] [GLSL]: Checking GLSL shader support ...
[WARN] [GL]: Stock GLSL shaders will be used.
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GL]: Using 4 textures.
[INFO] [GL]: Loaded 1 program(s).
[INFO] [XInput]: Found XInput v1.4.
[INFO] [Joypad]: Found joypad driver: "xinput".
[INFO] [Autoconf]: Xbox 360 Wireless Controller configured in port 1.
[ERROR] [GL]: GL: Invalid enum.
[ERROR] [Video]: Cannot open video driver.. Exiting..

I love the new core and this doesn't put me off using it - all the other improvements vastly outweigh this one inconvenience. That said, it would be nice to be able to upscale games. Thank you for working on a fix :)

JesseTG commented 3 months ago

You're welcome! This will be tricky to debug since I can't reproduce the issue on my machine, but I have some ideas.

First, could you change your video driver to glcore (not gl) and try again? I want to see if anything different happens. (Remember to post the log!)

Afterwards, could you try the build at this link on your device? Scroll all the way down and place the .dll wherever the core is installed. If it causes any problems, you can always redownload the latest release from within RetroArch.

molly-o-k commented 3 months ago

You're a genius - manually switching to glcore in retroarch's video options did it. Interestingly, I do have the option to let cores control switching the video driver themselves turned on, so I'm not sure why it was showing this behaviour.

Let me know if you want me to try the other build in case this issue can be circumvented some other way and I'm happy to help - it's a really easy fix but I can't imagine ever thinking to try changing the video driver in the cores menu without being prompted.

Thank you so much!

molly-o-k commented 3 months ago

and here's the log of it working correctly, just in case you wanted it:


[INFO] [Environ]: SET_SUBSYSTEM_INFO.
[DEBUG] Subsystem ID: 0
Special game type: Slot 1 & 2 Boot
  Ident: gba
  ID: 1
  Content:
[DEBUG]     Nintendo DS (Slot 1) (required)
[DEBUG]     GBA (Slot 2) (required)
[DEBUG]     GBA Save Data (optional)
[DEBUG] Subsystem ID: 1
Special game type: Slot 1 & 2 Boot (No GBA Save Data)
  Ident: gbanosav
  ID: 2
  Content:
[DEBUG]     Nintendo DS (Slot 1) (required)
[DEBUG]     GBA (Slot 2) (required)
[DEBUG] Subsystems: 2
[INFO] [Content]: Updating firmware status for: "D:\Steam\steamapps\common\RetroArch\cores\melondsds_libretro.dll" on "D:\Steam\steamapps\common\RetroArch\system".
[INFO] [Core]: Using content: "D:\Steam\steamapps\common\RetroArch\downloads\Dragon Quest IX - Sentinels of the Starry Skies (Europe) (En,Fr,De,Es,It).nds".
[INFO] [Core]: Content ran for a total of: 00 hours, 00 minutes, 00 seconds.
[INFO] [Core]: Unloading core..
[INFO] [Core]: Unloading core symbols..
[DEBUG] [Video]: Does not have enough samples for monitor refresh rate estimation. Requires to run for at least 4096 frames.
[INFO] RetroArch 1.19.1 (Git 0792144fe3)
[INFO] === Build =======================================
[INFO] CPU Model Name: Intel(R) Core(TM) i5-8600K CPU @ 3.60GHz
[INFO] Capabilities: MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4 SSE42 AES AVX AVX2 
[INFO] Version: 1.19.1
[INFO] Git: 0792144fe3
[INFO] Built: Jun  4 2024
[INFO] =================================================
[INFO] [Input]: Found input driver: "dinput".
[INFO] [Core]: Loading dynamic libretro core from: "D:\Steam\steamapps\common\RetroArch\cores\melondsds_libretro.dll"
[INFO] [Overrides]: Redirecting save file to "D:\Steam\steamapps\common\RetroArch\saves\melonDS DS\Dragon Quest IX - Sentinels of the Starry Skies (Europe) (En,Fr,De,Es,It).srm".
[INFO] [Overrides]: Redirecting save state to "D:\Steam\steamapps\common\RetroArch\states\melonDS DS\Dragon Quest IX - Sentinels of the Starry Skies (Europe) (En,Fr,De,Es,It).state".
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_UPDATE_DISPLAY_CALLBACK.
[INFO] [Environ]: RETRO_ENVIRONMENT_SET_CONTENT_INFO_OVERRIDE.
[INFO] [Content Override]: File Extension: 'srm' - need_fullpath: TRUE, persistent_data: FALSE
[INFO] [Content Override]: File Extension: 'sav' - need_fullpath: TRUE, persistent_data: FALSE
[INFO] [Content Override]: File Extension: 'nds' - need_fullpath: FALSE, persistent_data: TRUE
[INFO] [Content Override]: File Extension: 'dsi' - need_fullpath: FALSE, persistent_data: TRUE
[INFO] [Content Override]: File Extension: 'ids' - need_fullpath: FALSE, persistent_data: TRUE
[INFO] [Content Override]: File Extension: 'gba' - need_fullpath: FALSE, persistent_data: TRUE
[INFO] [Environ]: SET_CONTROLLER_INFO.
[DEBUG]    Port 1:
[DEBUG]       "Nintendo DS" (1)
[INFO] [Environ]: SET_SUPPORT_ACHIEVEMENTS: yes.
[INFO] [Environ]: GET_LOG_INTERFACE.
[libretro DEBUG] retro_set_environment(0x4109b0)
[INFO] [Environ]: UNSUPPORTED (#33).
[INFO] [Environ]: GET_MESSAGE_INTERFACE_VERSION.
[libretro DEBUG] Frontend report a message API version 1
[INFO] [Environ]: SAVE_DIRECTORY: "D:\Steam\steamapps\common\RetroArch\saves\melonDS DS".
[libretro INFO] Save directory: "D:/Steam/steamapps/common/RetroArch/saves/melonDS DS"
[libretro INFO] melonDS DS save subdirectory: "D:/Steam/steamapps/common/RetroArch/saves/melonDS DS"
[INFO] [Environ]: SYSTEM_DIRECTORY: "D:\Steam\steamapps\common\RetroArch\system".
[libretro INFO] System directory: "D:/Steam/steamapps/common/RetroArch/system"
[libretro INFO] melonDS DS system subdirectory: "D:/Steam/steamapps/common/RetroArch/system/melonDS DS"
[DEBUG] [Environ]: SET_SUBSYSTEM_INFO.
[DEBUG] Special game type: Slot 1 & 2 Boot
  Ident: gba
  ID: 1
  Content:
[DEBUG]     Nintendo DS (Slot 1) (required)
[DEBUG]     GBA (Slot 2) (required)
[DEBUG]     GBA Save Data (optional)
[DEBUG] Special game type: Slot 1 & 2 Boot (No GBA Save Data)
  Ident: gbanosav
  ID: 2
  Content:
[DEBUG]     Nintendo DS (Slot 1) (required)
[DEBUG]     GBA (Slot 2) (required)
[INFO] [Environ]: GET_VFS_INTERFACE. Core requested version >= V3, providing V3.
[libretro DEBUG] Requested VFS interface version 3, got 3
[INFO] [Environ]: SET_SUPPORT_NO_GAME: yes.
[INFO] [Remaps]: Core-specific remap found at "D:\Steam\steamapps\common\RetroArch\config\remaps\melonDS DS\melonDS DS.rmp".
[libretro DEBUG] Frontend supports no-game mode.[libretro DEBUG] Power state available[libretro DEBUG] retro_init
[libretro INFO] melonDS DS 1.1.2
[INFO] [Environ]: RETRO_ENVIRONMENT_GET_MICROPHONE_INTERFACE.
[libretro DEBUG] Microphone support available (version 1)[INFO] [Content]: Loading content file: "D:\Steam\steamapps\common\RetroArch\downloads\Dragon Quest IX - Sentinels of the Starry Skies (Europe) (En,Fr,De,Es,It).nds".
[libretro DEBUG] retro_load_game("D:\Steam\steamapps\common\RetroArch\downloads\Dragon Quest IX - Sentinels of the Starry Skies (Europe) (En,Fr,De,Es,It).nds", 268435456)
[INFO] [Environ]: SET_PIXEL_FORMAT: XRGB8888.
[libretro DEBUG] D:/Steam/steamapps/common/RetroArch/system/bios7.bin is not a known firmware size (found 16384 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] D:/Steam/steamapps/common/RetroArch/system/bios9.bin is not a known firmware size (found 4096 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] D:/Steam/steamapps/common/RetroArch/system/BIOSGBA.ROM is not a known firmware size (found 16384 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] D:/Steam/steamapps/common/RetroArch/system/firmware.bin.bak is a backup file, not counting it as firmware
[libretro DEBUG] D:/Steam/steamapps/common/RetroArch/system/key.cfg is not a known firmware size (found 13 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] D:/Steam/steamapps/common/RetroArch/system/mupen64plus.ini is not a known firmware size (found 455032 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] Found a firmware image at "D:/Steam/steamapps/common/RetroArch/system/firmware.bin"
[libretro ERROR] [melonDS] PCap: init failed
[libretro WARN] Failed to enumerate Wi-fi adapters
[INFO] [Environ]: GET_CORE_OPTIONS_VERSION.
[libretro DEBUG] Frontend reports core options version: 2
[INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_V2.
[libretro DEBUG] V2 core options set successfully
[DEBUG] [Environ]: GET_VARIABLE: melonds_console_mode = "ds"
[DEBUG] [Environ]: GET_VARIABLE: melonds_boot_mode = "direct"
[DEBUG] [Environ]: GET_VARIABLE: melonds_sysfile_mode = "native"
[DEBUG] [Environ]: GET_VARIABLE: melonds_ds_battery_ok_threshold = "20"
[DEBUG] [Environ]: GET_VARIABLE: melonds_battery_update_interval = "15"
[DEBUG] [Environ]: GET_VARIABLE: melonds_start_time_mode = "real"
[DEBUG] [Environ]: GET_VARIABLE: melonds_start_time_relative_year_offset = "0"
[DEBUG] [Environ]: GET_VARIABLE: melonds_start_time_relative_day_offset = "0"
[DEBUG] [Environ]: GET_VARIABLE: melonds_start_time_relative_hour_offset = "0"
[DEBUG] [Environ]: GET_VARIABLE: melonds_start_time_relative_minute_offset = "0"
[DEBUG] [Environ]: GET_VARIABLE: melonds_start_time_absolute_year = "2004"
[DEBUG] [Environ]: GET_VARIABLE: melonds_start_time_absolute_month = "1"
[DEBUG] [Environ]: GET_VARIABLE: melonds_start_time_absolute_day = "1"
[DEBUG] [Environ]: GET_VARIABLE: melonds_start_time_absolute_hour = "0"
[DEBUG] [Environ]: GET_VARIABLE: melonds_start_time_absolute_minute = "0"
[DEBUG] [Environ]: GET_VARIABLE: melonds_show_unsupported_features = "enabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_show_mic_state = "disabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_show_camera_state = "enabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_show_bios_warnings = "enabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_show_current_layout = "disabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_show_lid_state = "enabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_jit_enable = "enabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_jit_block_size = "32"
[DEBUG] [Environ]: GET_VARIABLE: melonds_jit_branch_optimisations = "enabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_jit_literal_optimisations = "enabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_jit_fast_memory = "enabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_homebrew_readonly = "disabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_homebrew_sync_sdcard_to_host = "disabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_homebrew_sdcard = "enabled"
[libretro INFO] No homebrew SD card image found at "D:/Steam/steamapps/common/RetroArch/saves/melonDS DS/dldi_sd_card.bin"; will create an image.
[DEBUG] [Environ]: GET_VARIABLE: melonds_dsi_sdcard_readonly = "disabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_dsi_sdcard_sync_sdcard_to_host = "disabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_dsi_sdcard = "enabled"
[libretro INFO] No DSi SD card image found at "D:/Steam/steamapps/common/RetroArch/saves/melonDS DS/dsi_sd_card.bin"; will create an image.
[DEBUG] [Environ]: GET_VARIABLE: melonds_dsi_nand_path = "/notfound"
[DEBUG] [Environ]: GET_VARIABLE: melonds_firmware_nds_path = "firmware.bin"
[DEBUG] [Environ]: GET_VARIABLE: melonds_firmware_dsi_path = "firmware.bin"
[DEBUG] [Environ]: GET_VARIABLE: melonds_firmware_language = "auto"
[DEBUG] [Environ]: GET_VARIABLE: melonds_firmware_favorite_color = "12"
[DEBUG] [Environ]: GET_VARIABLE: melonds_firmware_username = "guess_username"
[DEBUG] [Environ]: GET_VARIABLE: melonds_firmware_enable_alarm = "default"
[DEBUG] [Environ]: GET_VARIABLE: melonds_firmware_alarm_hour = "default"
[DEBUG] [Environ]: GET_VARIABLE: melonds_firmware_alarm_minute = "default"
[DEBUG] [Environ]: GET_VARIABLE: melonds_firmware_birth_month = "3"
[DEBUG] [Environ]: GET_VARIABLE: melonds_firmware_birth_day = "18"
[DEBUG] [Environ]: GET_VARIABLE: melonds_firmware_wfc_dns = "178.62.43.212"
[DEBUG] [Environ]: GET_VARIABLE: melonds_mic_input_active = "hold"
[DEBUG] [Environ]: GET_VARIABLE: melonds_mic_input = "microphone"
[DEBUG] [Environ]: GET_VARIABLE: melonds_audio_bitdepth = "auto"
[DEBUG] [Environ]: GET_VARIABLE: melonds_audio_interpolation = "disabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_network_mode = "indirect"
[DEBUG] [Environ]: GET_VARIABLE: melonds_direct_network_interface = "auto"
[DEBUG] [Environ]: GET_VARIABLE: melonds_screen_gap = "0"
[DEBUG] [Environ]: GET_VARIABLE: melonds_cursor_timeout = "3"
[DEBUG] [Environ]: GET_VARIABLE: melonds_touch_mode = "auto"
[DEBUG] [Environ]: GET_VARIABLE: melonds_show_cursor = "timeout"
[DEBUG] [Environ]: GET_VARIABLE: melonds_hybrid_ratio = "3"
[DEBUG] [Environ]: GET_VARIABLE: melonds_hybrid_small_screen = "one"
[DEBUG] [Environ]: GET_VARIABLE: melonds_number_of_screen_layouts = "2"
[DEBUG] [Environ]: GET_VARIABLE: melonds_screen_layout1 = "top-bottom"
[DEBUG] [Environ]: GET_VARIABLE: melonds_screen_layout2 = "hybrid-top"
[DEBUG] [Environ]: GET_VARIABLE: melonds_screen_layout3 = "top"
[DEBUG] [Environ]: GET_VARIABLE: melonds_screen_layout4 = "bottom"
[DEBUG] [Environ]: GET_VARIABLE: melonds_screen_layout5 = "hybrid-top"
[DEBUG] [Environ]: GET_VARIABLE: melonds_screen_layout6 = "hybrid-bottom"
[DEBUG] [Environ]: GET_VARIABLE: melonds_screen_layout7 = "bottom-top"
[DEBUG] [Environ]: GET_VARIABLE: melonds_screen_layout8 = "right-left"
[DEBUG] [Environ]: GET_VARIABLE: melonds_opengl_filtering = "nearest"
[DEBUG] [Environ]: GET_VARIABLE: melonds_threaded_renderer = "enabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_render_mode = "opengl"
[DEBUG] [Environ]: GET_VARIABLE: melonds_opengl_resolution = "3"
[DEBUG] [Environ]: GET_VARIABLE: melonds_opengl_better_polygons = "disabled"
[libretro DEBUG] bool MelonDsDs::CoreOptionVisibility::Update()
[DEBUG] [Environ]: GET_VARIABLE: melonds_mic_input = "microphone"
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: GET_VARIABLE: melonds_render_mode = "opengl"
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: GET_VARIABLE: melonds_console_mode = "ds"
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: GET_VARIABLE: melonds_dsi_sdcard = "enabled"
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: GET_VARIABLE: melonds_homebrew_sdcard = "enabled"
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: GET_VARIABLE: melonds_show_cursor = "timeout"
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: GET_VARIABLE: melonds_number_of_screen_layouts = "2"
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: GET_VARIABLE: melonds_screen_layout1 = "top-bottom"
[DEBUG] [Environ]: GET_VARIABLE: melonds_screen_layout2 = "hybrid-top"
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: GET_VARIABLE: melonds_firmware_enable_alarm = "default"
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: GET_VARIABLE: melonds_jit_enable = "enabled"
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: GET_VARIABLE: melonds_network_mode = "indirect"
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: GET_VARIABLE: melonds_start_time_mode = "real"
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[libretro DEBUG] MelonDsDs::OpenGLRenderState::OpenGLRenderState()
[INFO] [Environ]: SET_HW_RENDER, context type: gl.
[INFO] Requesting OpenGL context.
[DEBUG] Reached end of SET_HW_RENDER.
[libretro DEBUG] OpenGL context requested. Current framebuffer: 0
[libretro DEBUG] Initialized OpenGL render state
[DEBUG] [Environ]: SET_ROTATION: 0
[INFO] [Microphone]: Microphone requested before driver context was ready; deferring initialization.
[libretro INFO] Loaded DS Lite firmware from "D:/Steam/steamapps/common/RetroArch/system/firmware.bin" (Identifier: MACh)
[libretro ERROR] Failed to open ARM7 file "D:/Steam/steamapps/common/RetroArch/system/melonDS DS/bios7.bin" for reading
[libretro INFO] Successfully loaded 16384-byte ARM7 file "D:/Steam/steamapps/common/RetroArch/system/bios7.bin"
[libretro ERROR] Failed to open ARM9 file "D:/Steam/steamapps/common/RetroArch/system/melonDS DS/bios9.bin" for reading
[libretro INFO] Successfully loaded 4096-byte ARM9 file "D:/Steam/steamapps/common/RetroArch/system/bios9.bin"
[libretro DEBUG] Installed native ARM7 and ARM9 NDS BIOS images
[INFO] [Environ]: GET_USERNAME: "".
[INFO] [Environ]: GET_LANGUAGE: "0".
[libretro DEBUG] Parsed NDS ROM: "D:\Steam\steamapps\common\RetroArch\downloads\Dragon Quest IX - Sentinels of the Starry Skies (Europe) (En,Fr,De,Es,It).nds"
[libretro DEBUG] Initialized indirect-mode Wi-fi support[libretro DEBUG] [melonDS] Re-encrypting cart secure area
[libretro DEBUG] [melonDS] NDSCart: Initialized Key1_KeyBuf from memory
[libretro DEBUG] [melonDS] NDSCart: Initialized Key1_KeyBuf from memory
[libretro DEBUG] [melonDS] Re-encrypted cart secure area
[libretro INFO] [melonDS] Inserted cart with game code: YDQP
[libretro INFO] [melonDS] Inserted cart with ID: 0000FFC2
[libretro INFO] [melonDS] ROM entry: 10000000 00000003
[libretro DEBUG] Allocated 65536-byte SRAM buffer for loaded NDS ROM.
[libretro INFO] No GBA SRAM was provided.
[INFO] [Environ]: GET_MESSAGE_INTERFACE_VERSION.
[INFO] [Environ]: SET_INPUT_DESCRIPTORS:
[DEBUG]    Port 1:
[DEBUG]       "D-Pad Up" => "Up"
[DEBUG]       "D-Pad Down" => "Down"
[DEBUG]       "D-Pad Left" => "Left"
[DEBUG]       "D-Pad Right" => "Right"
[DEBUG]       "B Button (Down)" => "B"
[DEBUG]       "A Button (Right)" => "A"
[DEBUG]       "Y Button (Left)" => "Y"
[DEBUG]       "X Button (Top)" => "X"
[DEBUG]       "Select Button" => "Select"
[DEBUG]       "Start Button" => "Start"
[DEBUG]       "L Button (Shoulder)" => "L"
[DEBUG]       "R Button (Shoulder)" => "R"
[DEBUG]       "L2 Button (Trigger)" => "Microphone"
[DEBUG]       "R2 Button (Trigger)" => "Next Screen Layout"
[DEBUG]       "L3 Button (Thumb)" => "Close Lid"
[DEBUG]       "R3 Button (Thumb)" => "Touch Joystick"
[DEBUG]    Port 2:
[DEBUG]    Port 3:
[DEBUG]    Port 4:
[DEBUG]    Port 5:
[DEBUG]    Port 6:
[DEBUG]    Port 7:
[DEBUG]    Port 8:
[libretro INFO] Deferring initialization until the OpenGL context is ready
[INFO] [RCHEEVOS]: Using host: https://retroachievements.org
[INFO] [RCHEEVOS]: Unofficial disabled
[INFO] [RCHEEVOS]: Encore mode disabled
[INFO] [RCHEEVOS]: Spectator mode disabled
[INFO] [RCHEEVOS]: Load started, hardcore active
[INFO] [RCHEEVOS]: Attempting to log in Socktopus (with token)
[INFO] [RCHEEVOS]: Identifying game: 268435456 bytes at 0000000021151040 (D:\Steam\steamapps\common\RetroArch\downloads\Dragon Quest IX - Sentinels of the Starry Skies (Europe) (En,Fr,De,Es,It).nds)
[INFO] [RCHEEVOS]: Found 1 potential consoles for nds file extension
[INFO] [RCHEEVOS]: Trying console 18
[INFO] [RCHEEVOS]: Opened [buffered file]
[INFO] [RCHEEVOS]: Hashing 352 byte header
[INFO] [RCHEEVOS]: Hashing 638216 byte arm9 code (at 00004000)
[INFO] [RCHEEVOS]: Hashing 167876 byte arm7 code (at 001E2400)
[INFO] [RCHEEVOS]: Hashing 2560 byte icon and labels data (at 00230400)
[INFO] [RCHEEVOS]: Generated hash ebb3e9ee86d520f624ffc701a912779b
[libretro DEBUG] retro_get_memory_data(RETRO_MEMORY_SAVE_RAM)[libretro DEBUG] retro_get_memory_data(RETRO_MEMORY_RTC)[libretro DEBUG] retro_get_memory_data(RETRO_MEMORY_SAVE_RAM)[libretro DEBUG] retro_get_memory_data(RETRO_MEMORY_RTC)[INFO] [Core]: Version of libretro API: 1, Compiled against API: 1
[libretro DEBUG] void retro_get_system_av_info(retro_system_av_info*)
[libretro DEBUG] retro_get_system_av_info finished
[INFO] [Core]: Geometry: 768x1152, Aspect: 0.667, FPS: 59.90, Sample rate: 32768.00 Hz.
[INFO] [Audio]: Set audio input rate to: 32823.63 Hz.
[INFO] [Video]: Set video size to: fullscreen.
[INFO] [Video]: Using HW render, OpenGL driver forced.
[INFO] [Video]: Using configured "glcore" driver for GL HW render.
[INFO] [GLCore]: Found GL context: "wgl".
[INFO] [GLCore]: Detecting screen resolution: 1920x1080.
[INFO] [WGL]: Extensions: WGL_ARB_buffer_region WGL_ARB_create_context WGL_ARB_create_context_no_error WGL_ARB_create_context_profile WGL_ARB_create_context_robustness WGL_ARB_context_flush_control WGL_ARB_extensions_string WGL_ARB_make_current_read WGL_ARB_multisample WGL_ARB_pbuffer WGL_ARB_pixel_format WGL_ARB_pixel_format_float WGL_ARB_render_texture WGL_ATI_pixel_format_float WGL_EXT_colorspace WGL_EXT_create_context_es_profile WGL_EXT_create_context_es2_profile WGL_EXT_extensions_string WGL_EXT_framebuffer_sRGB WGL_EXT_pixel_format_packed_float WGL_EXT_swap_control WGL_EXT_swap_control_tear WGL_NVX_DX_interop WGL_NV_DX_interop WGL_NV_DX_interop2 WGL_NV_copy_image WGL_NV_delay_before_swap WGL_NV_float_buffer WGL_NV_multisample_coverage WGL_NV_multigpu_context WGL_NV_render_depth_texture WGL_NV_render_texture_rectangle 
[INFO] [WGL]: Adaptive VSync supported.
[INFO] [GLCore]: Initializing HW render (16384x16384).
[INFO] [GLCore]: Max texture size: 32768 px, renderbuffer size: 32768 px.
[INFO] [GLCore]: Vendor: NVIDIA Corporation, Renderer: NVIDIA GeForce GTX 1080/PCIe/SSE2.
[INFO] [GLCore]: Version: 4.6.0 NVIDIA 555.99.
[INFO] [GLCore]: Using resolution 1920x1080.
[INFO] [XInput]: Found XInput v1.4.
[INFO] [Joypad]: Found joypad driver: "xinput".
[INFO] [GLCore]: Loading stock shader.
[INFO] [slang]: Building pass #0 (N/A)
[INFO] [GLCore]: Not using frame history.
[INFO] [GLCore]: Not using framebuffer feedback.
[INFO] [Video]: Found display server: "win32".
[libretro DEBUG] void MelonDsDs::OpenGLRenderState::ContextReset(melonDS::NDS&, const MelonDsDs::CoreConfig&)
[libretro DEBUG] Initializing OpenGL function pointers
[libretro INFO] OpenGL version: 4.6.0 NVIDIA 555.99
[libretro INFO] OpenGL vendor: NVIDIA Corporation
[libretro INFO] OpenGL renderer: NVIDIA GeForce GTX 1080/PCIe/SSE2
[libretro DEBUG] Current OpenGL framebuffer: 1
[libretro DEBUG] Framebuffer status: GL_FRAMEBUFFER_COMPLETE
[libretro DEBUG] Setting up GL state
[libretro DEBUG] Set up GL state
[libretro DEBUG] Binding GL state
[libretro DEBUG] Bound GL state
[libretro DEBUG] Constructed OpenGL renderer
[libretro DEBUG] Applied OpenGL renderer settings
[libretro DEBUG] Installed OpenGL renderer
[libretro DEBUG] void MelonDsDs::OpenGLRenderState::SetUpCoreOpenGlState(const MelonDsDs::CoreConfig&)
[libretro DEBUG] Initialized core OpenGL state
[libretro DEBUG] Unbound GL state
[libretro DEBUG] OpenGL context reset successfully.
[INFO] [XAudio2]: Requesting 64 ms latency, using 64 ms latency.
[INFO] [Audio]: Started synchronous audio driver.
[DEBUG] [WASAPI mic]: Initialized microphone driver context.
[INFO] [Microphone]: Initialized microphone driver.
[DEBUG] [WASAPI]: Initializing default eCapture device..
[DEBUG] [WASAPI]: Requesting shared 16-bit 1-channel client with WAVE_FORMAT_PCM samples at 44100Hz 64ms.
[DEBUG] [WASAPI]: Windows suggests a format of (KSDATAFORMAT_SUBTYPE_IEEE_FLOAT, 2-channel, 48000Hz).
[INFO] [Autoconf]: Xbox 360 Wireless Controller configured in port 1.
[DEBUG] [WASAPI]: Default device period is 10.0ms.
[DEBUG] [WASAPI]: Minimum device period is 3.0ms.
[DEBUG] [WASAPI]: Shared stream latency is 0.0ms.
[DEBUG] [WASAPI]: Endpoint buffer size is 3072 frames (3072 samples, 12288 bytes, 64.0 ms).
[INFO] [WASAPI]: Client initialized (shared, FLOAT, 48000Hz, 64.0ms).
[INFO] [WASAPI]: Intermediate shared-mode capture buffer length is 960 frames (20.0ms, 3840 bytes).
[INFO] [WASAPI mic]: Stopped capture device "Mic in at front panel (Pink) (Realtek(R) Audio)".
[INFO] [Microphone]: Disabled microphone.
[INFO] [Microphone]: Requested microphone sample rate of 44100Hz, got 48000Hz.
[INFO] [Microphone]: Initialized microphone.
[DEBUG] [Microphone]: Initialized a previously-pending microphone.
[INFO] [Display]: Found display driver: "glcore".
[libretro DEBUG] Frontend report a message API version 1
[INFO] [Environ]: SET_SUBSYSTEM_INFO.
[DEBUG] Subsystem ID: 0
Special game type: Slot 1 & 2 Boot
  Ident: gba
  ID: 1
  Content:
[DEBUG]     Nintendo DS (Slot 1) (required)
[DEBUG]     GBA (Slot 2) (required)
[DEBUG]     GBA Save Data (optional)
[DEBUG] Subsystem ID: 1
Special game type: Slot 1 & 2 Boot (No GBA Save Data)
  Ident: gbanosav
  ID: 2
  Content:
[DEBUG]     Nintendo DS (Slot 1) (required)
[DEBUG]     GBA (Slot 2) (required)
[DEBUG] Subsystems: 2
[libretro WARN] Could not get VFS interface 3, falling back to libretro-common defaults
[libretro DEBUG] Frontend report a message API version 1
[libretro WARN] Could not get VFS interface 3, falling back to libretro-common defaults
[INFO] [MIDI]: Output device: "Microsoft GS Wavetable Synth".
[libretro DEBUG] retro_set_controller_port_device(0, RETRO_DEVICE_JOYPAD)
[INFO] [Playlist]: Loading history file: "D:\Steam\steamapps\common\RetroArch\content_history.lpl".
[INFO] [Playlist]: Loading history file: "D:\Steam\steamapps\common\RetroArch\content_music_history.lpl".
[INFO] [Playlist]: Loading history file: "D:\Steam\steamapps\common\RetroArch\content_video_history.lpl".
[INFO] [Playlist]: Loading history file: "D:\Steam\steamapps\common\RetroArch\content_image_history.lpl".
[INFO] [Playlist]: Loading favorites file: "D:\Steam\steamapps\common\RetroArch\content_favorites.lpl".
[DEBUG] [Audio]: Started audio driver "xaudio" (is_shutdown=false)
[INFO] [Microphone]: Enabled microphone.
[DEBUG] [Microphone]: Started a microphone that was enabled when the driver was last stopped.
[INFO] [RCHEEVOS]: Login failed: Invalid user/token combination.
[INFO] [RCHEEVOS]: RetroAchievements login failed: Invalid user/token combination.
[INFO] [RCHEEVOS]: Identified game: 9093 (ebb3e9ee86d520f624ffc701a912779b)
[INFO] [RCHEEVOS]: Load failed (-28): Login required
[INFO] [RCHEEVOS]: RetroAchievements game load failed: Login required
[libretro DEBUG] Starting deferred initialization
[libretro DEBUG] void MelonDsDs::CoreState::StartConsole()
[libretro DEBUG] [melonDS] Resetting JIT block cache...
[libretro DEBUG] [melonDS] done resetting jit mem
[libretro DEBUG] [melonDS] done resetting jit mem
[libretro INFO] [melonDS] MAC: 00:16:56:83:31:F9
[libretro DEBUG] [melonDS] FW: WIFI CRC16 = GOOD
[libretro DEBUG] [melonDS] FW: AP1 CRC16 = GOOD
[libretro DEBUG] [melonDS] FW: AP2 CRC16 = GOOD
[libretro DEBUG] [melonDS] FW: AP3 CRC16 = GOOD
[libretro DEBUG] [melonDS] FW: USER0 CRC16 = GOOD
[libretro DEBUG] [melonDS] FW: USER1 CRC16 = GOOD
[libretro DEBUG] Starting the RTC at 2024-06-13 07:51:17 PM (local time)
[libretro DEBUG] [melonDS] remapping SWRAM
[libretro DEBUG] [melonDS] NDSCart: Initialized Key1_KeyBuf from memory
[libretro DEBUG] [melonDS] NDSCart: Initialized Key1_KeyBuf from memory
[libretro INFO] [melonDS] Secure area decryption OK
[libretro DEBUG] [melonDS] remapping DTCM 0 1000 ffffffff ffffffff
[libretro DEBUG] [melonDS] PU: region 0 = 04000033 : enabled, 04000000-08000000
[libretro DEBUG] [melonDS] PU: region 0 = 04000033 : enabled, 04000000-08000000
[libretro DEBUG] [melonDS] PU: region 1 = 0200002B : enabled, 02000000-02400000
[libretro DEBUG] [melonDS] PU: region 1 = 0200002B : enabled, 02000000-02400000
[libretro DEBUG] [melonDS] PU: region 2 = 00000000 : disabled, 00000000-00000002
[libretro DEBUG] [melonDS] PU: region 2 = 00000000 : disabled, 00000000-00000002
[libretro DEBUG] [melonDS] PU: region 3 = 08000035 : enabled, 08000000-10000000
[libretro DEBUG] [melonDS] PU: region 3 = 08000035 : enabled, 08000000-10000000
[libretro DEBUG] [melonDS] PU: region 4 = 0300001B : enabled, 03000000-03004000
[libretro DEBUG] [melonDS] PU: region 4 = 0300001B : enabled, 03000000-03004000
[libretro DEBUG] [melonDS] PU: region 5 = 00000000 : disabled, 00000000-00000002
[libretro DEBUG] [melonDS] PU: region 5 = 00000000 : disabled, 00000000-00000002
[libretro DEBUG] [melonDS] PU: region 6 = FFFF001D : enabled, FFFF0000-FFFF8000
[libretro DEBUG] [melonDS] PU: region 6 = FFFF001D : enabled, FFFF0000-FFFF8000
[libretro DEBUG] [melonDS] PU: region 7 = 027FF017 : enabled, 027FF000-02800000
[libretro DEBUG] [melonDS] PU: region 7 = 027FF017 : enabled, 027FF000-02800000
[libretro DEBUG] [melonDS] remapping DTCM 3000000 3004000 0 fffff000
[libretro INFO] [melonDS] Game is now booting
[libretro DEBUG] Initialized direct boot for "Dragon Quest IX - Sentinels of the Starry Skies (Europe) (En,Fr,De,Es,It).nds"
[libretro INFO] Started emulated console
[libretro DEBUG] Completed deferred initialization
[libretro DEBUG] Installed 65536-byte SRAM
[DEBUG] [Environ]: SET_ROTATION: 0
[INFO] [Environ]: SET_GEOMETRY.
[libretro DEBUG] [melonDS] remapping DTCM ffffffff ffffffff 3000000 2ffc000
[libretro DEBUG] [melonDS] PU: region 0 = 04000033 : enabled, 04000000-08000000
[libretro DEBUG] [melonDS] PU: region 1 = 0200002D : enabled, 02000000-02800000
[libretro DEBUG] [melonDS] PU: region 2 = 027E0021 : enabled, 027E0000-02800000
[libretro DEBUG] [melonDS] PU: region 3 = 08000035 : enabled, 08000000-10000000
[libretro DEBUG] [melonDS] PU: region 4 = 027E001B : enabled, 027E0000-027E4000
[libretro DEBUG] [melonDS] PU: region 5 = 0100002F : enabled, 01000000-02000000
[libretro DEBUG] [melonDS] PU: region 6 = FFFF001D : enabled, FFFF0000-FFFF8000
[libretro DEBUG] [melonDS] PU: region 7 = 027FF017 : enabled, 027FF000-02800000
[libretro DEBUG] [melonDS] remapping DTCM 27e0000 27e4000 ffffffff ffffffff
[libretro DEBUG] [melonDS] unmapping 9 3800000 10000 1 0
[libretro DEBUG] [melonDS] PU region 0: 04000000-08000000, user=00 priv=07, 15111011/05100011
[libretro DEBUG] [melonDS] PU region 1: 02000000-02800000, user=70 priv=77, 15111011/05100011
[libretro DEBUG] [melonDS] PU region 2: 027E0000-02800000, user=00 priv=00, 15111011/05100011
[libretro DEBUG] [melonDS] PU region 3: 08000000-10000000, user=00 priv=03, 15111011/05100011
[libretro DEBUG] [melonDS] PU region 4: 027E0000-027E4000, user=00 priv=03, 15111011/05100011
[libretro DEBUG] [melonDS] PU region 5: 01000000-02000000, user=00 priv=07, 15111011/05100011
[libretro DEBUG] [melonDS] PU region 6: FFFF0000-FFFF8000, user=50 priv=55, 15111011/05100011
[libretro DEBUG] [melonDS] PU region 7: 027FF000-02800000, user=00 priv=03, 15111011/05100011
[libretro DEBUG] [melonDS] PU: region 1 = 0200002B : enabled, 02000000-02400000
[libretro DEBUG] [melonDS] PU region 0: 04000000-08000000, user=00 priv=07, 15111011/05100011
[libretro DEBUG] [melonDS] PU region 1: 02000000-02400000, user=70 priv=77, 15111011/05100011
[libretro DEBUG] [melonDS] PU region 2: 027E0000-02800000, user=00 priv=00, 15111011/05100011
[libretro DEBUG] [melonDS] PU region 3: 08000000-10000000, user=00 priv=03, 15111011/05100011
[libretro DEBUG] [melonDS] PU region 4: 027E0000-027E4000, user=00 priv=03, 15111011/05100011
[libretro DEBUG] [melonDS] PU region 5: 01000000-02000000, user=00 priv=07, 15111011/05100011
[libretro DEBUG] [melonDS] PU region 6: FFFF0000-FFFF8000, user=50 priv=55, 15111011/05100011
[libretro DEBUG] [melonDS] PU region 7: 027FF000-02800000, user=00 priv=03, 15111011/05100011
[libretro DEBUG] [melonDS] PU: region 2 = 023E0021 : enabled, 023E0000-02400000
[libretro DEBUG] [melonDS] PU region 0: 04000000-08000000, user=00 priv=07, 15111011/05100011
[libretro DEBUG] [melonDS] PU region 1: 02000000-02400000, user=70 priv=77, 15111011/05100011
[libretro DEBUG] [melonDS] PU region 2: 023E0000-02400000, user=00 priv=00, 15111011/05100011
[libretro DEBUG] [melonDS] PU region 3: 08000000-10000000, user=00 priv=03, 15111011/05100011
[libretro DEBUG] [melonDS] PU region 4: 027E0000-027E4000, user=00 priv=03, 15111011/05100011
[libretro DEBUG] [melonDS] PU region 5: 01000000-02000000, user=00 priv=07, 15111011/05100011
[libretro DEBUG] [melonDS] PU region 6: FFFF0000-FFFF8000, user=50 priv=55, 15111011/05100011
[libretro DEBUG] [melonDS] PU region 7: 027FF000-02800000, user=00 priv=03, 15111011/05100011
[libretro DEBUG] [melonDS] PU region 3: 08000000-10000000, user=00 priv=01, 15115011/05100011
[libretro DEBUG] [melonDS] WIFI: ON
[libretro DEBUG] [melonDS] WIFI: OFF
[libretro DEBUG] [melonDS] unknown ARM9 IO write32 04001060 00000000 01FF8580
[libretro DEBUG] [melonDS] unknown ARM9 IO write32 04001064 00000000 01FF8580
[libretro DEBUG] [melonDS] unknown ARM9 IO write32 04001068 00000000 01FF8580
[DEBUG] [Audio]: Stopped audio driver "xaudio"
[INFO] [WASAPI mic]: Stopped capture device "Mic in at front panel (Pink) (Realtek(R) Audio)".
[DEBUG] [Audio]: Started audio driver "xaudio" (is_shutdown=false)
[INFO] [Microphone]: Enabled microphone.
[DEBUG] [Microphone]: Started a microphone that was enabled when the driver was last stopped.
[DEBUG] [Audio]: Stopped audio driver "xaudio"
[INFO] [WASAPI mic]: Stopped capture device "Mic in at front panel (Pink) (Realtek(R) Audio)".
[INFO] [Core]: Content ran for a total of: 00 hours, 00 minutes, 16 seconds.
[INFO] [Runtime]: Saving runtime log file: "D:\Steam\steamapps\common\RetroArch\playlists\logs\melonDS DS\Dragon Quest IX - Sentinels of the Starry Skies (Europe) (En,Fr,De,Es,It).lrtl".
[INFO] [Core]: No content, starting dummy core.
[libretro DEBUG] retro_get_memory_data(RETRO_MEMORY_SAVE_RAM)[INFO] [SRAM]: Saving RAM type #0 to "D:\Steam\steamapps\common\RetroArch\saves\melonDS DS\Dragon Quest IX - Sentinels of the Starry Skies (Europe) (En,Fr,De,Es,It).srm".
[INFO] [SRAM]: Saved successfully to "D:\Steam\steamapps\common\RetroArch\saves\melonDS DS\Dragon Quest IX - Sentinels of the Starry Skies (Europe) (En,Fr,De,Es,It).srm".
[libretro DEBUG] retro_get_memory_data(RETRO_MEMORY_RTC)[INFO] [Core]: Content ran for a total of: 00 hours, 00 minutes, 00 seconds.
[libretro DEBUG] void MelonDsDs::OpenGLRenderState::ContextDestroyed()
[INFO] [Core]: Unloading game..
[libretro DEBUG] retro_unload_game()
[libretro DEBUG] Flushed 262144-byte firmware to "D:/Steam/steamapps/common/RetroArch/system/firmware.bin"
[libretro INFO] [melonDS] Stopping emulated console (Reason: External)
[libretro DEBUG] Platform::SignalStop(External)[libretro DEBUG] [melonDS] Resetting JIT block cache...
[libretro DEBUG] [melonDS] done resetting jit mem
[INFO] [WASAPI mic]: Stopped capture device "Mic in at front panel (Pink) (Realtek(R) Audio)".
[INFO] [Core]: Unloading core..
[libretro DEBUG] retro_deinit()
[libretro DEBUG] virtual MelonDsDs::OpenGLRenderState::~OpenGLRenderState()
[INFO] [Environ]: SET_HW_RENDER, context type: N/A.
[INFO] Requesting no HW context.
[DEBUG] Reached end of SET_HW_RENDER.
[INFO] [Core]: Unloading core symbols..
[INFO] [Core]: Saved core options file to "D:\Steam\steamapps\common\RetroArch\config\melonDS DS\melonDS DS.opt".
[DEBUG] [Video]: Does not have enough samples for monitor refresh rate estimation. Requires to run for at least 4096 frames.
[INFO] RetroArch 1.19.1 (Git 0792144fe3)
[INFO] === Build =======================================
[INFO] CPU Model Name: Intel(R) Core(TM) i5-8600K CPU @ 3.60GHz
[INFO] Capabilities: MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4 SSE42 AES AVX AVX2 
[INFO] Version: 1.19.1
[INFO] Git: 0792144fe3
[INFO] Built: Jun  4 2024
[INFO] =================================================
[INFO] [Input]: Found input driver: "dinput".
[INFO] [Environ]: SET_PIXEL_FORMAT: RGB565.
[INFO] [Core]: Version of libretro API: 1, Compiled against API: 1
[INFO] [Core]: Geometry: 320x240, Aspect: 1.333, FPS: 60.00, Sample rate: 48000.00 Hz.
[INFO] [Audio]: Set audio input rate to: 48000.00 Hz.
[INFO] [Video]: Set video size to: fullscreen.
[INFO] [GLCore]: Found GL context: "wgl".
[INFO] [GLCore]: Detecting screen resolution: 1920x1080.
[INFO] [WGL]: Extensions: WGL_ARB_buffer_region WGL_ARB_create_context WGL_ARB_create_context_no_error WGL_ARB_create_context_profile WGL_ARB_create_context_robustness WGL_ARB_context_flush_control WGL_ARB_extensions_string WGL_ARB_make_current_read WGL_ARB_multisample WGL_ARB_pbuffer WGL_ARB_pixel_format WGL_ARB_pixel_format_float WGL_ARB_render_texture WGL_ATI_pixel_format_float WGL_EXT_colorspace WGL_EXT_create_context_es_profile WGL_EXT_create_context_es2_profile WGL_EXT_extensions_string WGL_EXT_framebuffer_sRGB WGL_EXT_pixel_format_packed_float WGL_EXT_swap_control WGL_EXT_swap_control_tear WGL_NVX_DX_interop WGL_NV_DX_interop WGL_NV_DX_interop2 WGL_NV_copy_image WGL_NV_delay_before_swap WGL_NV_float_buffer WGL_NV_multisample_coverage WGL_NV_multigpu_context WGL_NV_render_depth_texture WGL_NV_render_texture_rectangle 
[INFO] [WGL]: Adaptive VSync supported.
[INFO] [GLCore]: Vendor: NVIDIA Corporation, Renderer: NVIDIA GeForce GTX 1080/PCIe/SSE2.
[INFO] [GLCore]: Version: 4.6.0 NVIDIA 555.99.
[INFO] [GLCore]: Using resolution 1920x1080.
[INFO] [XInput]: Found XInput v1.4.
[INFO] [Joypad]: Found joypad driver: "xinput".
[INFO] [GLCore]: Loading stock shader.
[INFO] [slang]: Building pass #0 (N/A)
[INFO] [GLCore]: Not using frame history.
[INFO] [GLCore]: Not using framebuffer feedback.
[INFO] [Autoconf]: Xbox 360 Wireless Controller configured in port 1.
[INFO] [Video]: Found display server: "win32".
[INFO] [XAudio2]: Requesting 64 ms latency, using 64 ms latency.
[INFO] [Audio]: Started synchronous audio driver.
[DEBUG] [WASAPI mic]: Initialized microphone driver context.
[INFO] [Microphone]: Initialized microphone driver.
[INFO] [Display]: Found display driver: "glcore".
[INFO] [Environ]: SET_SUBSYSTEM_INFO.
[DEBUG] Subsystem ID: 0
Special game type: Slot 1 & 2 Boot
  Ident: gba
  ID: 1
  Content:
[DEBUG]     Nintendo DS (Slot 1) (required)
[DEBUG]     GBA (Slot 2) (required)
[DEBUG]     GBA Save Data (optional)
[DEBUG] Subsystem ID: 1
Special game type: Slot 1 & 2 Boot (No GBA Save Data)
  Ident: gbanosav
  ID: 2
  Content:
[DEBUG]     Nintendo DS (Slot 1) (required)
[DEBUG]     GBA (Slot 2) (required)
[DEBUG] Subsystems: 2
[INFO] [MIDI]: Output device: "Microsoft GS Wavetable Synth".
[INFO] [Playlist]: Loading history file: "D:\Steam\steamapps\common\RetroArch\content_history.lpl".
[INFO] [Playlist]: Loading history file: "D:\Steam\steamapps\common\RetroArch\content_music_history.lpl".
[INFO] [Playlist]: Loading history file: "D:\Steam\steamapps\common\RetroArch\content_video_history.lpl".
[INFO] [Playlist]: Loading history file: "D:\Steam\steamapps\common\RetroArch\content_image_history.lpl".
[INFO] [Playlist]: Loading favorites file: "D:\Steam\steamapps\common\RetroArch\content_favorites.lpl".
[DEBUG] [Audio]: Started audio driver "xaudio" (is_shutdown=false)
[DEBUG] [Audio]: Stopped audio driver "xaudio"
[INFO] [Config]: Saved new config to "D:\Steam\steamapps\common\RetroArch\retroarch.cfg".
[DEBUG] [Audio]: Started audio driver "xaudio" (is_shutdown=true)
[DEBUG] [Audio]: Started audio driver "xaudio" (is_shutdown=true)
[INFO] [Core]: Content ran for a total of: 00 hours, 00 minutes, 00 seconds.
[DEBUG] [Audio]: Stopped audio driver "xaudio"
[INFO] [Core]: Unloading core..
[INFO] [Core]: Unloading core symbols..
[DEBUG] [Video]: Does not have enough samples for monitor refresh rate estimation. Requires to run for at least 4096 frames.
JesseTG commented 3 months ago

You're a genius - manually switching to glcore in retroarch's video options did it. Interestingly, I do have the option to let cores control switching the video driver themselves turned on, so I'm not sure why it was showing this behaviour.

It might be because of how the core asks for an OpenGL context.

Let me know if you want me to try the other build in case this issue can be circumvented some other way and I'm happy to help - it's a really easy fix but I can't imagine ever thinking to try changing the video driver in the cores menu without being prompted.

Actually, yes please. Could you try the other build anyway (with both the gl and glcore drivers)? It changes how the core asks RetroArch for an OpenGL context in such a way that manually switching should be unnecessary.

Thank you so much!

No problem, happy to help.

molly-o-k commented 3 months ago

No problem - I've done that, and the new build seems to work correctly when using either gl or glcore as a starting point. It now seems to switch correctly and doesn't crash.

Log for glcore driver but both work fine.

[INFO] RetroArch 1.19.1 (Git 0792144fe3)
[INFO] === Build =======================================
[INFO] CPU Model Name: Intel(R) Core(TM) i5-8600K CPU @ 3.60GHz
[INFO] Capabilities: MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4 SSE42 AES AVX AVX2 
[INFO] Version: 1.19.1
[INFO] Git: 0792144fe3
[INFO] Built: Jun  4 2024
[INFO] =================================================
[INFO] [Input]: Found input driver: "dinput".
[INFO] [Environ]: SET_PIXEL_FORMAT: RGB565.
[INFO] [Core]: Version of libretro API: 1, Compiled against API: 1
[INFO] [Core]: Geometry: 320x240, Aspect: 1.333, FPS: 60.00, Sample rate: 48000.00 Hz.
[INFO] [Audio]: Set audio input rate to: 48000.00 Hz.
[INFO] [Video]: Set video size to: fullscreen.
[INFO] [GL]: Found GL context: "wgl".
[INFO] [GL]: Detecting screen resolution: 1920x1080.
[INFO] [WGL]: Extensions: WGL_ARB_buffer_region WGL_ARB_create_context WGL_ARB_create_context_no_error WGL_ARB_create_context_profile WGL_ARB_create_context_robustness WGL_ARB_context_flush_control WGL_ARB_extensions_string WGL_ARB_make_current_read WGL_ARB_multisample WGL_ARB_pbuffer WGL_ARB_pixel_format WGL_ARB_pixel_format_float WGL_ARB_render_texture WGL_ATI_pixel_format_float WGL_EXT_colorspace WGL_EXT_create_context_es_profile WGL_EXT_create_context_es2_profile WGL_EXT_extensions_string WGL_EXT_framebuffer_sRGB WGL_EXT_pixel_format_packed_float WGL_EXT_swap_control WGL_EXT_swap_control_tear WGL_NVX_DX_interop WGL_NV_DX_interop WGL_NV_DX_interop2 WGL_NV_copy_image WGL_NV_delay_before_swap WGL_NV_float_buffer WGL_NV_multisample_coverage WGL_NV_multigpu_context WGL_NV_render_depth_texture WGL_NV_render_texture_rectangle 
[INFO] [WGL]: Adaptive VSync supported.
[INFO] [GL]: Vendor: NVIDIA Corporation, Renderer: NVIDIA GeForce GTX 1080/PCIe/SSE2.
[INFO] [GL]: Version: 4.6.0 NVIDIA 555.99.
[INFO] [GL]: Using resolution 1920x1080.
[INFO] [GL]: Default shader backend found: glsl.
[INFO] [Shader driver]: Using GLSL shader backend.
[INFO] [GLSL]: Checking GLSL shader support ...
[WARN] [GL]: Stock GLSL shaders will be used.
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GL]: Using 4 textures.
[INFO] [GL]: Loaded 1 program(s).
[INFO] [GL]: Using GL_RGB565 for texture uploads.
[INFO] [XInput]: Found XInput v1.4.
[INFO] [Joypad]: Found joypad driver: "dinput".
[INFO] [Video]: Found display server: "win32".
[INFO] [XAudio2]: Requesting 64 ms latency, using 64 ms latency.
[INFO] [Audio]: Started synchronous audio driver.
[DEBUG] [WASAPI mic]: Initialized microphone driver context.
[INFO] [Microphone]: Initialized microphone driver.
[INFO] [Display]: Found display driver: "gl".
[INFO] [MIDI]: Output device: "Microsoft GS Wavetable Synth".
[INFO] [Playlist]: Loading history file: "D:\Steam\steamapps\common\RetroArch\content_history.lpl".
[INFO] [Playlist]: Loading history file: "D:\Steam\steamapps\common\RetroArch\content_music_history.lpl".
[INFO] [Playlist]: Loading history file: "D:\Steam\steamapps\common\RetroArch\content_video_history.lpl".
[INFO] [Playlist]: Loading history file: "D:\Steam\steamapps\common\RetroArch\content_image_history.lpl".
[INFO] [Playlist]: Loading favorites file: "D:\Steam\steamapps\common\RetroArch\content_favorites.lpl".
[DEBUG] [Audio]: Started audio driver "xaudio" (is_shutdown=false)
[DEBUG] [Audio]: Stopped audio driver "xaudio"
[INFO] [Updater]: Download "f2216141914517b982c24a16fe286fae.png".
[INFO] [Environ]: SET_SUBSYSTEM_INFO.
[DEBUG] Subsystem ID: 0
Special game type: Slot 1 & 2 Boot
  Ident: gba
  ID: 1
  Content:
[DEBUG]     Nintendo DS (Slot 1) (required)
[DEBUG]     GBA (Slot 2) (required)
[DEBUG]     GBA Save Data (optional)
[DEBUG] Subsystem ID: 1
Special game type: Slot 1 & 2 Boot (No GBA Save Data)
  Ident: gbanosav
  ID: 2
  Content:
[DEBUG]     Nintendo DS (Slot 1) (required)
[DEBUG]     GBA (Slot 2) (required)
[DEBUG] Subsystems: 2
[INFO] [Content]: Updating firmware status for: "D:\Steam\steamapps\common\RetroArch\cores\melondsds_libretro.dll" on "D:\Steam\steamapps\common\RetroArch\system".
[INFO] [Core]: Using content: "D:\Steam\steamapps\common\RetroArch\downloads\Dragon Quest IX - Sentinels of the Starry Skies (Europe) (En,Fr,De,Es,It).nds".
[INFO] [Core]: Content ran for a total of: 00 hours, 00 minutes, 00 seconds.
[INFO] [Core]: Unloading core..
[INFO] [Core]: Unloading core symbols..
[DEBUG] [Video]: Does not have enough samples for monitor refresh rate estimation. Requires to run for at least 4096 frames.
[INFO] RetroArch 1.19.1 (Git 0792144fe3)
[INFO] === Build =======================================
[INFO] CPU Model Name: Intel(R) Core(TM) i5-8600K CPU @ 3.60GHz
[INFO] Capabilities: MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4 SSE42 AES AVX AVX2 
[INFO] Version: 1.19.1
[INFO] Git: 0792144fe3
[INFO] Built: Jun  4 2024
[INFO] =================================================
[INFO] [Input]: Found input driver: "dinput".
[INFO] [Core]: Loading dynamic libretro core from: "D:\Steam\steamapps\common\RetroArch\cores\melondsds_libretro.dll"
[INFO] [Overrides]: Redirecting save file to "D:\Steam\steamapps\common\RetroArch\saves\melonDS DS\Dragon Quest IX - Sentinels of the Starry Skies (Europe) (En,Fr,De,Es,It).srm".
[INFO] [Overrides]: Redirecting save state to "D:\Steam\steamapps\common\RetroArch\states\melonDS DS\Dragon Quest IX - Sentinels of the Starry Skies (Europe) (En,Fr,De,Es,It).state".
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_UPDATE_DISPLAY_CALLBACK.
[INFO] [Environ]: RETRO_ENVIRONMENT_SET_CONTENT_INFO_OVERRIDE.
[INFO] [Content Override]: File Extension: 'srm' - need_fullpath: TRUE, persistent_data: FALSE
[INFO] [Content Override]: File Extension: 'sav' - need_fullpath: TRUE, persistent_data: FALSE
[INFO] [Content Override]: File Extension: 'nds' - need_fullpath: FALSE, persistent_data: TRUE
[INFO] [Content Override]: File Extension: 'dsi' - need_fullpath: FALSE, persistent_data: TRUE
[INFO] [Content Override]: File Extension: 'ids' - need_fullpath: FALSE, persistent_data: TRUE
[INFO] [Content Override]: File Extension: 'gba' - need_fullpath: FALSE, persistent_data: TRUE
[INFO] [Environ]: SET_CONTROLLER_INFO.
[DEBUG]    Port 1:
[DEBUG]       "Nintendo DS" (1)
[INFO] [Environ]: SET_SUPPORT_ACHIEVEMENTS: yes.
[INFO] [Environ]: GET_LOG_INTERFACE.
[libretro DEBUG] retro_set_environment(0x4109b0)
[INFO] [Environ]: UNSUPPORTED (#33).
[INFO] [Environ]: GET_MESSAGE_INTERFACE_VERSION.
[libretro DEBUG] Frontend report a message API version 1
[INFO] [Environ]: SAVE_DIRECTORY: "D:\Steam\steamapps\common\RetroArch\saves\melonDS DS".
[libretro INFO] Save directory: "D:/Steam/steamapps/common/RetroArch/saves/melonDS DS"
[libretro INFO] melonDS DS save subdirectory: "D:/Steam/steamapps/common/RetroArch/saves/melonDS DS"
[INFO] [Environ]: SYSTEM_DIRECTORY: "D:\Steam\steamapps\common\RetroArch\system".
[libretro INFO] System directory: "D:/Steam/steamapps/common/RetroArch/system"
[libretro INFO] melonDS DS system subdirectory: "D:/Steam/steamapps/common/RetroArch/system/melonDS DS"
[DEBUG] [Environ]: SET_SUBSYSTEM_INFO.
[DEBUG] Special game type: Slot 1 & 2 Boot
  Ident: gba
  ID: 1
  Content:
[DEBUG]     Nintendo DS (Slot 1) (required)
[DEBUG]     GBA (Slot 2) (required)
[DEBUG]     GBA Save Data (optional)
[DEBUG] Special game type: Slot 1 & 2 Boot (No GBA Save Data)
  Ident: gbanosav
  ID: 2
  Content:
[DEBUG]     Nintendo DS (Slot 1) (required)
[DEBUG]     GBA (Slot 2) (required)
[INFO] [Environ]: GET_VFS_INTERFACE. Core requested version >= V3, providing V3.
[libretro DEBUG] Requested VFS interface version 3, got 3
[INFO] [Environ]: SET_SUPPORT_NO_GAME: yes.
[INFO] [Remaps]: Core-specific remap found at "D:\Steam\steamapps\common\RetroArch\config\remaps\melonDS DS\melonDS DS.rmp".
[libretro DEBUG] Frontend supports no-game mode.[libretro DEBUG] Power state available[libretro DEBUG] retro_init
[libretro INFO] melonDS DS 1.1.2
[INFO] [Environ]: RETRO_ENVIRONMENT_GET_MICROPHONE_INTERFACE.
[libretro DEBUG] Microphone support available (version 1)[INFO] [Content]: Loading content file: "D:\Steam\steamapps\common\RetroArch\downloads\Dragon Quest IX - Sentinels of the Starry Skies (Europe) (En,Fr,De,Es,It).nds".
[libretro DEBUG] retro_load_game("D:\Steam\steamapps\common\RetroArch\downloads\Dragon Quest IX - Sentinels of the Starry Skies (Europe) (En,Fr,De,Es,It).nds", 268435456)
[INFO] [Environ]: SET_PIXEL_FORMAT: XRGB8888.
[libretro DEBUG] D:/Steam/steamapps/common/RetroArch/system/bios7.bin is not a known firmware size (found 16384 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] D:/Steam/steamapps/common/RetroArch/system/bios9.bin is not a known firmware size (found 4096 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] D:/Steam/steamapps/common/RetroArch/system/BIOSGBA.ROM is not a known firmware size (found 16384 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] D:/Steam/steamapps/common/RetroArch/system/firmware.bin.bak is a backup file, not counting it as firmware
[libretro DEBUG] D:/Steam/steamapps/common/RetroArch/system/key.cfg is not a known firmware size (found 13 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] D:/Steam/steamapps/common/RetroArch/system/mupen64plus.ini is not a known firmware size (found 455032 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] Found a firmware image at "D:/Steam/steamapps/common/RetroArch/system/firmware.bin"
[libretro ERROR] [melonDS] PCap: init failed
[libretro WARN] Failed to enumerate Wi-fi adapters
[INFO] [Environ]: GET_CORE_OPTIONS_VERSION.
[libretro DEBUG] Frontend reports core options version: 2
[INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_V2.
[libretro DEBUG] V2 core options set successfully
[DEBUG] [Environ]: GET_VARIABLE: melonds_console_mode = "ds"
[DEBUG] [Environ]: GET_VARIABLE: melonds_boot_mode = "direct"
[DEBUG] [Environ]: GET_VARIABLE: melonds_sysfile_mode = "native"
[DEBUG] [Environ]: GET_VARIABLE: melonds_ds_battery_ok_threshold = "20"
[DEBUG] [Environ]: GET_VARIABLE: melonds_battery_update_interval = "15"
[DEBUG] [Environ]: GET_VARIABLE: melonds_start_time_mode = "real"
[DEBUG] [Environ]: GET_VARIABLE: melonds_start_time_relative_year_offset = "0"
[DEBUG] [Environ]: GET_VARIABLE: melonds_start_time_relative_day_offset = "0"
[DEBUG] [Environ]: GET_VARIABLE: melonds_start_time_relative_hour_offset = "0"
[DEBUG] [Environ]: GET_VARIABLE: melonds_start_time_relative_minute_offset = "0"
[DEBUG] [Environ]: GET_VARIABLE: melonds_start_time_absolute_year = "2004"
[DEBUG] [Environ]: GET_VARIABLE: melonds_start_time_absolute_month = "1"
[DEBUG] [Environ]: GET_VARIABLE: melonds_start_time_absolute_day = "1"
[DEBUG] [Environ]: GET_VARIABLE: melonds_start_time_absolute_hour = "0"
[DEBUG] [Environ]: GET_VARIABLE: melonds_start_time_absolute_minute = "0"
[DEBUG] [Environ]: GET_VARIABLE: melonds_show_unsupported_features = "enabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_show_mic_state = "disabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_show_camera_state = "enabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_show_bios_warnings = "enabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_show_current_layout = "disabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_show_lid_state = "enabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_jit_enable = "enabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_jit_block_size = "32"
[DEBUG] [Environ]: GET_VARIABLE: melonds_jit_branch_optimisations = "enabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_jit_literal_optimisations = "enabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_jit_fast_memory = "enabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_homebrew_readonly = "disabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_homebrew_sync_sdcard_to_host = "disabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_homebrew_sdcard = "enabled"
[libretro INFO] No homebrew SD card image found at "D:/Steam/steamapps/common/RetroArch/saves/melonDS DS/dldi_sd_card.bin"; will create an image.
[DEBUG] [Environ]: GET_VARIABLE: melonds_dsi_sdcard_readonly = "disabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_dsi_sdcard_sync_sdcard_to_host = "disabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_dsi_sdcard = "enabled"
[libretro INFO] No DSi SD card image found at "D:/Steam/steamapps/common/RetroArch/saves/melonDS DS/dsi_sd_card.bin"; will create an image.
[DEBUG] [Environ]: GET_VARIABLE: melonds_dsi_nand_path = "/notfound"
[DEBUG] [Environ]: GET_VARIABLE: melonds_firmware_nds_path = "firmware.bin"
[DEBUG] [Environ]: GET_VARIABLE: melonds_firmware_dsi_path = "firmware.bin"
[DEBUG] [Environ]: GET_VARIABLE: melonds_firmware_language = "auto"
[DEBUG] [Environ]: GET_VARIABLE: melonds_firmware_favorite_color = "12"
[DEBUG] [Environ]: GET_VARIABLE: melonds_firmware_username = "guess_username"
[DEBUG] [Environ]: GET_VARIABLE: melonds_firmware_enable_alarm = "default"
[DEBUG] [Environ]: GET_VARIABLE: melonds_firmware_alarm_hour = "default"
[DEBUG] [Environ]: GET_VARIABLE: melonds_firmware_alarm_minute = "default"
[DEBUG] [Environ]: GET_VARIABLE: melonds_firmware_birth_month = "3"
[DEBUG] [Environ]: GET_VARIABLE: melonds_firmware_birth_day = "18"
[DEBUG] [Environ]: GET_VARIABLE: melonds_firmware_wfc_dns = "178.62.43.212"
[DEBUG] [Environ]: GET_VARIABLE: melonds_mic_input_active = "hold"
[DEBUG] [Environ]: GET_VARIABLE: melonds_mic_input = "microphone"
[DEBUG] [Environ]: GET_VARIABLE: melonds_audio_bitdepth = "auto"
[DEBUG] [Environ]: GET_VARIABLE: melonds_audio_interpolation = "disabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_network_mode = "indirect"
[DEBUG] [Environ]: GET_VARIABLE: melonds_direct_network_interface = "auto"
[DEBUG] [Environ]: GET_VARIABLE: melonds_screen_gap = "0"
[DEBUG] [Environ]: GET_VARIABLE: melonds_cursor_timeout = "3"
[DEBUG] [Environ]: GET_VARIABLE: melonds_touch_mode = "auto"
[DEBUG] [Environ]: GET_VARIABLE: melonds_show_cursor = "timeout"
[DEBUG] [Environ]: GET_VARIABLE: melonds_hybrid_ratio = "3"
[DEBUG] [Environ]: GET_VARIABLE: melonds_hybrid_small_screen = "one"
[DEBUG] [Environ]: GET_VARIABLE: melonds_number_of_screen_layouts = "2"
[DEBUG] [Environ]: GET_VARIABLE: melonds_screen_layout1 = "top-bottom"
[DEBUG] [Environ]: GET_VARIABLE: melonds_screen_layout2 = "hybrid-top"
[DEBUG] [Environ]: GET_VARIABLE: melonds_screen_layout3 = "top"
[DEBUG] [Environ]: GET_VARIABLE: melonds_screen_layout4 = "bottom"
[DEBUG] [Environ]: GET_VARIABLE: melonds_screen_layout5 = "hybrid-top"
[DEBUG] [Environ]: GET_VARIABLE: melonds_screen_layout6 = "hybrid-bottom"
[DEBUG] [Environ]: GET_VARIABLE: melonds_screen_layout7 = "bottom-top"
[DEBUG] [Environ]: GET_VARIABLE: melonds_screen_layout8 = "right-left"
[DEBUG] [Environ]: GET_VARIABLE: melonds_opengl_filtering = "nearest"
[DEBUG] [Environ]: GET_VARIABLE: melonds_threaded_renderer = "enabled"
[DEBUG] [Environ]: GET_VARIABLE: melonds_render_mode = "opengl"
[DEBUG] [Environ]: GET_VARIABLE: melonds_opengl_resolution = "3"
[DEBUG] [Environ]: GET_VARIABLE: melonds_opengl_better_polygons = "disabled"
[libretro DEBUG] bool MelonDsDs::CoreOptionVisibility::Update()
[DEBUG] [Environ]: GET_VARIABLE: melonds_mic_input = "microphone"
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: GET_VARIABLE: melonds_render_mode = "opengl"
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: GET_VARIABLE: melonds_console_mode = "ds"
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: GET_VARIABLE: melonds_dsi_sdcard = "enabled"
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: GET_VARIABLE: melonds_homebrew_sdcard = "enabled"
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: GET_VARIABLE: melonds_show_cursor = "timeout"
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: GET_VARIABLE: melonds_number_of_screen_layouts = "2"
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: GET_VARIABLE: melonds_screen_layout1 = "top-bottom"
[DEBUG] [Environ]: GET_VARIABLE: melonds_screen_layout2 = "hybrid-top"
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: GET_VARIABLE: melonds_firmware_enable_alarm = "default"
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: GET_VARIABLE: melonds_jit_enable = "enabled"
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: GET_VARIABLE: melonds_network_mode = "indirect"
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: GET_VARIABLE: melonds_start_time_mode = "real"
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[libretro DEBUG] MelonDsDs::OpenGLRenderState::OpenGLRenderState()
[INFO] [Environ]: SET_HW_RENDER, context type: glcore.
[INFO] Requesting core OpenGL context (3.2).
[DEBUG] Reached end of SET_HW_RENDER.
[libretro DEBUG] OpenGL context requested. Current framebuffer: 0
[libretro DEBUG] Initialized OpenGL render state
[DEBUG] [Environ]: SET_ROTATION: 0
[INFO] [Microphone]: Microphone requested before driver context was ready; deferring initialization.
[libretro INFO] Loaded DS Lite firmware from "D:/Steam/steamapps/common/RetroArch/system/firmware.bin" (Identifier: MACh)
[libretro ERROR] Failed to open ARM7 file "D:/Steam/steamapps/common/RetroArch/system/melonDS DS/bios7.bin" for reading
[libretro INFO] Successfully loaded 16384-byte ARM7 file "D:/Steam/steamapps/common/RetroArch/system/bios7.bin"
[libretro ERROR] Failed to open ARM9 file "D:/Steam/steamapps/common/RetroArch/system/melonDS DS/bios9.bin" for reading
[libretro INFO] Successfully loaded 4096-byte ARM9 file "D:/Steam/steamapps/common/RetroArch/system/bios9.bin"
[libretro DEBUG] Installed native ARM7 and ARM9 NDS BIOS images
[INFO] [Environ]: GET_USERNAME: "".
[INFO] [Environ]: GET_LANGUAGE: "0".
[libretro DEBUG] Parsed NDS ROM: "D:\Steam\steamapps\common\RetroArch\downloads\Dragon Quest IX - Sentinels of the Starry Skies (Europe) (En,Fr,De,Es,It).nds"
[libretro DEBUG] Initialized indirect-mode Wi-fi support[libretro DEBUG] [melonDS] Re-encrypting cart secure area
[libretro DEBUG] [melonDS] NDSCart: Initialized Key1_KeyBuf from memory
[libretro DEBUG] [melonDS] NDSCart: Initialized Key1_KeyBuf from memory
[libretro DEBUG] [melonDS] Re-encrypted cart secure area
[libretro INFO] [melonDS] Inserted cart with game code: YDQP
[libretro INFO] [melonDS] Inserted cart with ID: 0000FFC2
[libretro INFO] [melonDS] ROM entry: 10000000 00000003
[libretro DEBUG] Allocated 65536-byte SRAM buffer for loaded NDS ROM.
[libretro INFO] No GBA SRAM was provided.
[INFO] [Environ]: GET_MESSAGE_INTERFACE_VERSION.
[INFO] [Environ]: SET_INPUT_DESCRIPTORS:
[DEBUG]    Port 1:
[DEBUG]       "D-Pad Up" => "Up"
[DEBUG]       "D-Pad Down" => "Down"
[DEBUG]       "D-Pad Left" => "Left"
[DEBUG]       "D-Pad Right" => "Right"
[DEBUG]       "B Button (Down)" => "B"
[DEBUG]       "A Button (Right)" => "A"
[DEBUG]       "Y Button (Left)" => "Y"
[DEBUG]       "X Button (Top)" => "X"
[DEBUG]       "Select Button" => "Select"
[DEBUG]       "Start Button" => "Start"
[DEBUG]       "L Button (Shoulder)" => "L"
[DEBUG]       "R Button (Shoulder)" => "R"
[DEBUG]       "L2 Button (Trigger)" => "Microphone"
[DEBUG]       "R2 Button (Trigger)" => "Next Screen Layout"
[DEBUG]       "L3 Button (Thumb)" => "Close Lid"
[DEBUG]       "R3 Button (Thumb)" => "Touch Joystick"
[DEBUG]    Port 2:
[DEBUG]    Port 3:
[DEBUG]    Port 4:
[DEBUG]    Port 5:
[DEBUG]    Port 6:
[DEBUG]    Port 7:
[DEBUG]    Port 8:
[libretro INFO] Deferring initialization until the OpenGL context is ready
[INFO] [RCHEEVOS]: Using host: https://retroachievements.org
[INFO] [RCHEEVOS]: Unofficial disabled
[INFO] [RCHEEVOS]: Encore mode disabled
[INFO] [RCHEEVOS]: Spectator mode disabled
[INFO] [RCHEEVOS]: Load started, hardcore active
[INFO] [RCHEEVOS]: Attempting to log in Socktopus (with token)
[INFO] [RCHEEVOS]: Identifying game: 268435456 bytes at 000000001F2C8040 (D:\Steam\steamapps\common\RetroArch\downloads\Dragon Quest IX - Sentinels of the Starry Skies (Europe) (En,Fr,De,Es,It).nds)
[INFO] [RCHEEVOS]: Found 1 potential consoles for nds file extension
[INFO] [RCHEEVOS]: Trying console 18
[INFO] [RCHEEVOS]: Opened [buffered file]
[INFO] [RCHEEVOS]: Hashing 352 byte header
[INFO] [RCHEEVOS]: Hashing 638216 byte arm9 code (at 00004000)
[INFO] [RCHEEVOS]: Hashing 167876 byte arm7 code (at 001E2400)
[INFO] [RCHEEVOS]: Hashing 2560 byte icon and labels data (at 00230400)
[INFO] [RCHEEVOS]: Generated hash ebb3e9ee86d520f624ffc701a912779b
[libretro DEBUG] retro_get_memory_data(RETRO_MEMORY_SAVE_RAM)[libretro DEBUG] retro_get_memory_data(RETRO_MEMORY_RTC)[libretro DEBUG] retro_get_memory_data(RETRO_MEMORY_SAVE_RAM)[libretro DEBUG] retro_get_memory_data(RETRO_MEMORY_RTC)[INFO] [Core]: Version of libretro API: 1, Compiled against API: 1
[libretro DEBUG] void retro_get_system_av_info(retro_system_av_info*)
[libretro DEBUG] retro_get_system_av_info finished
[INFO] [Core]: Geometry: 768x1152, Aspect: 0.667, FPS: 59.90, Sample rate: 32768.00 Hz.
[INFO] [Audio]: Set audio input rate to: 32823.63 Hz.
[INFO] [Video]: Set video size to: fullscreen.
[INFO] [Video]: Using HW render, glcore driver forced.
[INFO] [GLCore]: Found GL context: "wgl".
[INFO] [GLCore]: Detecting screen resolution: 1920x1080.
[INFO] [WGL]: Extensions: WGL_ARB_buffer_region WGL_ARB_create_context WGL_ARB_create_context_no_error WGL_ARB_create_context_profile WGL_ARB_create_context_robustness WGL_ARB_context_flush_control WGL_ARB_extensions_string WGL_ARB_make_current_read WGL_ARB_multisample WGL_ARB_pbuffer WGL_ARB_pixel_format WGL_ARB_pixel_format_float WGL_ARB_render_texture WGL_ATI_pixel_format_float WGL_EXT_colorspace WGL_EXT_create_context_es_profile WGL_EXT_create_context_es2_profile WGL_EXT_extensions_string WGL_EXT_framebuffer_sRGB WGL_EXT_pixel_format_packed_float WGL_EXT_swap_control WGL_EXT_swap_control_tear WGL_NVX_DX_interop WGL_NV_DX_interop WGL_NV_DX_interop2 WGL_NV_copy_image WGL_NV_delay_before_swap WGL_NV_float_buffer WGL_NV_multisample_coverage WGL_NV_multigpu_context WGL_NV_render_depth_texture WGL_NV_render_texture_rectangle 
[INFO] [WGL]: Adaptive VSync supported.
[INFO] [GLCore]: Initializing HW render (16384x16384).
[INFO] [GLCore]: Max texture size: 32768 px, renderbuffer size: 32768 px.
[INFO] [GLCore]: Vendor: NVIDIA Corporation, Renderer: NVIDIA GeForce GTX 1080/PCIe/SSE2.
[INFO] [GLCore]: Version: 4.6.0 NVIDIA 555.99.
[INFO] [GLCore]: Using resolution 1920x1080.
[INFO] [Joypad]: Found joypad driver: "dinput".
[INFO] [GLCore]: Loading stock shader.
[INFO] [slang]: Building pass #0 (N/A)
[INFO] [GLCore]: Not using frame history.
[INFO] [GLCore]: Not using framebuffer feedback.
[INFO] [Video]: Found display server: "win32".
[libretro DEBUG] void MelonDsDs::OpenGLRenderState::ContextReset(melonDS::NDS&, const MelonDsDs::CoreConfig&)
[libretro DEBUG] Initializing OpenGL function pointers
[libretro INFO] OpenGL version: 4.6.0 NVIDIA 555.99
[libretro INFO] OpenGL vendor: NVIDIA Corporation
[libretro INFO] OpenGL renderer: NVIDIA GeForce GTX 1080/PCIe/SSE2
[libretro DEBUG] Current OpenGL framebuffer: 1
[libretro DEBUG] Framebuffer status: GL_FRAMEBUFFER_COMPLETE
[libretro DEBUG] Setting up GL state
[libretro DEBUG] Set up GL state
[libretro DEBUG] Binding GL state
[libretro DEBUG] Bound GL state
[libretro DEBUG] Constructed OpenGL renderer
[libretro DEBUG] Applied OpenGL renderer settings
[libretro DEBUG] Installed OpenGL renderer
[libretro DEBUG] void MelonDsDs::OpenGLRenderState::SetUpCoreOpenGlState(const MelonDsDs::CoreConfig&)
[libretro DEBUG] OpenGL debugging extensions are available
[libretro DEBUG] Initialized core OpenGL state
[libretro DEBUG] Unbound GL state
[libretro DEBUG] OpenGL context reset successfully.
[INFO] [XAudio2]: Requesting 64 ms latency, using 64 ms latency.
[INFO] [Audio]: Started synchronous audio driver.
[DEBUG] [WASAPI mic]: Initialized microphone driver context.
[INFO] [Microphone]: Initialized microphone driver.
[DEBUG] [WASAPI]: Initializing default eCapture device..
[DEBUG] [WASAPI]: Requesting shared 16-bit 1-channel client with WAVE_FORMAT_PCM samples at 44100Hz 64ms.
[DEBUG] [WASAPI]: Windows suggests a format of (KSDATAFORMAT_SUBTYPE_IEEE_FLOAT, 2-channel, 48000Hz).
[DEBUG] [WASAPI]: Default device period is 10.0ms.
[DEBUG] [WASAPI]: Minimum device period is 3.0ms.
[DEBUG] [WASAPI]: Shared stream latency is 0.0ms.
[DEBUG] [WASAPI]: Endpoint buffer size is 3072 frames (3072 samples, 12288 bytes, 64.0 ms).
[INFO] [WASAPI]: Client initialized (shared, FLOAT, 48000Hz, 64.0ms).
[INFO] [WASAPI]: Intermediate shared-mode capture buffer length is 960 frames (20.0ms, 3840 bytes).
[INFO] [WASAPI mic]: Stopped capture device "Mic in at front panel (Pink) (Realtek(R) Audio)".
[INFO] [Microphone]: Disabled microphone.
[INFO] [Microphone]: Requested microphone sample rate of 44100Hz, got 48000Hz.
[INFO] [Microphone]: Initialized microphone.
[DEBUG] [Microphone]: Initialized a previously-pending microphone.
[INFO] [Display]: Found display driver: "glcore".
[libretro DEBUG] Frontend report a message API version 1
[INFO] [Environ]: SET_SUBSYSTEM_INFO.
[DEBUG] Subsystem ID: 0
Special game type: Slot 1 & 2 Boot
  Ident: gba
  ID: 1
  Content:
[DEBUG]     Nintendo DS (Slot 1) (required)
[DEBUG]     GBA (Slot 2) (required)
[DEBUG]     GBA Save Data (optional)
[DEBUG] Subsystem ID: 1
Special game type: Slot 1 & 2 Boot (No GBA Save Data)
  Ident: gbanosav
  ID: 2
  Content:
[DEBUG]     Nintendo DS (Slot 1) (required)
[DEBUG]     GBA (Slot 2) (required)
[DEBUG] Subsystems: 2
[libretro WARN] Could not get VFS interface 3, falling back to libretro-common defaults
[libretro DEBUG] Frontend report a message API version 1
[libretro WARN] Could not get VFS interface 3, falling back to libretro-common defaults
[INFO] [MIDI]: Output device: "Microsoft GS Wavetable Synth".
[libretro DEBUG] retro_set_controller_port_device(0, RETRO_DEVICE_JOYPAD)
[INFO] [Playlist]: Loading history file: "D:\Steam\steamapps\common\RetroArch\content_history.lpl".
[INFO] [Playlist]: Loading history file: "D:\Steam\steamapps\common\RetroArch\content_music_history.lpl".
[INFO] [Playlist]: Loading history file: "D:\Steam\steamapps\common\RetroArch\content_video_history.lpl".
[INFO] [Playlist]: Loading history file: "D:\Steam\steamapps\common\RetroArch\content_image_history.lpl".
[INFO] [Playlist]: Loading favorites file: "D:\Steam\steamapps\common\RetroArch\content_favorites.lpl".
[DEBUG] [Audio]: Started audio driver "xaudio" (is_shutdown=false)
[INFO] [Microphone]: Enabled microphone.
[DEBUG] [Microphone]: Started a microphone that was enabled when the driver was last stopped.
[INFO] [RCHEEVOS]: Login failed: Invalid user/token combination.
[INFO] [RCHEEVOS]: RetroAchievements login failed: Invalid user/token combination.
[INFO] [RCHEEVOS]: Identified game: 9093 (ebb3e9ee86d520f624ffc701a912779b)
[INFO] [RCHEEVOS]: Load failed (-28): Login required
[INFO] [RCHEEVOS]: RetroAchievements game load failed: Login required
[libretro DEBUG] Starting deferred initialization
[libretro DEBUG] void MelonDsDs::CoreState::StartConsole()
[libretro DEBUG] [melonDS] Resetting JIT block cache...
[libretro DEBUG] [melonDS] done resetting jit mem
[libretro DEBUG] [melonDS] done resetting jit mem
[libretro INFO] [melonDS] MAC: 00:16:56:83:31:F9
[libretro DEBUG] [melonDS] FW: WIFI CRC16 = GOOD
[libretro DEBUG] [melonDS] FW: AP1 CRC16 = GOOD
[libretro DEBUG] [melonDS] FW: AP2 CRC16 = GOOD
[libretro DEBUG] [melonDS] FW: AP3 CRC16 = GOOD
[libretro DEBUG] [melonDS] FW: USER0 CRC16 = GOOD
[libretro DEBUG] [melonDS] FW: USER1 CRC16 = GOOD
[libretro DEBUG] Starting the RTC at 2024-06-13 08:35:08 PM (local time)
[libretro DEBUG] [melonDS] remapping SWRAM
[libretro DEBUG] [melonDS] NDSCart: Initialized Key1_KeyBuf from memory
[libretro DEBUG] [melonDS] NDSCart: Initialized Key1_KeyBuf from memory
[libretro INFO] [melonDS] Secure area decryption OK
[libretro DEBUG] [melonDS] remapping DTCM 0 1000 ffffffff ffffffff
[libretro DEBUG] [melonDS] PU: region 0 = 04000033 : enabled, 04000000-08000000
[libretro DEBUG] [melonDS] PU: region 0 = 04000033 : enabled, 04000000-08000000
[libretro DEBUG] [melonDS] PU: region 1 = 0200002B : enabled, 02000000-02400000
[libretro DEBUG] [melonDS] PU: region 1 = 0200002B : enabled, 02000000-02400000
[libretro DEBUG] [melonDS] PU: region 2 = 00000000 : disabled, 00000000-00000002
[libretro DEBUG] [melonDS] PU: region 2 = 00000000 : disabled, 00000000-00000002
[libretro DEBUG] [melonDS] PU: region 3 = 08000035 : enabled, 08000000-10000000
[libretro DEBUG] [melonDS] PU: region 3 = 08000035 : enabled, 08000000-10000000
[libretro DEBUG] [melonDS] PU: region 4 = 0300001B : enabled, 03000000-03004000
[libretro DEBUG] [melonDS] PU: region 4 = 0300001B : enabled, 03000000-03004000
[libretro DEBUG] [melonDS] PU: region 5 = 00000000 : disabled, 00000000-00000002
[libretro DEBUG] [melonDS] PU: region 5 = 00000000 : disabled, 00000000-00000002
[libretro DEBUG] [melonDS] PU: region 6 = FFFF001D : enabled, FFFF0000-FFFF8000
[libretro DEBUG] [melonDS] PU: region 6 = FFFF001D : enabled, FFFF0000-FFFF8000
[libretro DEBUG] [melonDS] PU: region 7 = 027FF017 : enabled, 027FF000-02800000
[libretro DEBUG] [melonDS] PU: region 7 = 027FF017 : enabled, 027FF000-02800000
[libretro DEBUG] [melonDS] remapping DTCM 3000000 3004000 0 fffff000
[libretro INFO] [melonDS] Game is now booting
[libretro DEBUG] Initialized direct boot for "Dragon Quest IX - Sentinels of the Starry Skies (Europe) (En,Fr,De,Es,It).nds"
[libretro INFO] Started emulated console
[libretro DEBUG] Completed deferred initialization
[libretro DEBUG] Installed 65536-byte SRAM
[DEBUG] [Environ]: SET_ROTATION: 0
[INFO] [Environ]: SET_GEOMETRY.
[libretro DEBUG] [melonDS] remapping DTCM ffffffff ffffffff 3000000 2ffc000
[libretro DEBUG] [melonDS] PU: region 0 = 04000033 : enabled, 04000000-08000000
[libretro DEBUG] [melonDS] PU: region 1 = 0200002D : enabled, 02000000-02800000
[libretro DEBUG] [melonDS] PU: region 2 = 027E0021 : enabled, 027E0000-02800000
[libretro DEBUG] [melonDS] PU: region 3 = 08000035 : enabled, 08000000-10000000
[libretro DEBUG] [melonDS] PU: region 4 = 027E001B : enabled, 027E0000-027E4000
[libretro DEBUG] [melonDS] PU: region 5 = 0100002F : enabled, 01000000-02000000
[libretro DEBUG] [melonDS] PU: region 6 = FFFF001D : enabled, FFFF0000-FFFF8000
[libretro DEBUG] [melonDS] PU: region 7 = 027FF017 : enabled, 027FF000-02800000
[libretro DEBUG] [melonDS] remapping DTCM 27e0000 27e4000 ffffffff ffffffff
[libretro DEBUG] [melonDS] unmapping 9 3800000 10000 1 0
[libretro DEBUG] [melonDS] PU region 0: 04000000-08000000, user=00 priv=07, 15111011/05100011
[libretro DEBUG] [melonDS] PU region 1: 02000000-02800000, user=70 priv=77, 15111011/05100011
[libretro DEBUG] [melonDS] PU region 2: 027E0000-02800000, user=00 priv=00, 15111011/05100011
[libretro DEBUG] [melonDS] PU region 3: 08000000-10000000, user=00 priv=03, 15111011/05100011
[libretro DEBUG] [melonDS] PU region 4: 027E0000-027E4000, user=00 priv=03, 15111011/05100011
[libretro DEBUG] [melonDS] PU region 5: 01000000-02000000, user=00 priv=07, 15111011/05100011
[libretro DEBUG] [melonDS] PU region 6: FFFF0000-FFFF8000, user=50 priv=55, 15111011/05100011
[libretro DEBUG] [melonDS] PU region 7: 027FF000-02800000, user=00 priv=03, 15111011/05100011
[libretro DEBUG] [melonDS] PU: region 1 = 0200002B : enabled, 02000000-02400000
[libretro DEBUG] [melonDS] PU region 0: 04000000-08000000, user=00 priv=07, 15111011/05100011
[libretro DEBUG] [melonDS] PU region 1: 02000000-02400000, user=70 priv=77, 15111011/05100011
[libretro DEBUG] [melonDS] PU region 2: 027E0000-02800000, user=00 priv=00, 15111011/05100011
[libretro DEBUG] [melonDS] PU region 3: 08000000-10000000, user=00 priv=03, 15111011/05100011
[libretro DEBUG] [melonDS] PU region 4: 027E0000-027E4000, user=00 priv=03, 15111011/05100011
[libretro DEBUG] [melonDS] PU region 5: 01000000-02000000, user=00 priv=07, 15111011/05100011
[libretro DEBUG] [melonDS] PU region 6: FFFF0000-FFFF8000, user=50 priv=55, 15111011/05100011
[libretro DEBUG] [melonDS] PU region 7: 027FF000-02800000, user=00 priv=03, 15111011/05100011
[libretro DEBUG] [melonDS] PU: region 2 = 023E0021 : enabled, 023E0000-02400000
[libretro DEBUG] [melonDS] PU region 0: 04000000-08000000, user=00 priv=07, 15111011/05100011
[libretro DEBUG] [melonDS] PU region 1: 02000000-02400000, user=70 priv=77, 15111011/05100011
[libretro DEBUG] [melonDS] PU region 2: 023E0000-02400000, user=00 priv=00, 15111011/05100011
[libretro DEBUG] [melonDS] PU region 3: 08000000-10000000, user=00 priv=03, 15111011/05100011
[libretro DEBUG] [melonDS] PU region 4: 027E0000-027E4000, user=00 priv=03, 15111011/05100011
[libretro DEBUG] [melonDS] PU region 5: 01000000-02000000, user=00 priv=07, 15111011/05100011
[libretro DEBUG] [melonDS] PU region 6: FFFF0000-FFFF8000, user=50 priv=55, 15111011/05100011
[libretro DEBUG] [melonDS] PU region 7: 027FF000-02800000, user=00 priv=03, 15111011/05100011
[libretro DEBUG] [melonDS] PU region 3: 08000000-10000000, user=00 priv=01, 15115011/05100011
[libretro DEBUG] [melonDS] WIFI: ON
[libretro DEBUG] [melonDS] WIFI: OFF
[libretro DEBUG] [melonDS] unknown ARM9 IO write32 04001060 00000000 01FF8580
[libretro DEBUG] [melonDS] unknown ARM9 IO write32 04001064 00000000 01FF8580
[libretro DEBUG] [melonDS] unknown ARM9 IO write32 04001068 00000000 01FF8580
[DEBUG] [Audio]: Stopped audio driver "xaudio"
[INFO] [WASAPI mic]: Stopped capture device "Mic in at front panel (Pink) (Realtek(R) Audio)".
[INFO] [Core]: Content ran for a total of: 00 hours, 00 minutes, 31 seconds.
[INFO] [Runtime]: Saving runtime log file: "D:\Steam\steamapps\common\RetroArch\playlists\logs\melonDS DS\Dragon Quest IX - Sentinels of the Starry Skies (Europe) (En,Fr,De,Es,It).lrtl".
[INFO] [Core]: No content, starting dummy core.
[libretro DEBUG] retro_get_memory_data(RETRO_MEMORY_SAVE_RAM)[INFO] [SRAM]: Saving RAM type #0 to "D:\Steam\steamapps\common\RetroArch\saves\melonDS DS\Dragon Quest IX - Sentinels of the Starry Skies (Europe) (En,Fr,De,Es,It).srm".
[INFO] [SRAM]: Saved successfully to "D:\Steam\steamapps\common\RetroArch\saves\melonDS DS\Dragon Quest IX - Sentinels of the Starry Skies (Europe) (En,Fr,De,Es,It).srm".
[libretro DEBUG] retro_get_memory_data(RETRO_MEMORY_RTC)[INFO] [Core]: Content ran for a total of: 00 hours, 00 minutes, 00 seconds.
[libretro DEBUG] void MelonDsDs::OpenGLRenderState::ContextDestroyed()
[INFO] [Core]: Unloading game..
[libretro DEBUG] retro_unload_game()
[libretro DEBUG] Flushed 262144-byte firmware to "D:/Steam/steamapps/common/RetroArch/system/firmware.bin"
[libretro INFO] [melonDS] Stopping emulated console (Reason: External)
[libretro DEBUG] Platform::SignalStop(External)[libretro DEBUG] [melonDS] Resetting JIT block cache...
[libretro DEBUG] [melonDS] done resetting jit mem
[INFO] [WASAPI mic]: Stopped capture device "Mic in at front panel (Pink) (Realtek(R) Audio)".
[INFO] [Core]: Unloading core..
[libretro DEBUG] retro_deinit()
[libretro DEBUG] virtual MelonDsDs::OpenGLRenderState::~OpenGLRenderState()
[INFO] [Environ]: SET_HW_RENDER, context type: N/A.
[INFO] Requesting no HW context.
[DEBUG] Reached end of SET_HW_RENDER.
[INFO] [Core]: Unloading core symbols..
[INFO] [Core]: Saved core options file to "D:\Steam\steamapps\common\RetroArch\config\melonDS DS\melonDS DS.opt".
[DEBUG] [Video]: Does not have enough samples for monitor refresh rate estimation. Requires to run for at least 4096 frames.
[INFO] RetroArch 1.19.1 (Git 0792144fe3)
[INFO] === Build =======================================
[INFO] CPU Model Name: Intel(R) Core(TM) i5-8600K CPU @ 3.60GHz
[INFO] Capabilities: MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4 SSE42 AES AVX AVX2 
[INFO] Version: 1.19.1
[INFO] Git: 0792144fe3
[INFO] Built: Jun  4 2024
[INFO] =================================================
[INFO] [Input]: Found input driver: "dinput".
[INFO] [Environ]: SET_PIXEL_FORMAT: RGB565.
[INFO] [Core]: Version of libretro API: 1, Compiled against API: 1
[INFO] [Core]: Geometry: 320x240, Aspect: 1.333, FPS: 60.00, Sample rate: 48000.00 Hz.
[INFO] [Audio]: Set audio input rate to: 48000.00 Hz.
[INFO] [Video]: Set video size to: fullscreen.
[INFO] [GLCore]: Found GL context: "wgl".
[INFO] [GLCore]: Detecting screen resolution: 1920x1080.
[INFO] [WGL]: Extensions: WGL_ARB_buffer_region WGL_ARB_create_context WGL_ARB_create_context_no_error WGL_ARB_create_context_profile WGL_ARB_create_context_robustness WGL_ARB_context_flush_control WGL_ARB_extensions_string WGL_ARB_make_current_read WGL_ARB_multisample WGL_ARB_pbuffer WGL_ARB_pixel_format WGL_ARB_pixel_format_float WGL_ARB_render_texture WGL_ATI_pixel_format_float WGL_EXT_colorspace WGL_EXT_create_context_es_profile WGL_EXT_create_context_es2_profile WGL_EXT_extensions_string WGL_EXT_framebuffer_sRGB WGL_EXT_pixel_format_packed_float WGL_EXT_swap_control WGL_EXT_swap_control_tear WGL_NVX_DX_interop WGL_NV_DX_interop WGL_NV_DX_interop2 WGL_NV_copy_image WGL_NV_delay_before_swap WGL_NV_float_buffer WGL_NV_multisample_coverage WGL_NV_multigpu_context WGL_NV_render_depth_texture WGL_NV_render_texture_rectangle 
[INFO] [WGL]: Adaptive VSync supported.
[INFO] [GLCore]: Vendor: NVIDIA Corporation, Renderer: NVIDIA GeForce GTX 1080/PCIe/SSE2.
[INFO] [GLCore]: Version: 4.6.0 NVIDIA 555.99.
[INFO] [GLCore]: Using resolution 1920x1080.
[INFO] [Joypad]: Found joypad driver: "dinput".
[INFO] [GLCore]: Loading stock shader.
[INFO] [slang]: Building pass #0 (N/A)
[INFO] [GLCore]: Not using frame history.
[INFO] [GLCore]: Not using framebuffer feedback.
[INFO] [Video]: Found display server: "win32".
[INFO] [XAudio2]: Requesting 64 ms latency, using 64 ms latency.
[INFO] [Audio]: Started synchronous audio driver.
[DEBUG] [WASAPI mic]: Initialized microphone driver context.
[INFO] [Microphone]: Initialized microphone driver.
[INFO] [Display]: Found display driver: "glcore".
[INFO] [Environ]: SET_SUBSYSTEM_INFO.
[DEBUG] Subsystem ID: 0
Special game type: Slot 1 & 2 Boot
  Ident: gba
  ID: 1
  Content:
[DEBUG]     Nintendo DS (Slot 1) (required)
[DEBUG]     GBA (Slot 2) (required)
[DEBUG]     GBA Save Data (optional)
[DEBUG] Subsystem ID: 1
Special game type: Slot 1 & 2 Boot (No GBA Save Data)
  Ident: gbanosav
  ID: 2
  Content:
[DEBUG]     Nintendo DS (Slot 1) (required)
[DEBUG]     GBA (Slot 2) (required)
[DEBUG] Subsystems: 2
[INFO] [MIDI]: Output device: "Microsoft GS Wavetable Synth".
[INFO] [Playlist]: Loading history file: "D:\Steam\steamapps\common\RetroArch\content_history.lpl".
[INFO] [Playlist]: Loading history file: "D:\Steam\steamapps\common\RetroArch\content_music_history.lpl".
[INFO] [Playlist]: Loading history file: "D:\Steam\steamapps\common\RetroArch\content_video_history.lpl".
[INFO] [Playlist]: Loading history file: "D:\Steam\steamapps\common\RetroArch\content_image_history.lpl".
[INFO] [Playlist]: Loading favorites file: "D:\Steam\steamapps\common\RetroArch\content_favorites.lpl".
[DEBUG] [Audio]: Started audio driver "xaudio" (is_shutdown=false)
[DEBUG] [Audio]: Stopped audio driver "xaudio"
[INFO] [Config]: Saved new config to "D:\Steam\steamapps\common\RetroArch\retroarch.cfg".
[DEBUG] [Audio]: Started audio driver "xaudio" (is_shutdown=true)
[DEBUG] [Audio]: Started audio driver "xaudio" (is_shutdown=true)
[INFO] [Core]: Content ran for a total of: 00 hours, 00 minutes, 00 seconds.
[DEBUG] [Audio]: Stopped audio driver "xaudio"
[INFO] [Core]: Unloading core..
[INFO] [Core]: Unloading core symbols..
[DEBUG] [Video]: Does not have enough samples for monitor refresh rate estimation. Requires to run for at least 4096 frames.
JesseTG commented 3 months ago

Fantastic! In that case, I will consider this issue resolved.