Skip to content

Commit

Permalink
Log lpstring_t contents.
Browse files Browse the repository at this point in the history
  • Loading branch information
gibbed committed Jan 9, 2017
1 parent ac7dce7 commit d17d02f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/xenia/kernel/util/shim_utils.h
Expand Up @@ -372,6 +372,12 @@ inline void AppendParam(StringBuffer* string_buffer, lpdouble_t param) {
string_buffer->AppendFormat("(%G)", param.value());
}
}
inline void AppendParam(StringBuffer* string_buffer, lpstring_t param) {
string_buffer->AppendFormat("%.8X", param.guest_address());
if (param) {
string_buffer->AppendFormat("(%s)", param.value().c_str());
}
}
inline void AppendParam(StringBuffer* string_buffer,
pointer_t<X_OBJECT_ATTRIBUTES> record) {
string_buffer->AppendFormat("%.8X", record.guest_address());
Expand Down

0 comments on commit d17d02f

Please sign in to comment.