From 9940ab9ad74ca0940f1fe71b3c80b7f93f3299ca Mon Sep 17 00:00:00 2001 From: salix5 Date: Sun, 12 Jan 2025 20:30:40 +0800 Subject: [PATCH] fix parameter name --- ocgapi.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ocgapi.cpp b/ocgapi.cpp index 37bb123b2..196eaa5d9 100644 --- a/ocgapi.cpp +++ b/ocgapi.cpp @@ -41,8 +41,8 @@ uint32_t read_card(uint32_t code, card_data* data) { } return creader(code, data); } -uint32_t handle_message(void* pduel, uint32_t msg_type) { - return mhandler((intptr_t)pduel, msg_type); +uint32_t handle_message(void* pduel, uint32_t message_type) { + return mhandler((intptr_t)pduel, message_type); } byte* default_script_reader(const char* script_name, int* slen) { FILE *fp;