[Scummvm-devel] SamsungTV backend
Pawel Kolodziejski
aquadran at xtr.net.pl
Sat Nov 14 14:37:02 CET 2009
On 2009-11-13, at 00:18, Max Horn wrote:
> Hi Pawel,
>
> so I gather you are making some good progress, nice. One small
> request: Could you please rename samsungtv/sdl.* ? E.g. to
> samsungtv.cpp and samsungtv.h
>
> I also performed some cleanup on the code, but can't test it, so
> here it is as a patch. Finally, you might want to add a README with
> some instructions on how to compile this port (and we could set it
> up on the buildbot, too).
>
>
> Cheers,
> Max
> <samsungtv.patch>
Forgot to mention how it look that part after change.
bool OSystem_SDL_SamsungTV::loadGFXMode() {
OSystem_SDL::loadGFXMode();
_realhwscreen = SDL_SetVideoMode(_videoMode.hardwareWidth,
_videoMode.hardwareHeight, 32,
_videoMode.fullscreen ? (SDL_FULLSCREEN|
SDL_SWSURFACE) : SDL_SWSURFACE);
return true;
}
No need to check result as tv accept any resolution, even like 40x40.
Pawel
More information about the Scummvm-devel
mailing list