Always allocate system heap from top of heap

This commit is contained in:
Gliniak
2022-02-14 19:26:31 +01:00
parent dde8adc140
commit 3d96dfa359
4 changed files with 23 additions and 8 deletions

View File

@@ -535,8 +535,7 @@ const std::filesystem::path Emulator::GetNewDiscPath(
{"All Files (*.*)", "*.*"},
});
if (file_picker->Show(
kernel_state()->emulator()->display_window()->native_handle())) {
if (file_picker->Show()) {
auto selected_files = file_picker->selected_files();
if (!selected_files.empty()) {
path = selected_files[0];