From 5534b0ad116431f5c117103b4d41d205516ab1fc Mon Sep 17 00:00:00 2001 From: Mark Sibly Date: Mon, 21 Sep 2015 14:15:37 +1200 Subject: [PATCH] Tweaked reflection module. --- mod/brl.mod/reflection.mod/reflection.bmx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/brl.mod/reflection.mod/reflection.bmx b/mod/brl.mod/reflection.mod/reflection.bmx index 72263aa..1878d7c 100644 --- a/mod/brl.mod/reflection.mod/reflection.bmx +++ b/mod/brl.mod/reflection.mod/reflection.bmx @@ -454,7 +454,7 @@ Type TMethod Extends TMember bbdoc: Invoke method End Rem Method Invoke:Object( obj:Object,args:Object[] ) - If _index<65536 + If _index<4096 Return _Call( bbRefMethodPtr( obj,_index ),_typeId,obj,args,_argTypes ) EndIf Return _Call( Byte Ptr(_index),_typeId,obj,args,_argTypes ) -- 2.30.2