mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-16 14:50:17 +00:00
PalmOS ifdef
svn-id: r19473
This commit is contained in:
parent
54c47e3985
commit
35748cfe92
@ -1523,7 +1523,7 @@ void Control::delay(unsigned int amount) {
|
||||
_mouseY = event.mouse.y;
|
||||
break;
|
||||
case OSystem::EVENT_LBUTTONDOWN:
|
||||
#ifdef __PALM_OS__
|
||||
#ifdef PALMOS_MODE
|
||||
_mouseX = event.mouse.x;
|
||||
_mouseY = event.mouse.y;
|
||||
#endif
|
||||
|
@ -28,7 +28,7 @@
|
||||
#include "sky/sky.h"
|
||||
#include "sky/struc.h"
|
||||
|
||||
#if defined(__PALM_OS__)
|
||||
#if defined(PALMOS_68K)
|
||||
#include "arm/native.h"
|
||||
#include "arm/macros.h"
|
||||
#endif
|
||||
@ -164,7 +164,7 @@ uint8 *Disk::loadFile(uint16 fileNr) {
|
||||
if ((fileFlags >> 22) & 0x1) { //do we include the header?
|
||||
// don't return the file's header
|
||||
output = uncompDest;
|
||||
#ifdef __PALM_OS__
|
||||
#ifdef PALMOS_68K
|
||||
ARM_START(RncDecoderType)
|
||||
ARM_INIT(SKY_UNPACKM1)
|
||||
ARM_ADDM(input)
|
||||
@ -184,7 +184,7 @@ uint8 *Disk::loadFile(uint16 fileNr) {
|
||||
memcpy(uncompDest, fileDest, sizeof(dataFileHeader));
|
||||
output = uncompDest + sizeof(dataFileHeader);
|
||||
|
||||
#ifdef __PALM_OS__
|
||||
#ifdef PALMOS_68K
|
||||
ARM_START(RncDecoderType)
|
||||
ARM_INIT(SKY_UNPACKM1)
|
||||
ARM_ADDM(input)
|
||||
|
@ -23,7 +23,7 @@
|
||||
|
||||
namespace Sky {
|
||||
|
||||
#ifdef __PALM_OS__
|
||||
#ifdef PALMOS_68K
|
||||
const HuffTree *Text::_huffTree_00109;
|
||||
const HuffTree *Text::_huffTree_00267;
|
||||
const HuffTree *Text::_huffTree_00288;
|
||||
@ -2015,7 +2015,7 @@ const HuffTree Text::_huffTree_00372[] = {
|
||||
|
||||
} // End of namespace Sky
|
||||
|
||||
#ifdef __PALM_OS__
|
||||
#ifdef PALMOS_68K
|
||||
#include "scumm_globals.h"
|
||||
|
||||
_GINIT(Sky_Hufftext)
|
||||
|
@ -472,14 +472,14 @@ void SkyEngine::delay(int32 amount) {
|
||||
}
|
||||
break;
|
||||
case OSystem::EVENT_LBUTTONDOWN:
|
||||
#ifdef __PALM_OS__
|
||||
#ifdef PALMOS_MODE
|
||||
_mouseX = event.mouse.x;
|
||||
_mouseY = event.mouse.y;
|
||||
#endif
|
||||
_skyMouse->buttonPressed(2);
|
||||
break;
|
||||
case OSystem::EVENT_RBUTTONDOWN:
|
||||
#ifdef __PALM_OS__
|
||||
#ifdef PALMOS_MODE
|
||||
_mouseX = event.mouse.x;
|
||||
_mouseY = event.mouse.y;
|
||||
#endif
|
||||
|
@ -103,7 +103,7 @@ protected:
|
||||
bool _dtCentre; //set for centre text
|
||||
uint32 _lowTextWidth, _mouseOfsX, _mouseOfsY;
|
||||
|
||||
#ifndef __PALM_OS__
|
||||
#ifndef PALMOS_68K
|
||||
static const HuffTree _huffTree_00109[]; // trees moved to hufftext.cpp
|
||||
static const HuffTree _huffTree_00267[];
|
||||
static const HuffTree _huffTree_00288[];
|
||||
|
Loading…
Reference in New Issue
Block a user