Skip to content

Commit

Permalink
Fix error using string arguments with RPC.
Browse files Browse the repository at this point in the history
  • Loading branch information
iMoD1998 committed Jan 4, 2022
1 parent 33f42ba commit 49f8566
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ps3api/rpc.py
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ def __call__(self, *Args):
WantedType = ArgType._type_.__ctype_be__
Bytes = bytearray(WantedType(ArgValue))

CallContext.AddGPRegister(Context.AddArgData(Bytes))
CallContext.AddGPRegister(CallContext.AddArgData(Bytes))

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

0 comments on commit 49f8566

Please sign in to comment.