MCPcopy Create free account
hub / github.com/RPCSX/rpcsx / cellPadEnd

Function cellPadEnd

ps3fw/cellPad.cpp:280–293  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

278}
279
280error_code cellPadEnd(ppu_thread& ppu)
281{
282 cellPad.notice("cellPadEnd()");
283
284 std::lock_guard lock(pad::g_pad_mutex);
285
286 auto& config = g_fxo->get<pad_info>();
287
288 if (!config.max_connect.exchange(0))
289 return CELL_PAD_ERROR_UNINITIALIZED;
290
291 sys_config_stop(ppu);
292 return CELL_OK;
293}
294
295void clear_pad_buffer(const std::shared_ptr<Pad>& pad)
296{

Callers

nothing calls this directly

Calls 2

sys_config_stopFunction · 0.85
exchangeMethod · 0.45

Tested by

no test coverage detected