@@ -8,204 +8,204 @@ namespace BizHawk.Client.EmuHawk
8
8
{
9
9
public static class ClientApi
10
10
{
11
- /// <inheritdoc cref="IEmuClient .DoFrameAdvance"/>
11
+ /// <inheritdoc cref="IEmuClientApi .DoFrameAdvance"/>
12
12
public static SystemInfo RunningSystem => GlobalWin . ClientApi . RunningSystem ;
13
13
14
- /// <inheritdoc cref="IEmuClient .BeforeQuickLoad"/>
14
+ /// <inheritdoc cref="IEmuClientApi .BeforeQuickLoad"/>
15
15
public static event BeforeQuickLoadEventHandler BeforeQuickLoad
16
16
{
17
17
add => GlobalWin . ClientApi . BeforeQuickLoad += value ;
18
18
remove => GlobalWin . ClientApi . BeforeQuickLoad -= value ;
19
19
}
20
20
21
- /// <inheritdoc cref="IEmuClient .BeforeQuickSave"/>
21
+ /// <inheritdoc cref="IEmuClientApi .BeforeQuickSave"/>
22
22
public static event BeforeQuickSaveEventHandler BeforeQuickSave
23
23
{
24
24
add => GlobalWin . ClientApi . BeforeQuickSave += value ;
25
25
remove => GlobalWin . ClientApi . BeforeQuickSave -= value ;
26
26
}
27
27
28
- /// <inheritdoc cref="IEmuClient .RomLoaded"/>
28
+ /// <inheritdoc cref="IEmuClientApi .RomLoaded"/>
29
29
public static event EventHandler RomLoaded
30
30
{
31
31
add => GlobalWin . ClientApi . RomLoaded += value ;
32
32
remove => GlobalWin . ClientApi . RomLoaded -= value ;
33
33
}
34
34
35
- /// <inheritdoc cref="IEmuClient .StateLoaded"/>
35
+ /// <inheritdoc cref="IEmuClientApi .StateLoaded"/>
36
36
public static event StateLoadedEventHandler StateLoaded
37
37
{
38
38
add => GlobalWin . ClientApi . StateLoaded += value ;
39
39
remove => GlobalWin . ClientApi . StateLoaded -= value ;
40
40
}
41
41
42
- /// <inheritdoc cref="IEmuClient .StateSaved"/>
42
+ /// <inheritdoc cref="IEmuClientApi .StateSaved"/>
43
43
public static event StateSavedEventHandler StateSaved
44
44
{
45
45
add => GlobalWin . ClientApi . StateSaved += value ;
46
46
remove => GlobalWin . ClientApi . StateSaved -= value ;
47
47
}
48
48
49
- /// <inheritdoc cref="IEmuClient .BorderHeight"/>
49
+ /// <inheritdoc cref="IEmuClientApi .BorderHeight"/>
50
50
public static int BorderHeight ( ) => GlobalWin . ClientApi . BorderHeight ( ) ;
51
51
52
- /// <inheritdoc cref="IEmuClient .BorderWidth"/>
52
+ /// <inheritdoc cref="IEmuClientApi .BorderWidth"/>
53
53
public static int BorderWidth ( ) => GlobalWin . ClientApi . BorderWidth ( ) ;
54
54
55
- /// <inheritdoc cref="IEmuClient .BufferHeight"/>
55
+ /// <inheritdoc cref="IEmuClientApi .BufferHeight"/>
56
56
public static int BufferHeight ( ) => GlobalWin . ClientApi . BufferHeight ( ) ;
57
57
58
- /// <inheritdoc cref="IEmuClient .BufferWidth"/>
58
+ /// <inheritdoc cref="IEmuClientApi .BufferWidth"/>
59
59
public static int BufferWidth ( ) => GlobalWin . ClientApi . BufferWidth ( ) ;
60
60
61
- /// <inheritdoc cref="IEmuClient .ClearAutohold"/>
61
+ /// <inheritdoc cref="IEmuClientApi .ClearAutohold"/>
62
62
public static void ClearAutohold ( ) => GlobalWin . ClientApi . ClearAutohold ( ) ;
63
63
64
- /// <inheritdoc cref="IEmuClient .CloseEmulator"/>
64
+ /// <inheritdoc cref="IEmuClientApi .CloseEmulator"/>
65
65
public static void CloseEmulator ( ) => GlobalWin . ClientApi . CloseEmulator ( ) ;
66
66
67
- /// <inheritdoc cref="IEmuClient .CloseEmulatorWithCode"/>
67
+ /// <inheritdoc cref="IEmuClientApi .CloseEmulatorWithCode"/>
68
68
public static void CloseEmulatorWithCode ( int exitCode ) => GlobalWin . ClientApi . CloseEmulatorWithCode ( exitCode ) ;
69
69
70
- /// <inheritdoc cref="IEmuClient .CloseRom"/>
70
+ /// <inheritdoc cref="IEmuClientApi .CloseRom"/>
71
71
public static void CloseRom ( ) => GlobalWin . ClientApi . CloseRom ( ) ;
72
72
73
- /// <inheritdoc cref="IEmuClient .DisplayMessages"/>
73
+ /// <inheritdoc cref="IEmuClientApi .DisplayMessages"/>
74
74
public static void DisplayMessages ( bool value ) => GlobalWin . ClientApi . DisplayMessages ( value ) ;
75
75
76
- /// <inheritdoc cref="IEmuClient .DoFrameAdvance"/>
76
+ /// <inheritdoc cref="IEmuClientApi .DoFrameAdvance"/>
77
77
public static void DoFrameAdvance ( ) => GlobalWin . ClientApi . DoFrameAdvance ( ) ;
78
78
79
- /// <inheritdoc cref="IEmuClient .DoFrameAdvanceAndUnpause"/>
79
+ /// <inheritdoc cref="IEmuClientApi .DoFrameAdvanceAndUnpause"/>
80
80
public static void DoFrameAdvanceAndUnpause ( ) => GlobalWin . ClientApi . DoFrameAdvanceAndUnpause ( ) ;
81
81
82
- /// <inheritdoc cref="IEmuClient .EnableRewind"/>
82
+ /// <inheritdoc cref="IEmuClientApi .EnableRewind"/>
83
83
public static void EnableRewind ( bool enabled ) => GlobalWin . ClientApi . EnableRewind ( enabled ) ;
84
84
85
- /// <inheritdoc cref="IEmuClient .FrameSkip"/>
85
+ /// <inheritdoc cref="IEmuClientApi .FrameSkip"/>
86
86
public static void FrameSkip ( int numFrames ) => GlobalWin . ClientApi . FrameSkip ( numFrames ) ;
87
87
88
- /// <inheritdoc cref="IEmuClient .GetInput"/>
88
+ /// <inheritdoc cref="IEmuClientApi .GetInput"/>
89
89
public static Joypad GetInput ( int player ) => GlobalWin . ClientApi . GetInput ( player ) ;
90
90
91
- /// <inheritdoc cref="IEmuClient .GetSoundOn"/>
91
+ /// <inheritdoc cref="IEmuClientApi .GetSoundOn"/>
92
92
public static bool GetSoundOn ( ) => GlobalWin . ClientApi . GetSoundOn ( ) ;
93
93
94
- /// <inheritdoc cref="IEmuClient .GetTargetScanlineIntensity"/>
94
+ /// <inheritdoc cref="IEmuClientApi .GetTargetScanlineIntensity"/>
95
95
public static int GetTargetScanlineIntensity ( ) => GlobalWin . ClientApi . GetTargetScanlineIntensity ( ) ;
96
96
97
- /// <inheritdoc cref="IEmuClient .GetWindowSize"/>
97
+ /// <inheritdoc cref="IEmuClientApi .GetWindowSize"/>
98
98
public static int GetWindowSize ( ) => GlobalWin . ClientApi . GetWindowSize ( ) ;
99
99
100
- /// <inheritdoc cref="IEmuClient .InvisibleEmulation"/>
100
+ /// <inheritdoc cref="IEmuClientApi .InvisibleEmulation"/>
101
101
public static void InvisibleEmulation ( bool invisible ) => GlobalWin . ClientApi . InvisibleEmulation ( invisible ) ;
102
102
103
- /// <inheritdoc cref="IEmuClient .IsPaused"/>
103
+ /// <inheritdoc cref="IEmuClientApi .IsPaused"/>
104
104
public static bool IsPaused ( ) => GlobalWin . ClientApi . IsPaused ( ) ;
105
105
106
- /// <inheritdoc cref="IEmuClient .IsSeeking"/>
106
+ /// <inheritdoc cref="IEmuClientApi .IsSeeking"/>
107
107
public static bool IsSeeking ( ) => GlobalWin . ClientApi . IsSeeking ( ) ;
108
108
109
- /// <inheritdoc cref="IEmuClient .IsTurbo"/>
109
+ /// <inheritdoc cref="IEmuClientApi .IsTurbo"/>
110
110
public static bool IsTurbo ( ) => GlobalWin . ClientApi . IsTurbo ( ) ;
111
111
112
- /// <inheritdoc cref="IEmuClient .LoadState"/>
112
+ /// <inheritdoc cref="IEmuClientApi .LoadState"/>
113
113
public static void LoadState ( string name ) => GlobalWin . ClientApi . LoadState ( name ) ;
114
114
115
- /// <inheritdoc cref="IEmuClient .OnBeforeQuickLoad"/>
115
+ /// <inheritdoc cref="IEmuClientApi .OnBeforeQuickLoad"/>
116
116
public static void OnBeforeQuickLoad ( object sender , string quickSaveSlotName , out bool eventHandled ) => GlobalWin . ClientApi . OnBeforeQuickLoad ( sender , quickSaveSlotName , out eventHandled ) ;
117
117
118
- /// <inheritdoc cref="IEmuClient .OnBeforeQuickSave"/>
118
+ /// <inheritdoc cref="IEmuClientApi .OnBeforeQuickSave"/>
119
119
public static void OnBeforeQuickSave ( object sender , string quickSaveSlotName , out bool eventHandled ) => GlobalWin . ClientApi . OnBeforeQuickSave ( sender , quickSaveSlotName , out eventHandled ) ;
120
120
121
- /// <inheritdoc cref="IEmuClient .OnRomLoaded"/>
121
+ /// <inheritdoc cref="IEmuClientApi .OnRomLoaded"/>
122
122
public static void OnRomLoaded ( IEmulator emu ) => GlobalWin . ClientApi . OnRomLoaded ( emu ) ;
123
123
124
- /// <inheritdoc cref="IEmuClient .OnStateLoaded"/>
124
+ /// <inheritdoc cref="IEmuClientApi .OnStateLoaded"/>
125
125
public static void OnStateLoaded ( object sender , string stateName ) => GlobalWin . ClientApi . OnStateLoaded ( sender , stateName ) ;
126
126
127
- /// <inheritdoc cref="IEmuClient .OnStateSaved"/>
127
+ /// <inheritdoc cref="IEmuClientApi .OnStateSaved"/>
128
128
public static void OnStateSaved ( object sender , string stateName ) => GlobalWin . ClientApi . OnStateSaved ( sender , stateName ) ;
129
129
130
- /// <inheritdoc cref="IEmuClient .OpenRom"/>
130
+ /// <inheritdoc cref="IEmuClientApi .OpenRom"/>
131
131
public static void OpenRom ( string path ) => GlobalWin . ClientApi . OpenRom ( path ) ;
132
132
133
- /// <inheritdoc cref="IEmuClient .Pause"/>
133
+ /// <inheritdoc cref="IEmuClientApi .Pause"/>
134
134
public static void Pause ( ) => GlobalWin . ClientApi . Pause ( ) ;
135
135
136
- /// <inheritdoc cref="IEmuClient .PauseAv"/>
136
+ /// <inheritdoc cref="IEmuClientApi .PauseAv"/>
137
137
public static void PauseAv ( ) => GlobalWin . ClientApi . PauseAv ( ) ;
138
138
139
- /// <inheritdoc cref="IEmuClient .RebootCore"/>
139
+ /// <inheritdoc cref="IEmuClientApi .RebootCore"/>
140
140
public static void RebootCore ( ) => GlobalWin . ClientApi . RebootCore ( ) ;
141
141
142
- /// <inheritdoc cref="IEmuClient .SaveRam"/>
142
+ /// <inheritdoc cref="IEmuClientApi .SaveRam"/>
143
143
public static void SaveRam ( ) => GlobalWin . ClientApi . SaveRam ( ) ;
144
144
145
- /// <inheritdoc cref="IEmuClient .SaveState"/>
145
+ /// <inheritdoc cref="IEmuClientApi .SaveState"/>
146
146
public static void SaveState ( string name ) => GlobalWin . ClientApi . SaveState ( name ) ;
147
147
148
- /// <inheritdoc cref="IEmuClient .ScreenHeight"/>
148
+ /// <inheritdoc cref="IEmuClientApi .ScreenHeight"/>
149
149
public static int ScreenHeight ( ) => GlobalWin . ClientApi . ScreenHeight ( ) ;
150
150
151
- /// <inheritdoc cref="IEmuClient .Screenshot"/>
151
+ /// <inheritdoc cref="IEmuClientApi .Screenshot"/>
152
152
public static void Screenshot ( string path = null ) => GlobalWin . ClientApi . Screenshot ( path ) ;
153
153
154
- /// <inheritdoc cref="IEmuClient .ScreenshotToClipboard"/>
154
+ /// <inheritdoc cref="IEmuClientApi .ScreenshotToClipboard"/>
155
155
public static void ScreenshotToClipboard ( ) => GlobalWin . ClientApi . ScreenshotToClipboard ( ) ;
156
156
157
- /// <inheritdoc cref="IEmuClient .ScreenWidth"/>
157
+ /// <inheritdoc cref="IEmuClientApi .ScreenWidth"/>
158
158
public static int ScreenWidth ( ) => GlobalWin . ClientApi . ScreenWidth ( ) ;
159
159
160
- /// <inheritdoc cref="IEmuClient .SeekFrame"/>
160
+ /// <inheritdoc cref="IEmuClientApi .SeekFrame"/>
161
161
public static void SeekFrame ( int frame ) => GlobalWin . ClientApi . SeekFrame ( frame ) ;
162
162
163
- /// <inheritdoc cref="IEmuClient.SetExtraPadding "/>
164
- public static void SetExtraPadding ( int left , int top = 0 , int right = 0 , int bottom = 0 ) => GlobalWin . ClientApi . SetExtraPadding ( left , top , right , bottom ) ;
163
+ /// <inheritdoc cref="IEmuClientApi.SetClientExtraPadding "/>
164
+ public static void SetExtraPadding ( int left , int top = 0 , int right = 0 , int bottom = 0 ) => GlobalWin . ClientApi . SetClientExtraPadding ( left , top , right , bottom ) ;
165
165
166
- /// <inheritdoc cref="IEmuClient .SetGameExtraPadding"/>
166
+ /// <inheritdoc cref="IEmuClientApi .SetGameExtraPadding"/>
167
167
public static void SetGameExtraPadding ( int left , int top = 0 , int right = 0 , int bottom = 0 ) => GlobalWin . ClientApi . SetGameExtraPadding ( left , top , right , bottom ) ;
168
168
169
- /// <inheritdoc cref="IEmuClient .SetInput"/>
169
+ /// <inheritdoc cref="IEmuClientApi .SetInput"/>
170
170
public static void SetInput ( int player , Joypad joypad ) => GlobalWin . ClientApi . SetInput ( player , joypad ) ;
171
171
172
- /// <inheritdoc cref="IEmuClient .SetScreenshotOSD"/>
172
+ /// <inheritdoc cref="IEmuClientApi .SetScreenshotOSD"/>
173
173
public static void SetScreenshotOSD ( bool value ) => GlobalWin . ClientApi . SetScreenshotOSD ( value ) ;
174
174
175
- /// <inheritdoc cref="IEmuClient .SetSoundOn"/>
175
+ /// <inheritdoc cref="IEmuClientApi .SetSoundOn"/>
176
176
public static void SetSoundOn ( bool enable ) => GlobalWin . ClientApi . SetSoundOn ( enable ) ;
177
177
178
- /// <inheritdoc cref="IEmuClient .SetTargetScanlineIntensity"/>
178
+ /// <inheritdoc cref="IEmuClientApi .SetTargetScanlineIntensity"/>
179
179
public static void SetTargetScanlineIntensity ( int val ) => GlobalWin . ClientApi . SetTargetScanlineIntensity ( val ) ;
180
180
181
- /// <inheritdoc cref="IEmuClient .SetWindowSize"/>
181
+ /// <inheritdoc cref="IEmuClientApi .SetWindowSize"/>
182
182
public static void SetWindowSize ( int size ) => GlobalWin . ClientApi . SetWindowSize ( size ) ;
183
183
184
- /// <inheritdoc cref="IEmuClient .SpeedMode"/>
184
+ /// <inheritdoc cref="IEmuClientApi .SpeedMode"/>
185
185
public static void SpeedMode ( int percent ) => GlobalWin . ClientApi . SpeedMode ( percent ) ;
186
186
187
- /// <inheritdoc cref="IEmuClient .TogglePause"/>
187
+ /// <inheritdoc cref="IEmuClientApi .TogglePause"/>
188
188
public static void TogglePause ( ) => GlobalWin . ClientApi . TogglePause ( ) ;
189
189
190
- /// <inheritdoc cref="IEmuClient .TransformPoint"/>
190
+ /// <inheritdoc cref="IEmuClientApi .TransformPoint"/>
191
191
public static Point TransformPoint ( Point point ) => GlobalWin . ClientApi . TransformPoint ( point ) ;
192
192
193
- /// <inheritdoc cref="IEmuClient .Unpause"/>
193
+ /// <inheritdoc cref="IEmuClientApi .Unpause"/>
194
194
public static void Unpause ( ) => GlobalWin . ClientApi . Unpause ( ) ;
195
195
196
- /// <inheritdoc cref="IEmuClient .UnpauseAv"/>
196
+ /// <inheritdoc cref="IEmuClientApi .UnpauseAv"/>
197
197
public static void UnpauseAv ( ) => GlobalWin . ClientApi . UnpauseAv ( ) ;
198
198
199
- /// <inheritdoc cref="IEmuClient.UnpauseEmulation "/>
200
- public static void UnpauseEmulation ( ) => GlobalWin . ClientApi . UnpauseEmulation ( ) ;
199
+ /// <inheritdoc cref="Unpause "/>
200
+ public static void UnpauseEmulation ( ) => Unpause ( ) ;
201
201
202
- /// <inheritdoc cref="IEmuClient .UpdateEmulatorAndVP"/>
202
+ /// <inheritdoc cref="IEmuClientApi .UpdateEmulatorAndVP"/>
203
203
public static void UpdateEmulatorAndVP ( IEmulator emu = null ) => GlobalWin . ClientApi . UpdateEmulatorAndVP ( emu ) ;
204
204
205
- /// <inheritdoc cref="IEmuClient .Xpos"/>
205
+ /// <inheritdoc cref="IEmuClientApi .Xpos"/>
206
206
public static int Xpos ( ) => GlobalWin . ClientApi . Xpos ( ) ;
207
207
208
- /// <inheritdoc cref="IEmuClient .Ypos"/>
208
+ /// <inheritdoc cref="IEmuClientApi .Ypos"/>
209
209
public static int Ypos ( ) => GlobalWin . ClientApi . Ypos ( ) ;
210
210
}
211
211
}
0 commit comments