Skip to content

Commit

Permalink
add support for Saturn via Beetle Saturn (implements #114) (#118)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jamiras authored Sep 27, 2019
1 parent f1dfc2d commit 7fc989e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions bin/Cores/cores.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,11 @@
"extensions": "m3u|cue",
"systems": [12]
},
"mednafen_saturn_libretro":{
"name": "Beetle Saturn",
"extensions": "m3u|cue",
"systems": [39]
},
"mednafen_supergrafx_libretro":{
"name": "Mednafen SuperGrafX",
"systems": [8]
Expand Down
2 changes: 2 additions & 0 deletions src/Emulator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,7 @@ const char* getSystemName(System system)
case System::kMegaDrive: return "Sega Genesis";
case System::kSegaCD: return "Sega CD";
case System::kSega32X: return "Sega 32X";
case System::kSaturn: return "Sega Saturn";
case System::kNintendo: return "Nintendo Entertainment System";
case System::kPCEngine: return "PC Engine";
case System::kSuperNintendo: return "Super Nintendo Entertainment System";
Expand Down Expand Up @@ -509,6 +510,7 @@ bool romLoaded(Logger* logger, System system, const std::string& path, void* rom
break;

case System::kSegaCD:
case System::kSaturn:
ok = romLoadSegaCd(logger, path);
break;

Expand Down
1 change: 1 addition & 0 deletions src/Emulator.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ enum class System
kMegaDrive = MegaDrive,
kSegaCD = SegaCD,
kSega32X = Sega32X,
kSaturn = Saturn,
kNintendo = NES,
kPCEngine = PCEngine,
kSuperNintendo = SNES,
Expand Down

0 comments on commit 7fc989e

Please sign in to comment.