Cross-platform screenshots (#543)

Co-authored-by: Tom Lally <tomlally@protonmail.com>
Co-authored-by: Exzap <13877693+Exzap@users.noreply.github.com>
This commit is contained in:
Tom Lally 2022-12-02 03:51:07 +00:00 committed by GitHub
parent 2cfb7f3737
commit b361b154d8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 61 additions and 100 deletions

View file

@ -3,6 +3,7 @@
#include "gui/guiWrapper.h"
#include <wx/mstream.h>
#include <wx/clipbrd.h>
#include "gui/GameUpdateWindow.h"
#include "gui/PadViewFrame.h"
@ -386,6 +387,8 @@ namespace coreinit
void MainWindow::OnClose(wxCloseEvent& event)
{
wxTheClipboard->Flush();
if(m_game_list)
m_game_list->OnClose(event);