diff options
author | germeier <germeier> | 2004-05-31 09:28:49 +0000 |
---|---|---|
committer | germeier <germeier> | 2004-05-31 09:28:49 +0000 |
commit | 02dec855fa9917459c6ecf25ec2c6b10d76f9d7a (patch) | |
tree | dd80e98cee1516fc72e7e009837c5fe7fd931fb2 /libmpio/src | |
parent | ce23b1180a4e5a97971a2dda64bc6706338e45e6 (diff) | |
download | mpiosh-02dec855fa9917459c6ecf25ec2c6b10d76f9d7a.tar.gz mpiosh-02dec855fa9917459c6ecf25ec2c6b10d76f9d7a.tar.bz2 mpiosh-02dec855fa9917459c6ecf25ec2c6b10d76f9d7a.zip |
fixed stupid bugs
Diffstat (limited to 'libmpio/src')
-rw-r--r-- | libmpio/src/mpio.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libmpio/src/mpio.c b/libmpio/src/mpio.c index 60e89d5..9484ed2 100644 --- a/libmpio/src/mpio.c +++ b/libmpio/src/mpio.c @@ -1,5 +1,5 @@ /* - * $Id: mpio.c,v 1.16 2004/05/30 16:28:52 germeier Exp $ + * $Id: mpio.c,v 1.17 2004/05/31 09:28:50 germeier Exp $ * * libmpio - a library for accessing Digit@lways MPIO players * Copyright (C) 2002-2004 Markus Germeier @@ -251,14 +251,14 @@ mpio_init_external(mpio_t *m) BYTE e_offset = 0x20; /* these players have a MMC/SD slot */ - if ((m->model != MPIO_MODEL_VP_02) && - (m->model != MPIO_MODEL_FL100)) { + if ((m->model == MPIO_MODEL_VP_02) || + (m->model == MPIO_MODEL_FL100)) { debugn(0, "Trying to detect external MMC. This is work in progress. BEWARE!!\n"); debugn(0, "Please report your findings to mpio-devel@lists.sourceforge.net\n"); debugn(0, "and include the following information block\n"); hexdumpn(0, m->version, 64); - mpio_mmc_detect_memory(m, sm); + mpio_mmc_detect_memory(m, MPIO_EXTERNAL_MEM); if (sm->size) { debugn(0, "You are lucky! ;-) I found a %d MB MMC card.\n", sm->size); |