mirror of
https://github.com/bsnes-emu/bsnes.git
synced 2025-08-16 16:23:58 +02:00
Update to v094r41 release (open beta).
byuu says: Changelog (since the last open beta): - icarus is now included. icarus is used to import game files/archives into game paks (folders) - SNES: mid-scanline BGMODE changes now emulated correctly (used only by atx2.smc Anthrox Demo) - GBA: fixed a CPU bug that was causing dozens of games to have distorted audio - GBA: fixed default FlashROM ID; should allow much higher compatibility - GBA: now using Cydrak's new, much improved, GBA color emulation filter (still a work-in-progress) - re-added command-line loading support for game paks (not for game files/archives, sorry!) - Qt port now compiles and runs again (may be a little buggy; Windows/GTK+ ports preferred) - SNES performance profile now compiles and runs again - much more
This commit is contained in:
@@ -103,7 +103,7 @@ static auto ScrollEvent(HWND hwnd, WPARAM wparam) -> unsigned {
|
||||
info.fMask = SIF_POS;
|
||||
SetScrollInfo(hwnd, SB_CTL, &info, TRUE);
|
||||
|
||||
//Windows may clamp position to scroller range
|
||||
//Windows may clamp position to scrollbar range
|
||||
GetScrollInfo(hwnd, SB_CTL, &info);
|
||||
return info.nPos;
|
||||
}
|
||||
@@ -351,9 +351,9 @@ static auto CALLBACK Shared_windowProc(WindowProc windowProc, HWND hwnd, UINT ms
|
||||
auto object = (mObject*)GetWindowLongPtr((HWND)lparam, GWLP_USERDATA);
|
||||
if(!object) break;
|
||||
|
||||
#if defined(Hiro_HorizontalScroller)
|
||||
if(auto horizontalScroller = dynamic_cast<mHorizontalScroller*>(object)) {
|
||||
return horizontalScroller->self()->onChange(wparam), true;
|
||||
#if defined(Hiro_HorizontalScrollBar)
|
||||
if(auto horizontalScrollBar = dynamic_cast<mHorizontalScrollBar*>(object)) {
|
||||
return horizontalScrollBar->self()->onChange(wparam), true;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -363,9 +363,9 @@ static auto CALLBACK Shared_windowProc(WindowProc windowProc, HWND hwnd, UINT ms
|
||||
}
|
||||
#endif
|
||||
|
||||
#if defined(Hiro_VerticalScroller)
|
||||
if(auto verticalScroller = dynamic_cast<mVerticalScroller*>(object)) {
|
||||
return verticalScroller->self()->onChange(wparam), true;
|
||||
#if defined(Hiro_VerticalScrollBar)
|
||||
if(auto verticalScrollBar = dynamic_cast<mVerticalScrollBar*>(object)) {
|
||||
return verticalScrollBar->self()->onChange(wparam), true;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user