libretro / libretro/blastem

BlastEm can't open roms with a space in their directory

Open
#38 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
77
Forks
38
Avg merge
36m
Merged PRs (30d)
6

Description

When I try to load a rom and its directory has a space in it (ex: C:\random folder\rom.bin), it pop ups an error that says "Failed to open C:\random for reading"

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the failure by loading a ROM from a Windows directory containing a space, such as C:\random folder\rom.bin, and observe the truncated path in the error. Trace the ROM-opening entry point to identify where the path is split, then verify that ROMs in spaced directories open successfully without breaking existing path handling.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
desktop, game-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.