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

Core crashes when switching to OpenGL #190

Closed LucasKell closed 3 months ago

LucasKell commented 7 months ago

What version of melonDS DS are you using?

1.1.1

Does the problem happen in standalone melonDS?

I don't know.

What happened?

Games boot up correctly when in software mode but when swapping to OpenGL the core crashes, freezing RetroArch. Other cores, incluing MelonDS core, work correctly in OpenGL.

Log is below:

[INFO] [Playlist]: Written to playlist file: "G:\Emulators\RetroArch\playlists\Nintendo - Nintendo DS.lpl".
[INFO] [Environ]: SET_SUBSYSTEM_INFO.
[INFO] [Core]: Using content: "F:\DS\Yoshi's Island DS.nds".
[INFO] [Core]: Content ran for a total of: 00 hours, 00 minutes, 00 seconds.
[INFO] [Core]: Unloading core..
[INFO] [Core]: Unloading core symbols..
[INFO] [Autoconf]: DualSense disconnected from port 1.
[INFO] [Video]: Average monitor Hz: 60.002400 Hz. (5.821 % frame time deviation, based on 2048 last samples).
[INFO] RetroArch 1.17.0 (Git 8dd26fa)
[INFO] === Build =======================================
[INFO] CPU Model Name: 13th Gen Intel(R) Core(TM) i5-13600K
[INFO] Capabilities: MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4 SSE42 AES AVX AVX2 
[INFO] Version: 1.17.0
[INFO] Git: 8dd26fa
[INFO] Built: Feb 12 2024
[INFO] =================================================
[INFO] [Input]: Found input driver: "dinput".
[INFO] [Core]: Loading dynamic libretro core from: "G:\Emulators\RetroArch\cores\melondsds_libretro.dll"
[INFO] [Overrides]: Redirecting save file to "G:\Emulators\RetroArch\saves\melonDS DS\Yoshi's Island DS.srm".
[INFO] [Overrides]: Redirecting save state to "G:\Emulators\RetroArch\states\melonDS DS\Yoshi's Island DS.state".
[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.
[INFO] [Environ]: SET_SUPPORT_ACHIEVEMENTS: yes.
[INFO] [Environ]: GET_LOG_INTERFACE.
[INFO] [Environ]: GET_MESSAGE_INTERFACE_VERSION.
[INFO] [Environ]: SAVE_DIRECTORY: "G:\Emulators\RetroArch\saves\melonDS DS".
[libretro INFO] Save directory: "G:/Emulators/RetroArch/saves/melonDS DS"
[libretro INFO] melonDS DS save subdirectory: "G:/Emulators/RetroArch/saves/melonDS DS"
[INFO] [Environ]: SYSTEM_DIRECTORY: "G:\Emulators\RetroArch\system".
[libretro INFO] System directory: "G:/Emulators/RetroArch/system"
[libretro INFO] melonDS DS system subdirectory: "G:/Emulators/RetroArch/system/melonDS DS"
[INFO] [Environ]: GET_VFS_INTERFACE. Core requested version >= V1, providing V3.
[INFO] [Environ]: SET_SUPPORT_NO_GAME: yes.
[libretro INFO] melonDS DS 1.1.1
[INFO] [Environ]: RETRO_ENVIRONMENT_GET_MICROPHONE_INTERFACE.
[INFO] [Content]: Loading content file: "F:\DS\Yoshi's Island DS.nds".
[INFO] [Environ]: SET_PIXEL_FORMAT: XRGB8888.
[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.
[libretro INFO] No homebrew SD card image found at "G:/Emulators/RetroArch/saves/melonDS DS/dldi_sd_card.bin"; will create an image.
[libretro INFO] No DSi SD card image found at "G:/Emulators/RetroArch/saves/melonDS DS/dsi_sd_card.bin"; will create an image.
[INFO] [Environ]: SET_ROTATION: 0
[INFO] [Microphone]: Microphone requested before driver context was ready; deferring initialization.
[libretro INFO] Loaded DS firmware from "G:/Emulators/RetroArch/system/firmware.bin" (Identifier: MACP)
[libretro ERROR] Failed to open ARM7 file "G:/Emulators/RetroArch/system/melonDS DS/bios7.bin" for reading
[libretro INFO] Successfully loaded 16384-byte ARM7 file "G:/Emulators/RetroArch/system/bios7.bin"
[libretro ERROR] Failed to open ARM9 file "G:/Emulators/RetroArch/system/melonDS DS/bios9.bin" for reading
[libretro INFO] Successfully loaded 4096-byte ARM9 file "G:/Emulators/RetroArch/system/bios9.bin"
[INFO] [Environ]: GET_USERNAME: "".
[INFO] [Environ]: GET_LANGUAGE: "0".
[libretro INFO] [melonDS] Inserted cart with game code: AYWE
[libretro INFO] [melonDS] Inserted cart with ID: 00001FC2
[libretro INFO] [melonDS] ROM entry: 02000000 00000002
[libretro INFO] No GBA SRAM was provided.
[INFO] [Environ]: GET_MESSAGE_INTERFACE_VERSION.
[INFO] [Environ]: SET_INPUT_DESCRIPTORS:
[libretro INFO] No need to defer initialization, proceeding now
[libretro INFO] [melonDS] MAC: 00:09:BF:4C:68:29
[libretro INFO] [melonDS] Secure area decryption OK
[libretro INFO] [melonDS] Game is now booting
[libretro INFO] Started emulated console
[INFO] [RCHEEVOS]: Unofficial disabled
[INFO] [RCHEEVOS]: Encore mode disabled
[INFO] [RCHEEVOS]: Spectator mode disabled
[INFO] [RCHEEVOS]: Load started, hardcore active
[INFO] [RCHEEVOS]: Identifying game: 33554432 bytes at 000000001895B040 (F:\DS\Yoshi's Island DS.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 567552 byte arm9 code (at 00004000)
[INFO] [RCHEEVOS]: Hashing 165552 byte arm7 code (at 000EB800)
[INFO] [RCHEEVOS]: Hashing 2560 byte icon and labels data (at 00118600)
[INFO] [RCHEEVOS]: Generated hash c7bbf6af9d6876098272e84ceee2029e
[INFO] [Replay]: Found last replay slot: #0
[INFO] [SRAM]: Skipping SRAM load.
[INFO] [Core]: Version of libretro API: 1, Compiled against API: 1
[INFO] [Core]: Geometry: 768x384, Aspect: 2.000, 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: 2880x1620.
[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 RTX 4060/PCIe/SSE2.
[INFO] [GL]: Version: 4.6.0 NVIDIA 546.29.
[INFO] [GL]: Using resolution 2880x1620.
[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).
[WARN] [SDL]: Couldn't open haptic device of the joypad #0: Haptic: There are 0 haptic devices available
[INFO] [SDL]: Falling back to joystick rumble
[INFO] [Joypad]: Found joypad driver: "sdl2".
[INFO] [Video]: Found display server: "win32".
[INFO] [WASAPI]: Client initialized (shared, PCM, 48000Hz, 64.0ms).
[INFO] [Audio]: Started synchronous audio driver.
[INFO] [Microphone]: Initialized microphone driver.
[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 "Microphone (3- MIC_TEST)".
[INFO] [Microphone]: Disabled microphone.
[INFO] [Microphone]: Requested microphone sample rate of 44100Hz, got 48000Hz.
[INFO] [Microphone]: Initialized microphone.
[INFO] [Display]: Found display driver: "gl".
[INFO] [Environ]: SET_SUBSYSTEM_INFO.
[INFO] [MIDI]: Output device: "Microsoft GS Wavetable Synth".
[INFO] [Playlist]: Loading history file: "G:\Emulators\RetroArch\content_history.lpl".
[INFO] [Playlist]: Loading history file: "G:\Emulators\RetroArch\content_music_history.lpl".
[INFO] [Playlist]: Loading history file: "G:\Emulators\RetroArch\content_video_history.lpl".
[INFO] [Playlist]: Loading history file: "G:\Emulators\RetroArch\content_image_history.lpl".
[INFO] [Playlist]: Loading favorites file: "G:\Emulators\RetroArch\content_favorites.lpl".
[INFO] [Microphone]: Enabled microphone.
[INFO] [Playlist]: Written to playlist file: "G:\Emulators\RetroArch\content_history.lpl".
[INFO] [RCHEEVOS]: Identified game: 14786 (c7bbf6af9d6876098272e84ceee2029e)
[INFO] [RCHEEVOS]: Fetching data for game 14786
[INFO] [Environ]: SET_ROTATION: 0
[INFO] [Environ]: SET_GEOMETRY.
[INFO] [RCHEEVOS]: Starting session for game 14786
[INFO] [RCHEEVOS]: Registered 0x400000 bytes of SYSTEM RAM at $000000 (offset 0x000000)
[INFO] [RCHEEVOS]: 77/77 memory addresses valid
[INFO] [RCHEEVOS]: Game 14786 loaded, hardcore enabled
[INFO] [RCHEEVOS]: You have 0 of 72 achievements unlocked.
[INFO] [WASAPI mic]: Stopped capture device "Microphone (3- MIC_TEST)".
[INFO] [Microphone]: Enabled microphone.
[libretro INFO] No homebrew SD card image found at "G:/Emulators/RetroArch/saves/melonDS DS/dldi_sd_card.bin"; will create an image.
[libretro INFO] No DSi SD card image found at "G:/Emulators/RetroArch/saves/melonDS DS/dsi_sd_card.bin"; will create an image.
[INFO] [Environ]: SET_HW_RENDER, context type: gl.
[INFO] Requesting OpenGL context.
[INFO] [Environ]: SET_ROTATION: 0
[INFO] [Environ]: SET_SYSTEM_AV_INFO: 768x384, Aspect: 2.000, FPS: 59.90, Sample rate: 32768.00 Hz.
[INFO] [Autoconf]: DualSense disconnected from port 1.
[INFO] [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: 2880x1620.
[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 RTX 4060/PCIe/SSE2.
[INFO] [GL]: Version: 4.6.0 NVIDIA 546.29.
[INFO] [GL]: Using resolution 2880x1620.
[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).
[WARN] [SDL]: Couldn't open haptic device of the joypad #0: Haptic: There are 0 haptic devices available
[INFO] [SDL]: Falling back to joystick rumble
[INFO] [Joypad]: Found joypad driver: "sdl2".
[ERROR] [GL]: GL: Invalid enum.
[ERROR] [Video]: Cannot open video driver.. Exiting..

What should've happened instead?

The game should load and run correctly, using OpenGL rather than software rendering.

Which platforms do you see the problem on?

Which versions of the OS?

Windows 11 23H2

Which libretro frontend are you using?

Retroarch 1.17.0

Terms

JesseTG commented 7 months ago

Could you enable debug logging and take another log? This one doesn't have enough information. These are the settings you'll want:

Screenshot 2023-12-20 084050

Also, could you clarify one thing; by "switching to OpenGL", I assume you mean switching mid-game (as opposed to reloading the core in the interim)?

LucasKell commented 7 months ago

It crashes if I:

Debug logs below, which is the log for the first scenario above:

[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] [Core]: Using content: "F:\DS\Yoshi's Island DS.nds".
[INFO] [Core]: Content ran for a total of: 00 hours, 00 minutes, 00 seconds.
[DEBUG] [Audio]: Stopped audio driver "wasapi"
[INFO] [Core]: Unloading core..
[INFO] [Core]: Unloading core symbols..
[INFO] [Autoconf]: DualSense disconnected from port 1.
[INFO] [Video]: Does not have enough samples for monitor refresh rate estimation. Requires to run for at least 4096 frames.
[INFO] RetroArch 1.17.0 (Git 8dd26fa)
[INFO] === Build =======================================
[INFO] CPU Model Name: 13th Gen Intel(R) Core(TM) i5-13600K
[INFO] Capabilities: MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4 SSE42 AES AVX AVX2 
[INFO] Version: 1.17.0
[INFO] Git: 8dd26fa
[INFO] Built: Feb 12 2024
[INFO] =================================================
[INFO] [Input]: Found input driver: "dinput".
[INFO] [Core]: Loading dynamic libretro core from: "G:\Emulators\RetroArch\cores\melondsds_libretro.dll"
[INFO] [Overrides]: Redirecting save file to "G:\Emulators\RetroArch\saves\melonDS DS\Yoshi's Island DS.srm".
[INFO] [Overrides]: Redirecting save state to "G:\Emulators\RetroArch\states\melonDS DS\Yoshi's Island 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(0x4107a0)
[INFO] [Environ]: GET_MESSAGE_INTERFACE_VERSION.
[INFO] [Environ]: SAVE_DIRECTORY: "G:\Emulators\RetroArch\saves\melonDS DS".
[libretro INFO] Save directory: "G:/Emulators/RetroArch/saves/melonDS DS"
[libretro INFO] melonDS DS save subdirectory: "G:/Emulators/RetroArch/saves/melonDS DS"
[INFO] [Environ]: SYSTEM_DIRECTORY: "G:\Emulators\RetroArch\system".
[libretro INFO] System directory: "G:/Emulators/RetroArch/system"
[libretro INFO] melonDS DS system subdirectory: "G:/Emulators/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.
[libretro DEBUG] Frontend supports no-game mode.
[libretro DEBUG] Power state available
[libretro DEBUG] retro_init
[libretro INFO] melonDS DS 1.1.1
[INFO] [Environ]: RETRO_ENVIRONMENT_GET_MICROPHONE_INTERFACE.
[libretro DEBUG] Microphone support available (version 1)
[INFO] [Content]: Loading content file: "F:\DS\Yoshi's Island DS.nds".
[libretro DEBUG] retro_load_game("F:\DS\Yoshi's Island DS.nds", 33554432)
[INFO] [Environ]: SET_PIXEL_FORMAT: XRGB8888.
[libretro DEBUG] G:/Emulators/RetroArch/system/3do_arcade_saot.bin doesn't look like valid firmware (unrecognized ConsoleType 0xA0)
[libretro DEBUG] G:/Emulators/RetroArch/system/bios7.bin is not a known firmware size (found 16384 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] G:/Emulators/RetroArch/system/bios9.bin is not a known firmware size (found 4096 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] G:/Emulators/RetroArch/system/DISK.ROM is not a known firmware size (found 8192 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] G:/Emulators/RetroArch/system/DriveSnd.m88 is not a known firmware size (found 77824 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] G:/Emulators/RetroArch/system/ecwolf.pk3 is not a known firmware size (found 187571 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] G:/Emulators/RetroArch/system/firmware.bin.bak is a backup file, not counting it as firmware
[libretro DEBUG] G:/Emulators/RetroArch/system/font.rom is not a known firmware size (found 6144 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] G:/Emulators/RetroArch/system/goldstar.bin is not a known firmware size (found 1048576 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] G:/Emulators/RetroArch/system/hisaturn.bin doesn't look like valid firmware (unrecognized ConsoleType 0x00)
[libretro DEBUG] G:/Emulators/RetroArch/system/jastsnd.m88 is not a known firmware size (found 57344 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] G:/Emulators/RetroArch/system/kanji.m88 is not a known firmware size (found 24576 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] G:/Emulators/RetroArch/system/mpr-17933.bin doesn't look like valid firmware (unrecognized ConsoleType 0x00)
[libretro DEBUG] G:/Emulators/RetroArch/system/mpr-18100.bin doesn't look like valid firmware (unrecognized ConsoleType 0x00)
[libretro DEBUG] G:/Emulators/RetroArch/system/mpr-18811-mx.ic1 is not a known firmware size (found 2097152 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] G:/Emulators/RetroArch/system/mpr-19367-mx.ic1 is not a known firmware size (found 2097152 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] G:/Emulators/RetroArch/system/N88.ROM is not a known firmware size (found 32768 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] G:/Emulators/RetroArch/system/n88jisho.rom doesn't look like valid firmware (unrecognized ConsoleType 0x00)
[libretro DEBUG] G:/Emulators/RetroArch/system/N88KNJ1.ROM doesn't look like valid firmware (unrecognized ConsoleType 0x00)
[libretro DEBUG] G:/Emulators/RetroArch/system/N88KNJ2.ROM doesn't look like valid firmware (unrecognized ConsoleType 0x00)
[libretro DEBUG] G:/Emulators/RetroArch/system/N88N.ROM is not a known firmware size (found 32768 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] G:/Emulators/RetroArch/system/N88_0.ROM is not a known firmware size (found 8192 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] G:/Emulators/RetroArch/system/N88_1.ROM is not a known firmware size (found 8192 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] G:/Emulators/RetroArch/system/N88_2.ROM is not a known firmware size (found 8192 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] G:/Emulators/RetroArch/system/N88_3.ROM is not a known firmware size (found 8192 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] G:/Emulators/RetroArch/system/panafz1-kanji.bin is not a known firmware size (found 933636 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] G:/Emulators/RetroArch/system/panafz1.bin is not a known firmware size (found 1048576 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] G:/Emulators/RetroArch/system/panafz10-norsa.bin is not a known firmware size (found 1048576 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] G:/Emulators/RetroArch/system/panafz10.bin is not a known firmware size (found 1048576 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] G:/Emulators/RetroArch/system/panafz10e-anvil-norsa.bin is not a known firmware size (found 1048576 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] G:/Emulators/RetroArch/system/panafz10e-anvil.bin is not a known firmware size (found 1048576 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] G:/Emulators/RetroArch/system/panafz10ja-anvil-kanji.bin is not a known firmware size (found 1048576 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] G:/Emulators/RetroArch/system/panafz1j-kanji.bin is not a known firmware size (found 1048576 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] G:/Emulators/RetroArch/system/panafz1j-norsa.bin is not a known firmware size (found 1048576 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] G:/Emulators/RetroArch/system/panafz1j.bin is not a known firmware size (found 1048576 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] G:/Emulators/RetroArch/system/pc88.rom is not a known firmware size (found 90112 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] G:/Emulators/RetroArch/system/prboom.wad is not a known firmware size (found 143312 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] G:/Emulators/RetroArch/system/sanyotry.bin is not a known firmware size (found 1048576 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] G:/Emulators/RetroArch/system/saturn_bios.bin doesn't look like valid firmware (unrecognized ConsoleType 0x00)
[libretro DEBUG] G:/Emulators/RetroArch/system/sega1003.bin doesn't look like valid firmware (unrecognized ConsoleType 0x00)
[libretro DEBUG] G:/Emulators/RetroArch/system/sega_100.bin doesn't look like valid firmware (unrecognized ConsoleType 0x00)
[libretro DEBUG] G:/Emulators/RetroArch/system/sega_100a.bin doesn't look like valid firmware (unrecognized ConsoleType 0x00)
[libretro DEBUG] G:/Emulators/RetroArch/system/sega_101.bin doesn't look like valid firmware (unrecognized ConsoleType 0x00)
[libretro DEBUG] G:/Emulators/RetroArch/system/sorop.d88 is not a known firmware size (found 348848 bytes, must be one of 131072, 262144, 524288)
[libretro DEBUG] G:/Emulators/RetroArch/system/vsaturn.bin doesn't look like valid firmware (unrecognized ConsoleType 0x00)
[libretro DEBUG] Found a firmware image at "G:/Emulators/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.
[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 "G:/Emulators/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 "G:/Emulators/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 = "0"
[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 = "default"
[DEBUG] [Environ]: GET_VARIABLE: melonds_firmware_birth_day = "default"
[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 = "both"
[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 = "software"
[DEBUG] [Environ]: GET_VARIABLE: melonds_opengl_resolution = "1"
[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 = "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] Initialized software render state
[INFO] [Environ]: SET_ROTATION: 0
[INFO] [Microphone]: Microphone requested before driver context was ready; deferring initialization.
[libretro INFO] Loaded DS firmware from "G:/Emulators/RetroArch/system/firmware.bin" (Identifier: MACP)
[libretro ERROR] Failed to open ARM7 file "G:/Emulators/RetroArch/system/melonDS DS/bios7.bin" for reading
[libretro INFO] Successfully loaded 16384-byte ARM7 file "G:/Emulators/RetroArch/system/bios7.bin"
[libretro ERROR] Failed to open ARM9 file "G:/Emulators/RetroArch/system/melonDS DS/bios9.bin" for reading
[libretro INFO] Successfully loaded 4096-byte ARM9 file "G:/Emulators/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: "F:\DS\Yoshi's Island DS.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: AYWE
[libretro INFO] [melonDS] Inserted cart with ID: 00001FC2
[libretro INFO] [melonDS] ROM entry: 02000000 00000002
[libretro DEBUG] Allocated 8192-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] [melonDS] Resetting JIT block cache...
[libretro DEBUG] [melonDS] done resetting jit mem
[libretro DEBUG] [melonDS] done resetting jit mem
[libretro INFO] [melonDS] MAC: 00:09:BF:4C:68:29
[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-03-05 02:08:36 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 "Yoshi's Island DS.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 LucasKell (with token)
[INFO] [RCHEEVOS]: Identifying game: 33554432 bytes at 00000000213F2040 (F:\DS\Yoshi's Island DS.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 567552 byte arm9 code (at 00004000)
[INFO] [RCHEEVOS]: Hashing 165552 byte arm7 code (at 000EB800)
[INFO] [RCHEEVOS]: Hashing 2560 byte icon and labels data (at 00118600)
[INFO] [RCHEEVOS]: Generated hash c7bbf6af9d6876098272e84ceee2029e
[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: 1024x576, 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] [GL]: Found GL context: "wgl".
[INFO] [GL]: Detecting screen resolution: 2880x1620.
[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 RTX 4060/PCIe/SSE2.
[INFO] [GL]: Version: 4.6.0 NVIDIA 546.29.
[INFO] [GL]: Using resolution 2880x1620.
[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).
[WARN] [SDL]: Couldn't open haptic device of the joypad #0: Haptic: There are 0 haptic devices available
[INFO] [SDL]: Falling back to joystick rumble
[INFO] [Joypad]: Found joypad driver: "sdl2".
[INFO] [Video]: Found display server: "win32".
[DEBUG] [WASAPI]: Initializing default eRender device..
[DEBUG] [WASAPI]: Requesting shared 16-bit 2-channel client with WAVE_FORMAT_PCM samples at 48000Hz 64ms.
[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 (6144 samples, 12288 bytes, 64.0 ms).
[INFO] [WASAPI]: Client initialized (shared, PCM, 48000Hz, 64.0ms).
[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 "Microphone (3- MIC_TEST)".
[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".
[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".
[libretro DEBUG] retro_set_controller_port_device(0, RETRO_DEVICE_JOYPAD)
[INFO] [Playlist]: Loading history file: "G:\Emulators\RetroArch\content_history.lpl".
[INFO] [Playlist]: Loading history file: "G:\Emulators\RetroArch\content_music_history.lpl".
[INFO] [Playlist]: Loading history file: "G:\Emulators\RetroArch\content_video_history.lpl".
[INFO] [Playlist]: Loading history file: "G:\Emulators\RetroArch\content_image_history.lpl".
[INFO] [Playlist]: Loading favorites file: "G:\Emulators\RetroArch\content_favorites.lpl".
[INFO] [Microphone]: Enabled microphone.
[DEBUG] [Microphone]: Started a microphone that was enabled when the driver was last stopped.
[INFO] [RCHEEVOS]: LucasKell logged in successfully
[INFO] [RCHEEVOS]: Identified game: 14786 (c7bbf6af9d6876098272e84ceee2029e)
[INFO] [RCHEEVOS]: Fetching data for game 14786
[libretro DEBUG] Installed 8192-byte SRAM
[INFO] [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
[INFO] [RCHEEVOS]: Starting session for game 14786
[libretro DEBUG] [melonDS] WIFI: OFF
[libretro DEBUG] [melonDS] unknown ARM9 IO write32 04001060 00000000 01FF81DC
[libretro DEBUG] [melonDS] unknown ARM9 IO write32 04001064 00000000 01FF81DC
[libretro DEBUG] [melonDS] unknown ARM9 IO write32 04001068 00000000 01FF81DC
[libretro DEBUG] retro_get_memory_data(RETRO_MEMORY_SYSTEM_RAM)
[INFO] [RCHEEVOS]: Registered 0x400000 bytes of SYSTEM RAM at $000000 (offset 0x000000)
[INFO] [RCHEEVOS]: 77/77 memory addresses valid
[INFO] [RCHEEVOS]: Game 14786 loaded, hardcore enabled
[INFO] [RCHEEVOS]: You have 0 of 72 achievements unlocked.
[INFO] [WASAPI mic]: Stopped capture device "Microphone (3- MIC_TEST)".
[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 = "hybrid-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"
[INFO] [Microphone]: Enabled microphone.
[DEBUG] [Microphone]: Started a microphone that was enabled when the driver was last stopped.
[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 "G:/Emulators/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 "G:/Emulators/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 = "0"
[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 = "default"
[DEBUG] [Environ]: GET_VARIABLE: melonds_firmware_birth_day = "default"
[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 = "both"
[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 = "1"
[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] Initialized OpenGL render state
[INFO] [Environ]: SET_ROTATION: 0
[INFO] [Environ]: SET_SYSTEM_AV_INFO: 1024x576, Aspect: 1.778, FPS: 59.90, Sample rate: 32768.00 Hz.
[libretro DEBUG] void MelonDsDs::OpenGLRenderState::ContextDestroyed()
[INFO] [Autoconf]: DualSense disconnected from port 1.
[INFO] [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: 2880x1620.
[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 RTX 4060/PCIe/SSE2.
[INFO] [GL]: Version: 4.6.0 NVIDIA 546.29.
[INFO] [GL]: Using resolution 2880x1620.
[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).
[WARN] [SDL]: Couldn't open haptic device of the joypad #0: Haptic: There are 0 haptic devices available
[INFO] [SDL]: Falling back to joystick rumble
[INFO] [Joypad]: Found joypad driver: "sdl2".
[ERROR] [GL]: GL: Invalid enum.
[ERROR] [Video]: Cannot open video driver.. Exiting..
JesseTG commented 3 months ago

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

JesseTG commented 3 months ago

Ah, now that I've resumed work on this, it seems like this may actually be the same bug that's described here. That one's technically a duplicate (since this ticket came first), but I'd like to continue the conversation I started there.

Closing this ticket, let's take further discussion to #203 .