mirror of
https://github.com/bsnes-emu/bsnes.git
synced 2025-08-12 00:44:16 +02:00
v114.5
* improved appended firmware detection [devinacker] * added dynamic rate control support to ALSA and PulseAudio drivers [RedDwarf] * added option to use native file dialogs
This commit is contained in:
@@ -6,6 +6,13 @@ static auto Application_keyboardProc(HWND, UINT, WPARAM, LPARAM) -> bool;
|
||||
static auto Application_processDialogMessage(MSG&) -> void;
|
||||
static auto CALLBACK Window_windowProc(HWND, UINT, WPARAM, LPARAM) -> LRESULT;
|
||||
|
||||
auto pApplication::exit() -> void {
|
||||
quit();
|
||||
auto processID = GetCurrentProcessId();
|
||||
auto handle = OpenProcess(SYNCHRONIZE | PROCESS_TERMINATE, true, processID);
|
||||
TerminateProcess(handle, 0);
|
||||
}
|
||||
|
||||
auto pApplication::modal() -> bool {
|
||||
return state().modalCount > 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user