sdl: don't test for fds keys when fds rom isn't loaded

This commit is contained in:
punkrockguy318 2010-02-24 07:55:12 +00:00
parent 0547ec7af7
commit 14312c7526
1 changed files with 3 additions and 3 deletions

View File

@ -475,15 +475,15 @@ KeyboardCommands()
} }
// Famicom disk-system games // Famicom disk-system games
//if(gametype==GIT_FDS) if(gametype==GIT_FDS)
//{ {
if(_keyonly(fdsSelectDiskKey)) { if(_keyonly(fdsSelectDiskKey)) {
FCEUI_FDSSelect(); FCEUI_FDSSelect();
} }
if(_keyonly(fdsEjectKey)) { if(_keyonly(fdsEjectKey)) {
FCEUI_FDSInsert(); FCEUI_FDSInsert();
} }
//} }
if(_keyonly(screenshotKey)) { if(_keyonly(screenshotKey)) {
FCEUI_SaveSnapshot(); FCEUI_SaveSnapshot();