mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-04 09:18:38 +00:00
spelling
svn-id: r16762
This commit is contained in:
parent
0da123d601
commit
a13e8a98ff
@ -137,7 +137,7 @@ static void AppStopMathLib() {
|
||||
}
|
||||
|
||||
// Set the screen pitch for direct screen access
|
||||
// avaliable only before a game start
|
||||
// available only before a game start
|
||||
void WinScreenGetPitch() {
|
||||
if (OPTIONS_TST(kOptModeHiDensity)) {
|
||||
WinScreenGetAttribute(winScreenRowBytes, &(gVars->screenPitch));
|
||||
@ -381,8 +381,8 @@ Err AppStart(void) {
|
||||
GamImportDatabase();
|
||||
|
||||
AppStartCheckScreenSize();
|
||||
AppStartCheckNotify(); // not fatal error if not avalaible
|
||||
AppStartSetMemory(); // set memory required by the differents engines
|
||||
AppStartCheckNotify(); // not fatal error if not available
|
||||
AppStartSetMemory(); // set memory required by the different engines
|
||||
|
||||
// force ARM option if bDirectMode
|
||||
if (!error)
|
||||
|
@ -193,13 +193,13 @@ void OSystem_PALMOS::load_gfx_mode() {
|
||||
|
||||
// only for 320x200 games
|
||||
if (!(_screenWidth == 320 && _screenHeight == 200)) {
|
||||
warning("Wide display not avalaible for this game, switching to GFX_NORMAL mode.");
|
||||
warning("Wide display not available for this game, switching to GFX_NORMAL mode.");
|
||||
_mode = GFX_NORMAL;
|
||||
}
|
||||
}
|
||||
|
||||
} else {
|
||||
warning("HiRes+ not avalaible on this device, switching to GFX_NORMAL mode.");
|
||||
warning("HiRes+ not available on this device, switching to GFX_NORMAL mode.");
|
||||
_mode = GFX_NORMAL;
|
||||
}
|
||||
}
|
||||
@ -318,7 +318,7 @@ void OSystem_PALMOS::load_gfx_mode() {
|
||||
// try to allocate on storage heap, TODO : error if failed
|
||||
FtrPtrNew(appFileCreator, ftrBufferOverlay, _screenWidth * _screenHeight, (void **)&_tmpScreenP);
|
||||
FtrPtrNew(appFileCreator, ftrBufferBackup, _screenWidth * _screenHeight, (void **)&_tmpBackupP);
|
||||
// only if wide mode avalaible
|
||||
// only if wide mode available
|
||||
if OPTIONS_TST(kOptModeWide)
|
||||
FtrPtrNew(appFileCreator, ftrBufferHotSwap, _screenWidth * _screenHeight, (void **)&_tmpHotSwapP);
|
||||
|
||||
|
@ -3,11 +3,11 @@
|
||||
|
||||
// OSystem : wide display
|
||||
// consider ony 480x320 screens
|
||||
// only avalaible for 320x200 games, so use values instead of vars
|
||||
// only available for 320x200 games, so use values instead of vars
|
||||
#define WIDE_PITCH 320 // pitch in portrait mode
|
||||
#define WIDE_FULL_WIDTH 320 // original screen size
|
||||
#define WIDE_HALF_WIDTH 160 // 320 / 2
|
||||
#define WIDE_HALF_HEIGHT 100 // 200 / 2
|
||||
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user