Skip to content

Commit 49f8566

Browse files
committed
Fix error using string arguments with RPC.
1 parent 33f42ba commit 49f8566

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ps3api/rpc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ def __call__(self, *Args):
287287
WantedType = ArgType._type_.__ctype_be__
288288
Bytes = bytearray(WantedType(ArgValue))
289289

290-
CallContext.AddGPRegister(Context.AddArgData(Bytes))
290+
CallContext.AddGPRegister(CallContext.AddArgData(Bytes))
291291

292292
# elif issubclass(ArgType, Array):
293293
# WantedType = ARRAY(ArgType._type_.__ctype_be__, ArgType._length_)

0 commit comments

Comments
 (0)