diff options
Diffstat (limited to 'backends/dc/dcmain.cpp')
-rw-r--r-- | backends/dc/dcmain.cpp | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/backends/dc/dcmain.cpp b/backends/dc/dcmain.cpp index 82ab1b666b..26a964dcf4 100644 --- a/backends/dc/dcmain.cpp +++ b/backends/dc/dcmain.cpp @@ -143,6 +143,47 @@ void OSystem_Dreamcast::deleteMutex(MutexRef mutex) } +/* Features */ +bool OSystem_Dreamcast::hasFeature(Feature f) +{ + switch(f) { + case kFeatureAspectRatioCorrection: + case kFeatureVirtualKeyboard: + return true; + default: + return false; + } +} + +void OSystem_Dreamcast::setFeatureState(Feature f, bool enable) +{ + switch(f) { + case kFeatureAspectRatioCorrection: + /* FIXME */ + break; + case kFeatureVirtualKeyboard: + /* FIXME */ + break; + default: + break; + } +} + +bool OSystem_Dreamcast::getFeatureState(Feature f) +{ + switch(f) { + case kFeatureAspectRatioCorrection: + /* FIXME */ + return false; + case kFeatureVirtualKeyboard: + /* FIXME */ + return false; + default: + return false; + } +} + + void dc_init_hardware() { #ifndef NOSERIAL |