mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
Fix problems with UWP filesystem in Release builds
This commit is contained in:
parent
4461d32900
commit
20cb84189e
@ -65,9 +65,9 @@ namespace
|
||||
template<typename T>
|
||||
T RunAsync(std::function<concurrency::task<T>()> func)
|
||||
{
|
||||
bool finished = false;
|
||||
Platform::Exception^ exception = nullptr;
|
||||
T result;
|
||||
volatile bool finished = false;
|
||||
volatile Platform::Exception^ exception = nullptr;
|
||||
volatile T result;
|
||||
func().then([&](concurrency::task<T> t) {
|
||||
try
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user