Added getDefaultGraphicsMode for DC backend

svn-id: r13285
This commit is contained in:
Max Horn 2004-03-15 00:47:59 +00:00
parent e46ba2f29f
commit a5e01a42b1
2 changed files with 9 additions and 1 deletions

View File

@ -46,12 +46,15 @@ class OSystem_Dreamcast : public OSystem {
// En-/disable the specified feature.
void setFeatureState(Feature f, bool enable);
// Query the state of the specified feature. For example, test whether
// Query the state of the specified feature.
bool getFeatureState(Feature f);
// Retrieve a list of all graphics modes supported by this backend.
const GraphicsMode *getSupportedGraphicsModes() const;
// Return the ID of the 'default' graphics mode.
int getDefaultGraphicsMode() const;
// Switch to the specified graphics mode.
bool setGraphicsMode(int mode);

View File

@ -575,6 +575,11 @@ const OSystem::GraphicsMode *OSystem_Dreamcast::getSupportedGraphicsModes() cons
return gfxmodes;
}
int GraphicsMode *OSystem_Dreamcast::getDefaultGraphicsMode() const
{
return 0;
}
bool OSystem_Dreamcast::setGraphicsMode(int mode)
{
return mode == 0;