aboutsummaryrefslogtreecommitdiff
path: root/sky
diff options
context:
space:
mode:
authorChris Apers2005-12-03 19:04:33 +0000
committerChris Apers2005-12-03 19:04:33 +0000
commit64bfec97d947f36495241cd4b41763bbde638f85 (patch)
treef71ce6d5c2140fbda57b4ae65385aebe238add92 /sky
parent71e21f0fdf996348afe256b51305c5cd5fba8e8a (diff)
downloadscummvm-rg350-64bfec97d947f36495241cd4b41763bbde638f85.tar.gz
scummvm-rg350-64bfec97d947f36495241cd4b41763bbde638f85.tar.bz2
scummvm-rg350-64bfec97d947f36495241cd4b41763bbde638f85.zip
Not needed anymore :)
svn-id: r19735
Diffstat (limited to 'sky')
-rw-r--r--sky/disk.cpp22
1 files changed, 0 insertions, 22 deletions
diff --git a/sky/disk.cpp b/sky/disk.cpp
index 005a122f16..22091cc72b 100644
--- a/sky/disk.cpp
+++ b/sky/disk.cpp
@@ -28,11 +28,6 @@
#include "sky/sky.h"
#include "sky/struc.h"
-#if defined(PALMOS_68K)
-#include "arm/native.h"
-#include "arm/macros.h"
-#endif
-
namespace Sky {
static const char *dataFilename = "sky.dsk";
@@ -164,14 +159,6 @@ uint8 *Disk::loadFile(uint16 fileNr) {
if ((fileFlags >> 22) & 0x1) { //do we include the header?
// don't return the file's header
output = uncompDest;
-#ifdef PALMOS_68K
- ARM_START(RncDecoderType)
- ARM_INIT(SKY_UNPACKM1)
- ARM_ADDM(input)
- ARM_ADDM(output)
- ARM_CALL_VALUE(ARM_ENGINE, PNO_DATA(), unpackLen)
- ARM_CONTINUE()
-#endif
unpackLen = _rncDecoder.unpackM1(input, output, 0);
} else {
#ifdef SCUMM_BIG_ENDIAN
@@ -183,15 +170,6 @@ uint8 *Disk::loadFile(uint16 fileNr) {
memcpy(uncompDest, fileDest, sizeof(dataFileHeader));
output = uncompDest + sizeof(dataFileHeader);
-
-#ifdef PALMOS_68K
- ARM_START(RncDecoderType)
- ARM_INIT(SKY_UNPACKM1)
- ARM_ADDM(input)
- ARM_ADDM(output)
- ARM_CALL_VALUE(ARM_ENGINE, PNO_DATA(), unpackLen)
- ARM_CONTINUE()
-#endif
unpackLen = _rncDecoder.unpackM1(input, output, 0);
if (unpackLen)
unpackLen += sizeof(dataFileHeader);