PS3: Handle platform specific features
This commit is contained in:
parent
06edf3dd0c
commit
4053592c69
2 changed files with 12 additions and 0 deletions
|
@ -124,3 +124,14 @@ Common::HardwareInputSet *OSystem_PS3::getHardwareInputSet() {
|
|||
|
||||
return inputSet;
|
||||
}
|
||||
|
||||
bool OSystem_PS3::hasFeature(Feature f) {
|
||||
if (f == kFeatureDisplayLogFile ||
|
||||
f == kFeatureOpenUrl ||
|
||||
f == kFeatureSystemBrowserDialog ||
|
||||
f == kFeatureClipboardSupport) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return OSystem_SDL::hasFeature(f);
|
||||
}
|
||||
|
|
|
@ -28,6 +28,7 @@ class OSystem_PS3 : public OSystem_SDL {
|
|||
public:
|
||||
void init() override;
|
||||
void initBackend() override;
|
||||
bool hasFeature(Feature f) override;
|
||||
Common::HardwareInputSet *getHardwareInputSet() override;
|
||||
|
||||
protected:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue