mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-13 04:28:37 +00:00
added PROP_GET_GFX_MODE; removed PROP_SHOW_DEFAULT_CURSOR
svn-id: r11132
This commit is contained in:
parent
6a6644bac8
commit
74b496a062
@ -1047,10 +1047,6 @@ uint32 OSystem_GP32::property(int param, Property *value) {
|
||||
|
||||
return 1;
|
||||
|
||||
case PROP_SHOW_DEFAULT_CURSOR:
|
||||
///SDL_ShowCursor(value->show_cursor ? SDL_ENABLE : SDL_DISABLE); //fixme?
|
||||
break;
|
||||
|
||||
case PROP_GET_SAMPLE_RATE:
|
||||
///return SAMPLES_PER_SEC; //ph0x fixme
|
||||
return 22050;
|
||||
|
@ -448,14 +448,6 @@ uint32 OSystem_MorphOS::property(int param, Property *value)
|
||||
break;
|
||||
}
|
||||
|
||||
case PROP_SHOW_DEFAULT_CURSOR:
|
||||
if (value->show_cursor)
|
||||
ClearPointer(ScummWindow);
|
||||
else
|
||||
SetPointer(ScummWindow, ScummNoCursor, 1, 1, 0, 0);
|
||||
ScummOrigMouse = ScummDefaultMouse = value->show_cursor;
|
||||
break;
|
||||
|
||||
case PROP_GET_SAMPLE_RATE:
|
||||
return SAMPLES_PER_SEC;
|
||||
}
|
||||
|
@ -1003,6 +1003,9 @@ uint32 OSystem_SDL_Common::property(int param, Property *value) {
|
||||
case PROP_GET_FULLSCREEN:
|
||||
return _full_screen;
|
||||
|
||||
case PROP_GET_GFX_MODE:
|
||||
return _mode;
|
||||
|
||||
case PROP_SET_WINDOW_CAPTION:
|
||||
SDL_WM_SetCaption(value->caption, value->caption);
|
||||
return 1;
|
||||
@ -1012,7 +1015,7 @@ uint32 OSystem_SDL_Common::property(int param, Property *value) {
|
||||
_cdrom = NULL;
|
||||
else {
|
||||
_cdrom = SDL_CDOpen(value->cd_num);
|
||||
/* Did if open? Check if _cdrom is NULL */
|
||||
// Did it open? Check if _cdrom is NULL
|
||||
if (!_cdrom) {
|
||||
warning("Couldn't open drive: %s", SDL_GetError());
|
||||
} else {
|
||||
@ -1023,10 +1026,6 @@ uint32 OSystem_SDL_Common::property(int param, Property *value) {
|
||||
}
|
||||
break;
|
||||
|
||||
case PROP_SHOW_DEFAULT_CURSOR:
|
||||
SDL_ShowCursor(value->show_cursor ? SDL_ENABLE : SDL_DISABLE);
|
||||
break;
|
||||
|
||||
case PROP_GET_SAMPLE_RATE:
|
||||
return SAMPLES_PER_SEC;
|
||||
}
|
||||
|
@ -1789,9 +1789,6 @@ uint32 OSystem_WINCE3::property(int param, Property *value) {
|
||||
case PROP_SET_GFX_MODE:
|
||||
return 1;
|
||||
|
||||
case PROP_SHOW_DEFAULT_CURSOR:
|
||||
break;
|
||||
|
||||
case PROP_GET_SAMPLE_RATE:
|
||||
return (new_audio_rate ? SAMPLES_PER_SEC_NEW : SAMPLES_PER_SEC_OLD);
|
||||
|
||||
|
@ -89,16 +89,16 @@ public:
|
||||
|
||||
enum {
|
||||
PROP_TOGGLE_FULLSCREEN = 1,
|
||||
PROP_SET_WINDOW_CAPTION = 2,
|
||||
PROP_OPEN_CD = 3,
|
||||
PROP_SET_GFX_MODE = 4,
|
||||
PROP_SHOW_DEFAULT_CURSOR = 5,
|
||||
PROP_GET_SAMPLE_RATE = 6,
|
||||
PROP_GET_FULLSCREEN = 7,
|
||||
PROP_GET_FMOPL_ENV_BITS = 8,
|
||||
PROP_GET_FMOPL_EG_ENT = 9,
|
||||
PROP_TOGGLE_ASPECT_RATIO = 10,
|
||||
PROP_WANT_RECT_OPTIM = 11
|
||||
PROP_SET_WINDOW_CAPTION,
|
||||
PROP_OPEN_CD,
|
||||
PROP_SET_GFX_MODE,
|
||||
PROP_GET_GFX_MODE,
|
||||
PROP_GET_SAMPLE_RATE,
|
||||
PROP_GET_FULLSCREEN,
|
||||
PROP_GET_FMOPL_ENV_BITS,
|
||||
PROP_GET_FMOPL_EG_ENT,
|
||||
PROP_TOGGLE_ASPECT_RATIO,
|
||||
PROP_WANT_RECT_OPTIM
|
||||
};
|
||||
union Property {
|
||||
const char *caption;
|
||||
|
Loading…
Reference in New Issue
Block a user