From 9fd39b42becf35ec1d127494d162193707bc5409 Mon Sep 17 00:00:00 2001 From: riccardom Date: Sat, 4 Jul 2009 09:08:09 +0000 Subject: [PATCH] Sopt hardcoding dTools_list size. --- desmume/src/gtk/dToolsList.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desmume/src/gtk/dToolsList.cpp b/desmume/src/gtk/dToolsList.cpp index 1438d1d0c..1b7e24d16 100644 --- a/desmume/src/gtk/dToolsList.cpp +++ b/desmume/src/gtk/dToolsList.cpp @@ -27,5 +27,5 @@ dTool_t *dTools_list[] = &dTool_ioregsView }; -int dTools_list_size = 1; +int dTools_list_size = ARRAY_SIZE(dTools_list);