summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/luacd.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/luacd.cpp b/lib/luacd.cpp
index 85ce5b4..7a44286 100644
--- a/lib/luacd.cpp
+++ b/lib/luacd.cpp
@@ -37,7 +37,7 @@ enum cdutils_methods_t {
CDUTILS_GUESSTYPE,
CDUTILS_SECTORSEEK,
CDUTILS_READSECTOR,
- CDUTILS_READdata,
+ CDUTILS_READDATA,
CDUTILS_READFILE,
CDUTILS_WRITESECTOR,
CDUTILS_WRITEDATA,
@@ -69,10 +69,10 @@ struct lua_functypes_t cdutils_methods[] = {
{ CDUTILS_GUESSTYPE, "guessmode", 0, 1, { BLUA_NUMBER } },
{ CDUTILS_SECTORSEEK, "sectorseek", 1, 1, { BLUA_NUMBER } },
{ CDUTILS_READSECTOR, "readsector", 0, 2, { BLUA_NUMBER, BLUA_NUMBER } },
- { CDUTILS_READdata, "readdata", 1, 3, { BLUA_NUMBER, BLUA_NUMBER, BLUA_NUMBER } },
+ { CDUTILS_READDATA, "readdata", 1, 3, { BLUA_NUMBER, BLUA_NUMBER, BLUA_NUMBER } },
{ CDUTILS_READFILE, "readfile", 2, 4, { BLUA_OBJECT, BLUA_NUMBER, BLUA_NUMBER, BLUA_NUMBER } },
{ CDUTILS_WRITESECTOR, "writesector", 1, 3, { BLUA_TABLE, BLUA_NUMBER, BLUA_NUMBER } },
- { CDUTILS_WRITEDATA, "writedata", 2, 4, { BLUA_TABLE, BLUA_NUMBER, BLUA_NUMBER, BLUA_NUMBER } },
+ { CDUTILS_WRITEDATA, "writedata", 2, 4, { BLUA_TABLE, BLUA_NUMBER, BLUA_NUMBER, BLUA_NUMBER } },
{ CDUTILS_WRITEFILE, "writefile", 1, 4, { BLUA_OBJECT, BLUA_NUMBER, BLUA_NUMBER, BLUA_NUMBER } },
{ CDUTILS_GETISOINFOS, "getisoinfos", 0, 0, 0 },
{ CDUTILS_GETPTINFOS, "getptinfos", 0, 0, 0 },
@@ -104,7 +104,7 @@ class sLua_cdutils : public Base {
DECLARE_METHOD(cdutils, CDUTILS_GUESSTYPE);
DECLARE_METHOD(cdutils, CDUTILS_SECTORSEEK);
DECLARE_METHOD(cdutils, CDUTILS_READSECTOR);
- DECLARE_METHOD(cdutils, CDUTILS_READdata);
+ DECLARE_METHOD(cdutils, CDUTILS_READDATA);
DECLARE_METHOD(cdutils, CDUTILS_READFILE);
DECLARE_METHOD(cdutils, CDUTILS_WRITESECTOR);
DECLARE_METHOD(cdutils, CDUTILS_WRITEDATA);
@@ -140,7 +140,7 @@ void Luacdutils::pushmembers(Lua * L) {
PUSH_METHOD(cdutils, CDUTILS_GUESSTYPE);
PUSH_METHOD(cdutils, CDUTILS_SECTORSEEK);
PUSH_METHOD(cdutils, CDUTILS_READSECTOR);
- PUSH_METHOD(cdutils, CDUTILS_READdata);
+ PUSH_METHOD(cdutils, CDUTILS_READDATA);
PUSH_METHOD(cdutils, CDUTILS_READFILE);
PUSH_METHOD(cdutils, CDUTILS_WRITESECTOR);
PUSH_METHOD(cdutils, CDUTILS_WRITEDATA);
@@ -267,7 +267,7 @@ int sLua_cdutils::cdutils_proceed(Lua * L, int n, cdutils * cd, int caller) {
}
r = 1;
break;
- case CDUTILS_READdata:
+ case CDUTILS_READDATA:
size = L->tonumber(2);
if (n >= 2)
sect = L->tonumber(3);