--- a/trunk/arm9/source/misc.c
+++ b/trunk/arm9/source/misc.c
@@ -6,7 +6,7 @@
 #include "menu.h"
 
 int save_slots = 0;
-int load_slots = 0;
+int slots_num = 0;
 
 //a bad idea...
 void reg4015interrupt(u32 msg, void *none)
@@ -270,10 +270,10 @@
 {
 	switch(func) {
 	case 0:
-		read_savestate(load_slots);
+		read_savestate(slots_num);
 		break;
 	case 1:
-		write_savestate(save_slots);
+		write_savestate(slots_num);
 		break;
 	case 2:
 		__emuflags &= ~LIGHTGUN;