@@ -124,6 +124,54 @@ enum class TargetEventType {
124
124
TET_SIGNAL = 11 ,
125
125
};
126
126
127
+ namespace PCSX {
128
+
129
+ namespace {
130
+
131
+ typedef Protobuf::Message<TYPESTRING(" ErrorRequest" )> ErrorRequest;
132
+
133
+ typedef Protobuf::Field<Protobuf::Int32, TYPESTRING(" code" ), 1 > ErrorReplyCode;
134
+ typedef Protobuf::Field<Protobuf::String, TYPESTRING(" message" ), 2 > ErrorReplyMessage;
135
+ typedef Protobuf::Message<TYPESTRING(" ErrorReply" ), ErrorReplyCode, ErrorReplyMessage> ErrorReply;
136
+
137
+ typedef Protobuf::RepeatedFieldVariable<Protobuf::String, TYPESTRING(" version" ), 1 > ConnectRequestVersion;
138
+ typedef Protobuf::Message<TYPESTRING(" ConnectRequest" ), ConnectRequestVersion> ConnectRequest;
139
+
140
+ typedef Protobuf::Field<Protobuf::String, TYPESTRING(" version" ), 1 > ConnectReplyVersion;
141
+ typedef Protobuf::Field<Protobuf::String, TYPESTRING(" schema_context" ), 2 > ConnectReplySchemaContext;
142
+ typedef Protobuf::Field<Protobuf::String, TYPESTRING(" root_schema" ), 3 > ConnectReplyRootSchema;
143
+ typedef Protobuf::Message<TYPESTRING(" ConnectReply" ), ConnectReplyVersion, ConnectReplySchemaContext,
144
+ ConnectReplyRootSchema>
145
+ ConnectReply;
146
+
147
+ typedef Protobuf::Field<Protobuf::String, TYPESTRING(" content" ), 1 > PingContent;
148
+ typedef Protobuf::Message<TYPESTRING(" PingRequest" ), PingContent> PingRequest;
149
+ typedef Protobuf::Message<TYPESTRING(" PingReply" ), PingContent> PingReply;
150
+
151
+ typedef Protobuf::Field<Protobuf::String, TYPESTRING(" space" ), 1 > AddressSpace;
152
+ typedef Protobuf::Field<Protobuf::UInt64, TYPESTRING(" offset" ), 2 > AddressOffset;
153
+ typedef Protobuf::Field<Protobuf::UInt32, TYPESTRING(" extend" ), 3 > AddressExtend;
154
+ typedef Protobuf::Message<TYPESTRING(" Address" ), AddressSpace, AddressOffset> Address;
155
+ typedef Protobuf::Message<TYPESTRING(" AddressRange" ), AddressSpace, AddressOffset, AddressExtend> AddressRange;
156
+
157
+ typedef Protobuf::RepeatedFieldVariable<Protobuf::String, TYPESTRING(" e" ), 1 > PathElement;
158
+ typedef Protobuf::Message<TYPESTRING(" Path" ), PathElement> Path;
159
+ typedef Protobuf::RepeatedFieldVariable<Path, TYPESTRING(" path" ), 1 > PathListPath;
160
+ typedef Protobuf::Message<TYPESTRING(" path" ), PathListPath> PathList;
161
+
162
+ typedef Protobuf::RepeatedFieldVariable<Protobuf::Int32, TYPESTRING(" k" ), 1 > KindSet;
163
+ typedef Protobuf::Message<TYPESTRING(" BreakKindSet" ), KindSet> BreakKindSet;
164
+ typedef Protobuf::Message<TYPESTRING(" StepKindsSet" ), KindSet> StepKindsSet;
165
+
166
+ typedef Protobuf::RepeatedFieldVariable<Protobuf::String, TYPESTRING(" s" ), 1 > StringListField;
167
+ typedef Protobuf::Message<TYPESTRING(" StringList" ), StringListField> StringList;
168
+
169
+ typedef Protobuf::Message<TYPESTRING(" AttachKindSet" ), KindSet> AttachKindSet;
170
+
171
+ } // namespace
172
+
173
+ } // namespace PCSX
174
+
127
175
PCSX::GadpServer::GadpServer () : m_listener(g_system->m_eventBus) {
128
176
m_listener.listen <Events::SettingsLoaded>([this ](const auto & event) {
129
177
if (g_emulator->settings .get <Emulator::SettingGadpServer>()) {
0 commit comments