mirror of
https://github.com/SysRay/psOff_public.git
synced 2024-11-27 00:20:54 +00:00
Reformat lambda thingy
This commit is contained in:
parent
8c47717fec
commit
be8d3a8656
@ -40,11 +40,14 @@ EXPORT SYSV_ABI int sceNpTrophyCreateContext(SceNpTrophyContext* context, int32_
|
||||
if (ctx.created) return Err::NpTrophy::ALREADY_EXISTS;
|
||||
// static std::once_flag init;
|
||||
// std::call_once(init, []() {
|
||||
// ITrophies::trp_ent_cb ent = {.func = [](ITrophies::trp_ent_cb::data_t* data) {
|
||||
// LOG_USE_MODULE(libSceNpTrophy);
|
||||
// LOG_ERR(L"Trophy! %S: %S (id:%d)", data->name.c_str(), data->detail.c_str(), data->id);
|
||||
// return false; // Do not cancel this callback
|
||||
// }};
|
||||
// ITrophies::trp_ent_cb ent = {
|
||||
// .func =
|
||||
// [](ITrophies::trp_ent_cb::data_t* data) {
|
||||
// LOG_USE_MODULE(libSceNpTrophy);
|
||||
// LOG_ERR(L"Trophy! %S: %S (id:%d)", data->name.c_str(), data->detail.c_str(), data->id);
|
||||
// return false; // Do not cancel this callback
|
||||
// },
|
||||
// };
|
||||
// accessTrophies().parseTRP(nullptr, &ent);
|
||||
// });
|
||||
ctx.created = true;
|
||||
|
Loading…
Reference in New Issue
Block a user