mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-24 18:56:33 +00:00
Apply patch 2802544: WINCE: Implement OSystem::engineInit to remove hack
svn-id: r42419
This commit is contained in:
parent
32f1e47eff
commit
d6fb5bb922
7
backends/platform/wince/wince-sdl.cpp
Normal file → Executable file
7
backends/platform/wince/wince-sdl.cpp
Normal file → Executable file
@ -908,18 +908,13 @@ int OSystem_WINCE3::getOutputSampleRate() const {
|
||||
return _sampleRate;
|
||||
}
|
||||
|
||||
void OSystem_WINCE3::setWindowCaption(const char *caption) {
|
||||
void OSystem_WINCE3::engineInit() {
|
||||
check_mappings(); // called here to initialize virtual keys handling
|
||||
|
||||
//update_game_settings();
|
||||
// finalize mixer init
|
||||
compute_sample_rate();
|
||||
setupMixer();
|
||||
|
||||
FIXME: move check_mappings() etc. calls to engineInit() & engineDone()
|
||||
|
||||
// handle the actual event
|
||||
OSystem_SDL::setWindowCaption(caption);
|
||||
}
|
||||
|
||||
bool OSystem_WINCE3::openCD(int drive) {
|
||||
|
@ -84,7 +84,7 @@ public:
|
||||
// Overloaded from SDL backend (master volume and sample rate subtleties)
|
||||
void setupMixer();
|
||||
// Overloaded from OSystem
|
||||
//void engineInit();
|
||||
void engineInit();
|
||||
void getTimeAndDate(struct tm &t) const;
|
||||
virtual Common::SeekableReadStream *createConfigReadStream();
|
||||
virtual Common::WriteStream *createConfigWriteStream();
|
||||
@ -145,7 +145,6 @@ protected:
|
||||
//int getGraphicsMode() const;
|
||||
int getDefaultGraphicsMode() const;
|
||||
|
||||
void setWindowCaption(const char *caption);
|
||||
bool openCD(int drive);
|
||||
int getOutputSampleRate() const;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user