mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-06 06:55:09 +00:00
fixed_typemap.hpp: return reference
This commit is contained in:
parent
bbf52f3cea
commit
ea5e837bd6
87 changed files with 3028 additions and 2997 deletions
|
|
@ -242,12 +242,12 @@ error_code cellWebBrowserInitialize(vm::ptr<CellWebBrowserSystemCallback> system
|
|||
{
|
||||
cellSysutil.todo("cellWebBrowserInitialize(system_cb=*0x%x, container=0x%x)", system_cb, container);
|
||||
|
||||
const auto browser = g_fxo->get<browser_info>();
|
||||
browser->system_cb = system_cb;
|
||||
auto& browser = g_fxo->get<browser_info>();
|
||||
browser.system_cb = system_cb;
|
||||
|
||||
sysutil_register_cb([=](ppu_thread& ppu) -> s32
|
||||
sysutil_register_cb([=, &browser](ppu_thread& ppu) -> s32
|
||||
{
|
||||
system_cb(ppu, CELL_SYSUTIL_WEBBROWSER_INITIALIZING_FINISHED, browser->userData);
|
||||
system_cb(ppu, CELL_SYSUTIL_WEBBROWSER_INITIALIZING_FINISHED, browser.userData);
|
||||
return CELL_OK;
|
||||
});
|
||||
|
||||
|
|
@ -276,11 +276,11 @@ void cellWebBrowserShutdown()
|
|||
{
|
||||
cellSysutil.todo("cellWebBrowserShutdown()");
|
||||
|
||||
const auto browser = g_fxo->get<browser_info>();
|
||||
auto& browser = g_fxo->get<browser_info>();
|
||||
|
||||
sysutil_register_cb([=](ppu_thread& ppu) -> s32
|
||||
sysutil_register_cb([=, &browser](ppu_thread& ppu) -> s32
|
||||
{
|
||||
browser->system_cb(ppu, CELL_SYSUTIL_WEBBROWSER_SHUTDOWN_FINISHED, browser->userData);
|
||||
browser.system_cb(ppu, CELL_SYSUTIL_WEBBROWSER_SHUTDOWN_FINISHED, browser.userData);
|
||||
return CELL_OK;
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue