diff options
| author | Max Lingua | 2014-01-18 02:10:18 -0500 |
|---|---|---|
| committer | Max Lingua | 2014-01-18 13:50:19 -0500 |
| commit | d211d579a2666f39e9af79b2f4d39e289167e948 (patch) | |
| tree | 7fbc588931c410b932eeafda6b84686e8aa2ae17 | |
| parent | 61aaf9bafbc86fa26ab377815c62cdcd3332a925 (diff) | |
| download | scummvm-rg350-d211d579a2666f39e9af79b2f4d39e289167e948.tar.gz scummvm-rg350-d211d579a2666f39e9af79b2f4d39e289167e948.tar.bz2 scummvm-rg350-d211d579a2666f39e9af79b2f4d39e289167e948.zip | |
PS2: do not assume _tvMode and _gfxMode are init 0
| -rw-r--r-- | backends/platform/ps2/Gs2dScreen.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/backends/platform/ps2/Gs2dScreen.cpp b/backends/platform/ps2/Gs2dScreen.cpp index e2bda3c89c..4d4143e860 100644 --- a/backends/platform/ps2/Gs2dScreen.cpp +++ b/backends/platform/ps2/Gs2dScreen.cpp @@ -164,6 +164,9 @@ Gs2dScreen::Gs2dScreen(uint16 width, uint16 height) { EnableIntc(INT_VBLANK_END); EnableDmac(2); + _tvMode = 0; // force detection + _gfxMode = 0; + _width = width; _height = height; _pitch = (width + 127) & ~127; |
