Skip to content

Commit

Permalink
common: remove embedded gamelist support (use gamelist.xml files foun…
Browse files Browse the repository at this point in the history
…d in roms paths) (END)
  • Loading branch information
Cpasjuste committed Sep 29, 2023
1 parent a9dbdc1 commit 455da84
Show file tree
Hide file tree
Showing 12 changed files with 9 additions and 211,682 deletions.
32,021 changes: 0 additions & 32,021 deletions src/cores/pgba/data/common/romfs/gamelist.xml

This file was deleted.

2 changes: 1 addition & 1 deletion src/cores/pgba/sources/pgba_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class PGBAConfig : public pemu::PEMUConfig {

std::vector<GameListInfo> getCoreGameListInfo() override {
return {
{{12, 0, "Game Boy Advance"}, "GBA", "roms", "gamelist.xml"}
{{12, 0, "Game Boy Advance"}, "GBA", "roms"}
};
}

Expand Down
2 changes: 1 addition & 1 deletion src/cores/pgba/sources/pgba_ui_emu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ extern "C" {

#define VIDEO_WIDTH_MAX 240
#define VIDEO_HEIGHT_MAX 160
#define SAMPLE_RATE 32768
#define SAMPLE_RATE 44100

mCore *s_core = nullptr;
static VDir *s_vDir;
Expand Down
32,021 changes: 0 additions & 32,021 deletions src/cores/pgen/data/common/romfs/gamelist.xml

This file was deleted.

14,295 changes: 0 additions & 14,295 deletions src/cores/pgen/data/common/romfs/gamelist_gamegear.xml

This file was deleted.

9,498 changes: 0 additions & 9,498 deletions src/cores/pgen/data/common/romfs/gamelist_megacd.xml

This file was deleted.

10,265 changes: 0 additions & 10,265 deletions src/cores/pgen/data/common/romfs/gamelist_sms.xml

This file was deleted.

10 changes: 5 additions & 5 deletions src/cores/pgen/sources/pgen_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ class PGENConfig : public pemu::PEMUConfig {

std::vector<GameListInfo> getCoreGameListInfo() override {
return {
{{1, 0, "Megadrive"}, "MEGADRIVE", "megadrive", "gamelist.xml"},
{{2, 0, "Master System"}, "MASTERSYSTEM", "mastersystem", "gamelist_sms.xml"},
{{21, 0, "Game Gear"}, "GAMEGEAR", "gamegear", "gamelist_gamegear.xml"},
{{20, 0, "Mega-CD"}, "MEGACD", "megacd", "gamelist_megacd.xml"},
{{109, 2, "SG-1000"}, "SG1000", "sg1000", "gamelist_sg1000.xml"}
{{1, 0, "Megadrive"}, "MEGADRIVE", "megadrive"},
{{2, 0, "Master System"}, "MASTERSYSTEM", "mastersystem"},
{{21, 0, "Game Gear"}, "GAMEGEAR", "gamegear"},
{{20, 0, "Mega-CD"}, "MEGACD", "megacd"},
{{109, 2, "SG-1000"}, "SG1000", "sg1000"}
};
}

Expand Down
49,184 changes: 0 additions & 49,184 deletions src/cores/pnes/data/common/romfs/gamelist.xml

This file was deleted.

2 changes: 1 addition & 1 deletion src/cores/pnes/sources/pnes_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class PNESConfig : public pemu::PEMUConfig {

std::vector<GameListInfo> getCoreGameListInfo() override {
return {
{{3, 0, "NES"}, "NES", "roms", "gamelist.xml"}
{{3, 0, "NES"}, "NES", "roms"}
};
}

Expand Down
64,389 changes: 0 additions & 64,389 deletions src/cores/psnes/data/common/romfs/gamelist.xml

This file was deleted.

2 changes: 1 addition & 1 deletion src/cores/psnes/sources/psnes_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class PSNESConfig : public pemu::PEMUConfig {

std::vector<GameListInfo> getCoreGameListInfo() override {
return {
{{4, 0, "Super Nintendo"}, "SNES", "roms", "gamelist.xml"}
{{4, 0, "Super Nintendo"}, "SNES", "roms"}
};
}

Expand Down

0 comments on commit 455da84

Please sign in to comment.