diff options
| author | Max Lingua | 2014-01-18 00:35:58 -0500 | 
|---|---|---|
| committer | Max Lingua | 2014-01-18 13:50:09 -0500 | 
| commit | 61aaf9bafbc86fa26ab377815c62cdcd3332a925 (patch) | |
| tree | d0944ae46ab815ea28f2cb5d62cb84c351fa58cf | |
| parent | 066c2825a6233d8c435f77471856ecf94d2f6047 (diff) | |
| download | scummvm-rg350-61aaf9bafbc86fa26ab377815c62cdcd3332a925.tar.gz scummvm-rg350-61aaf9bafbc86fa26ab377815c62cdcd3332a925.tar.bz2 scummvm-rg350-61aaf9bafbc86fa26ab377815c62cdcd3332a925.zip | |
PS2: reverted createPixelFormat to _overlayFormat
     <1555> alpha is otherwise broken with classic theme
| -rw-r--r-- | backends/platform/ps2/Gs2dScreen.cpp | 8 | 
1 files changed, 4 insertions, 4 deletions
| diff --git a/backends/platform/ps2/Gs2dScreen.cpp b/backends/platform/ps2/Gs2dScreen.cpp index d478805e82..e2bda3c89c 100644 --- a/backends/platform/ps2/Gs2dScreen.cpp +++ b/backends/platform/ps2/Gs2dScreen.cpp @@ -311,12 +311,12 @@ Gs2dScreen::Gs2dScreen(uint16 width, uint16 height) {  	_overlayFormat.rLoss = 3;  	_overlayFormat.gLoss = 3;  	_overlayFormat.bLoss = 3; -	_overlayFormat.aLoss = 7; // 8 +	_overlayFormat.aLoss = 8; // 7  	_overlayFormat.rShift = 0;  	_overlayFormat.gShift = 5;  	_overlayFormat.bShift = 10; -	_overlayFormat.aShift = 15; // 0 +	_overlayFormat.aShift = 0; // 15  	// setup hardware now.  	GS_CSR = CSR_RESET; // Reset GS @@ -652,8 +652,8 @@ void Gs2dScreen::hideOverlay(void) {  }  Graphics::PixelFormat Gs2dScreen::getOverlayFormat(void) { -	// return _overlayFormat; -	return Graphics::createPixelFormat<1555>(); +	return _overlayFormat; +	// return Graphics::createPixelFormat<1555>();  }  int16 Gs2dScreen::getOverlayWidth(void) { | 
