diff --git a/mupen64plus-gui/plugindialog.cpp b/mupen64plus-gui/plugindialog.cpp index a25af26..8b0a3f7 100644 --- a/mupen64plus-gui/plugindialog.cpp +++ b/mupen64plus-gui/plugindialog.cpp @@ -18,8 +18,17 @@ int coreLayoutRow; QGridLayout *videoLayout; int videoRow; -static void paramListCallback(void * context, const char *ParamName, m64p_type ParamType) +static void paramListCallback(void *context, const char *ParamName, m64p_type ParamType) { + if (strcmp((char*)context, "Core") == 0) { + if (strcmp((char*)ParamName, "Version") == 0) return; + else if (strcmp((char*)ParamName, "OnScreenDisplay") == 0) return; + else if (strcmp((char*)ParamName, "NoCompiledJump") == 0) return; + else if (strcmp((char*)ParamName, "EnableDebugger") == 0) return; + else if (strcmp((char*)ParamName, "GbCameraVideoCaptureBackend1") == 0) return; + else if (strcmp((char*)ParamName, "SaveDiskFormat") == 0) return; + } + QGridLayout *my_layout = nullptr; int * my_row = nullptr; m64p_handle current_handle = nullptr;