diff options
| author | Max Lingua | 2014-01-17 01:03:34 -0500 | 
|---|---|---|
| committer | Max Lingua | 2014-01-18 13:49:07 -0500 | 
| commit | beee456c688330e044b5ec32e5860f9b3ab4ff2e (patch) | |
| tree | 597abd3bd3e5929a071505153b5202c77c421e19 /backends/platform/ps2/systemps2.cpp | |
| parent | ca2f0f0067a53c468e6eb86a27e87a56ef2f60a5 (diff) | |
| download | scummvm-rg350-beee456c688330e044b5ec32e5860f9b3ab4ff2e.tar.gz scummvm-rg350-beee456c688330e044b5ec32e5860f9b3ab4ff2e.tar.bz2 scummvm-rg350-beee456c688330e044b5ec32e5860f9b3ab4ff2e.zip | |
PS2: support for different gfx modes
Diffstat (limited to 'backends/platform/ps2/systemps2.cpp')
| -rw-r--r-- | backends/platform/ps2/systemps2.cpp | 10 | 
1 files changed, 6 insertions, 4 deletions
| diff --git a/backends/platform/ps2/systemps2.cpp b/backends/platform/ps2/systemps2.cpp index c301ec8d39..ed1c437f01 100644 --- a/backends/platform/ps2/systemps2.cpp +++ b/backends/platform/ps2/systemps2.cpp @@ -323,11 +323,11 @@ OSystem_PS2::OSystem_PS2(const char *elfPath) {  	_screenChangeCount = 0;  	_mouseVisible = false; -	_screen = new Gs2dScreen(320, 200, TV_DONT_CARE); +	// _screen = new Gs2dScreen(320, 200, TV_DONT_CARE); // moved to ::initSize  	sioprintf("Initializing system...\n"); -	_screen->wantAnim(true); +	// _screen->wantAnim(true);  	_bootPath = (char *)malloc(128);  	_bootDevice = detectBootPath(elfPath, _bootPath); @@ -382,8 +382,8 @@ void OSystem_PS2::init(void) {  	prepMC();  	makeConfigPath(); -	_screen->wantAnim(false); -	fillScreen(0); +	// _screen->wantAnim(false); +	// fillScreen(0);  }  void OSystem_PS2::config(void) { @@ -633,6 +633,8 @@ void OSystem_PS2::initSize(uint width, uint height, const Graphics::PixelFormat  	/* ugly hack: we know we can parse ScummVM.ini now */  	if (!_screenChangeCount) { // first round  		config(); +		_screen = new Gs2dScreen(width, height); +		fillScreen(0);  	}  	_screen->newScreenSize(width, height); | 
