mirror of
https://github.com/giongto35/cloud-game.git
synced 2026-01-23 02:34:42 +00:00
Use ROM folders
Libretro cores are selected based on the file extensions of the ROMs. However, ROM file extensions are not unique across cores (e.g., .zip is used in both DosBox and MAME). To load a specific core correctly, it's necessary to place the corresponding ROMs in designated folders specified in the configuration. By default, you can use the keys from cores.list as the folder names, or you can specify your own custom folder names using the 'folder' parameter for each core.
This commit is contained in:
parent
ba7db72093
commit
d6199c9598
6 changed files with 6 additions and 6 deletions
|
|
@ -44,9 +44,9 @@ type game struct {
|
|||
}
|
||||
|
||||
var (
|
||||
alwa = game{system: "nes", rom: "Alwa's Awakening (Demo).nes"}
|
||||
sushi = game{system: "gba", rom: "Sushi The Cat.gba"}
|
||||
angua = game{system: "gba", rom: "anguna.gba"}
|
||||
alwa = game{system: "nes", rom: "nes/Alwa's Awakening (Demo).nes"}
|
||||
sushi = game{system: "gba", rom: "gba/Sushi The Cat.gba"}
|
||||
angua = game{system: "gba", rom: "gba/anguna.gba"}
|
||||
)
|
||||
|
||||
// TestMain runs all tests in the main thread in macOS.
|
||||
|
|
|
|||
|
|
@ -95,9 +95,9 @@ var testTempDir = filepath.Join(os.TempDir(), "cloud-game-core-tests")
|
|||
|
||||
// games
|
||||
var (
|
||||
alwas = games.GameMetadata{Name: "Alwa's Awakening (Demo)", Type: "nes", Path: "Alwa's Awakening (Demo).nes", System: "nes"}
|
||||
sushi = games.GameMetadata{Name: "Sushi The Cat", Type: "gba", Path: "Sushi The Cat.gba", System: "gba"}
|
||||
fd = games.GameMetadata{Name: "Florian Demo", Type: "n64", Path: "Sample Demo by Florian (PD).z64", System: "n64"}
|
||||
alwas = games.GameMetadata{Name: "Alwa's Awakening (Demo)", Type: "nes", Path: "nes/Alwa's Awakening (Demo).nes", System: "nes"}
|
||||
sushi = games.GameMetadata{Name: "Sushi The Cat", Type: "gba", Path: "gba/Sushi The Cat.gba", System: "gba"}
|
||||
fd = games.GameMetadata{Name: "Florian Demo", Type: "n64", Path: "n64/Sample Demo by Florian (PD).z64", System: "n64"}
|
||||
)
|
||||
|
||||
func TestMain(m *testing.M) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue