diff --git a/d2x-rebirth/libmve/mvelib.cpp b/d2x-rebirth/libmve/mvelib.cpp index 7a1e0513a..009678d74 100644 --- a/d2x-rebirth/libmve/mvelib.cpp +++ b/d2x-rebirth/libmve/mvelib.cpp @@ -278,7 +278,7 @@ int mve_play_next_chunk(MVESTREAM &movie) r = movie.handle_mve_segment_audioframedata(major, data); break; case mve_opcode::initvideomode: - r = movie.handle_mve_segment_initvideomode(major, minor, data, len, movie.context); + r = movie.handle_mve_segment_initvideomode(data); break; case mve_opcode::setpalette: r = movie.handle_mve_segment_setpalette(major, minor, data, len, movie.context); diff --git a/d2x-rebirth/libmve/mvelib.h b/d2x-rebirth/libmve/mvelib.h index 5118cbffb..33828d8b8 100644 --- a/d2x-rebirth/libmve/mvelib.h +++ b/d2x-rebirth/libmve/mvelib.h @@ -108,7 +108,7 @@ struct MVESTREAM int handle_mve_segment_initvideobuffers(unsigned char minor, const unsigned char *data); int handle_mve_segment_displayvideo(); int handle_mve_segment_audioframedata(mve_opcode major, const unsigned char *data); - int handle_mve_segment_initvideomode(mve_opcode major, unsigned char minor, const unsigned char *data, int len, void *context); + int handle_mve_segment_initvideomode(const unsigned char *data); int handle_mve_segment_setpalette(mve_opcode major, unsigned char minor, const unsigned char *data, int len, void *context); int handle_mve_segment_setdecodingmap(mve_opcode major, unsigned char minor, const unsigned char *data, int len, void *context); int handle_mve_segment_videodata(mve_opcode major, unsigned char minor, const unsigned char *data, int len, void *context); diff --git a/d2x-rebirth/libmve/mveplay.cpp b/d2x-rebirth/libmve/mveplay.cpp index b59e49313..4b8d6587c 100644 --- a/d2x-rebirth/libmve/mveplay.cpp +++ b/d2x-rebirth/libmve/mveplay.cpp @@ -579,7 +579,7 @@ int MVESTREAM::handle_mve_segment_displayvideo() return 1; } -int MVESTREAM::handle_mve_segment_initvideomode(mve_opcode, unsigned char, const unsigned char *data, int, void *) +int MVESTREAM::handle_mve_segment_initvideomode(const unsigned char *data) { short width, height;