mirror of
https://github.com/bsnes-emu/bsnes.git
synced 2025-08-19 09:41:09 +02:00
Update to 20180729 release.
byuu wrote: Sigh ... asio.hpp needs #include <nall/windows/registry.hpp> [Since the last WIP, byuu also posted the following message. -Ed.] ruby drivers have all been updated (but not tested outside of BSD), and I redesigned the settings window. The driver functionality all exists on a new "Drivers" panel, the emulator/hack settings go to a "Configuration" panel, and the video/audio panels lose driver settings. As does the settings menu and its synchronize options. I want to start pushing toward a v107 release. Critically, I will need DirectSound and ALSA to support dynamic rate control. I'd also like to eliminate the other system manifest.bml files. I need to update the cheat code database format, and bundle at least a few quark shaders -- although I still need to default to Direct3D on Windows. Turbo keys would be nice, if it's not too much effort. Aside from netplay, it's the last significant feature I'm missing. I think for v107, higan is going to be a bit rough around the edges compared to bsnes. And I don't think it's practical to finish the bsnes localization support. I'm thinking we probably want another WIP to iron out any critical issues, but this time there should be a feature freeze with the next WIP.
This commit is contained in:
@@ -269,6 +269,12 @@ auto pWindow::handle() const -> uintptr {
|
||||
return (uintptr)nullptr;
|
||||
}
|
||||
|
||||
auto pWindow::monitor() const -> uint {
|
||||
if(!gtk_widget_get_realized(widget)) return 0;
|
||||
auto window = gtk_widget_get_window(widget);
|
||||
return gdk_screen_get_monitor_at_window(gdk_screen_get_default(), window);
|
||||
}
|
||||
|
||||
auto pWindow::remove(sMenuBar menuBar) -> void {
|
||||
_setMenuVisible(false);
|
||||
}
|
||||
@@ -558,7 +564,9 @@ auto pWindow::_synchronizeGeometry() -> void {
|
||||
}
|
||||
lastSize = allocation;
|
||||
|
||||
gtk_widget_get_allocation(widget, &allocation);
|
||||
auto gdkWindow = gtk_widget_get_window(widget);
|
||||
gdk_window_get_origin(gdkWindow, &allocation.x, &allocation.y);
|
||||
allocation.y += _menuHeight();
|
||||
if(allocation.x != lastMove.x || allocation.y != lastMove.y) {
|
||||
state().geometry.setPosition({allocation.x, allocation.y});
|
||||
self().doMove();
|
||||
|
Reference in New Issue
Block a user