mirror of
https://github.com/RPCSX/rpcsx.git
synced 2025-12-06 07:12:14 +01:00
32 lines
525 B
C++
32 lines
525 B
C++
#include "stdafx.h"
|
|
#include "overlays.h"
|
|
#include "GSRender.h"
|
|
|
|
namespace rsx
|
|
{
|
|
namespace overlays
|
|
{
|
|
//Singleton instance declaration
|
|
fontmgr* fontmgr::m_instance = nullptr;
|
|
|
|
void user_interface::close()
|
|
{
|
|
//Force unload
|
|
exit = true;
|
|
if (auto rsxthr = fxm::get<GSRender>())
|
|
rsxthr->shell_close_dialog();
|
|
|
|
if (on_close)
|
|
on_close(return_code);
|
|
}
|
|
|
|
void user_interface::refresh()
|
|
{
|
|
if (auto rsxthr = fxm::get<GSRender>())
|
|
{
|
|
rsxthr->native_ui_flip_request.store(true);
|
|
}
|
|
}
|
|
}
|
|
}
|