mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-16 14:50:17 +00:00
HDB: Add stubs in Sound and Input
This commit is contained in:
parent
d5a779168f
commit
a510482d64
@ -348,8 +348,10 @@ void Input::updateKeys(Common::Event event, bool keyDown) {
|
||||
if (keyDown) {
|
||||
buttons |= kButtonA;
|
||||
g_hdb->_gfx->showPointer(true);
|
||||
warning("STUB: changetoMenu");
|
||||
} else {
|
||||
buttons &= ~kButtonA;
|
||||
warning("STUB: changetoMenu");
|
||||
}
|
||||
} else if (event.kbd.keycode == _keyDebug) {
|
||||
if (keyDown) {
|
||||
|
@ -75,6 +75,16 @@ void Sound::stopMusic() {
|
||||
debug(9, "STUB: Stop Music");
|
||||
}
|
||||
|
||||
bool Sound::freeSound(int index) {
|
||||
debug(9, "STUB: Free Sound");
|
||||
return true;
|
||||
}
|
||||
|
||||
SoundType Sound::whatSongIsPlaying() {
|
||||
debug(9, "STUB: whatSongIsPlaying");
|
||||
return SONG_NONE;
|
||||
}
|
||||
|
||||
void Sound::markSoundCacheFreeable() {
|
||||
warning("STUB: Sound::markSoundCacheFreeable() ");
|
||||
}
|
||||
|
@ -1391,14 +1391,23 @@ public:
|
||||
void save(Common::OutSaveFile *out);
|
||||
void loadSaveFile(Common::InSaveFile *in);
|
||||
void clearPersistent();
|
||||
void setMusicVolume(int value) {
|
||||
debug(9, "STUB: Add Music System Variables");
|
||||
}
|
||||
int getMusicVolume() {
|
||||
debug(9, "STUB: Add Music System Variables");
|
||||
return 1;
|
||||
}
|
||||
void setSFXVolume(int value) {
|
||||
debug(9, "STUB: Add Music System Variables");
|
||||
}
|
||||
int getSFXVolume() {
|
||||
debug(9, "STUB: Add Music System Variables");
|
||||
return 1;
|
||||
}
|
||||
void setVoiceStatus(int value) {
|
||||
debug(9, "STUB: Add Music System Variables");
|
||||
}
|
||||
int getVoiceStatus() {
|
||||
debug(9, "STUB: Add Music System Variables");
|
||||
return 1;
|
||||
@ -1411,6 +1420,9 @@ public:
|
||||
bool songPlaying(SoundType song);
|
||||
bool stopChannel(int channel);
|
||||
void stopMusic();
|
||||
bool freeSound(int index);
|
||||
|
||||
SoundType whatSongIsPlaying();
|
||||
|
||||
void markSoundCacheFreeable();
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user