Commit graph

11 commits

Author SHA1 Message Date
Henrik Rydgård
1304d04161 Fix a particular type of race condition in file dialog requests
It seems to be possible for a user to back out of a screen before
receiving the "dialog completed" callback on Android, in which case
things pointed to by the callback might be gone.

In this case, it's better to simply not call the callback, rather than
crashing.

This is accomplished by assigning "Tokens" to screens that cause
requests, and in ~Screen, invalidate any pending requests belonging to
that token.
2024-01-18 12:25:55 +01:00
Henrik Rydgård
56c26eef4d Remove the old AsyncFileDialog thingy 2023-03-24 21:32:20 +01:00
Henrik Rydgård
e9f5394f59 Move the Windows open file dialog to the new system, switch the background image selector over. 2023-03-22 14:53:07 +01:00
Unknown W. Brackets
0f5ebd210a Windows: Add missing header for menu. 2021-02-28 07:51:38 -08:00
Henrik Rydgård
9e41fafd0d Move math and some file and data conversion files out from native to Common.
Buildfixing

Move some file util files

Buildfix

Move KeyMap.cpp/h to Core where they belong better.

libretro buildfix attempt

Move ini_file

More buildfixes
2020-10-04 09:12:46 +02:00
Henrik Rydgard
0a0aa02aae Win32: Enable/disable menu items when a menu is popped down. Allows us to avoid calling UpdateUI from sceUmd. Should fix #9546 2017-04-04 10:11:03 +02:00
Unknown W. Brackets
e59ebf8ad9 Windows: Add option to browse for bg image.
And also to clear the image.
2017-04-02 10:50:09 -07:00
Unknown W. Brackets
0f08e90bc6 Windows: Remove an unused function. 2017-03-18 13:47:26 -07:00
sum2012
bd6764b65e Fix "Akaya Akashiya Ayakashi" umd switch
Also,make "switch umd" menu enable faster,
2017-01-28 11:51:20 +08:00
Henrik Rydgard
9bf47514b8 Assorted Windows cleanup 2015-09-19 14:43:50 +02:00
Henrik Rydgard
4c46c8aea9 Split out the menu handling from WndMainWindow.cpp 2015-09-19 13:11:06 +02:00