aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/player_v2a.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/scumm/player_v2a.cpp')
-rw-r--r--engines/scumm/player_v2a.cpp11
1 files changed, 1 insertions, 10 deletions
diff --git a/engines/scumm/player_v2a.cpp b/engines/scumm/player_v2a.cpp
index 7096021be9..575281a26a 100644
--- a/engines/scumm/player_v2a.cpp
+++ b/engines/scumm/player_v2a.cpp
@@ -32,11 +32,8 @@ namespace Scumm {
#define BASE_FREQUENCY 3579545
-#ifdef PALMOS_68K
-static uint32 *CRCtable = NULL;
-#else
static uint32 CRCtable[256];
-#endif
+
static void InitCRC (void)
{
@@ -1309,9 +1306,6 @@ Player_V2A::Player_V2A(ScummEngine *scumm, Audio::Mixer *mixer) {
int i;
_vm = scumm;
-#ifdef PALMOS_68K
- if (!CRCtable) CRCtable = (uint32 *)calloc(256, sizeof(uint32));
-#endif
InitCRC();
for (i = 0; i < V2A_MAXSLOTS; i++) {
@@ -1325,9 +1319,6 @@ Player_V2A::Player_V2A(ScummEngine *scumm, Audio::Mixer *mixer) {
Player_V2A::~Player_V2A() {
delete _mod;
-#ifdef PALMOS_68K
- free(CRCtable);
-#endif
}
void Player_V2A::setMusicVolume (int vol) {