mirror of
https://github.com/bsnes-emu/bsnes.git
synced 2025-08-24 01:03:04 +02:00
Update to v106r55 release.
byuu says: Everything *should* be working again, but of course that won't actually be the case. Here's where things stand: - bsnes, higan, icarus, and genius compile and run fine on FreeBSD with GTK - ruby video and audio drivers are untested on Windows, macOS, and Linux - hiro is untested on macOS - bsnes' status bar is not showing up properly with hiro/qt - bsnes and higan's about screen is not showing up properly with hiro/qt (1x1 window size) - bsnes on Windows crashes often when saving states, and I'm not sure why ... it happens inside Encode::RLE - bsnes on Windows crashes with ruby.input.windows (unsure why) - bsnes on Windows fails to show the verified emblem on the status bar properly - hiro on Windows flickers when changing tabs To build the Windows bsnes and higan ports, use ruby="video.gdi audio.directsound" Compilation error logs for Linux will help me fix the inevitable list of typos there. I can fix the typos on other platforms, I just haven't gotten to it yet.
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
#include "keyboard/carbon.cpp"
|
||||
|
||||
struct InputCarbon : InputDriver {
|
||||
InputCarbon& self = *this;
|
||||
InputCarbon(Input& super) : InputDriver(super), keyboard(super) {}
|
||||
~InputCarbon() { terminate(); }
|
||||
|
||||
@@ -37,7 +38,6 @@ private:
|
||||
keyboard.terminate();
|
||||
}
|
||||
|
||||
InputCarbon& self = *this;
|
||||
bool isReady = false;
|
||||
InputKeyboardCarbon keyboard;
|
||||
};
|
||||
|
@@ -1,6 +1,7 @@
|
||||
#include "keyboard/quartz.cpp"
|
||||
|
||||
struct InputQuartz : InputDriver {
|
||||
InputQuartz& self = *this;
|
||||
InputQuartz(Input& super) : InputDriver(super), keyboard(super) {}
|
||||
~InputQuartz() { terminate(); }
|
||||
|
||||
@@ -37,7 +38,6 @@ private:
|
||||
keyboard.terminate();
|
||||
}
|
||||
|
||||
InputQuartz& self = *this;
|
||||
bool isReady = false;
|
||||
InputKeyboardQuartz keyboard;
|
||||
};
|
||||
|
@@ -7,6 +7,7 @@
|
||||
#include "joypad/sdl.cpp"
|
||||
|
||||
struct InputSDL : InputDriver {
|
||||
InputSDL& self = *this;
|
||||
InputSDL(Input& super) : InputDriver(super), keyboard(super), mouse(super), joypad(super) {}
|
||||
~InputSDL() { terminate(); }
|
||||
|
||||
@@ -54,7 +55,6 @@ private:
|
||||
joypad.terminate();
|
||||
}
|
||||
|
||||
InputSDL& self = *this;
|
||||
bool isReady = false;
|
||||
InputKeyboardXlib keyboard;
|
||||
InputMouseXlib mouse;
|
||||
|
@@ -13,6 +13,7 @@
|
||||
#include "joypad/udev.cpp"
|
||||
|
||||
struct InputUdev : InputDriver {
|
||||
InputUdev& self = *this;
|
||||
InputUdev(Input& super) : InputDriver(super), keyboard(super), mouse(super), joypad(super) {}
|
||||
~InputUdev() { terminate(); }
|
||||
|
||||
@@ -60,7 +61,6 @@ private:
|
||||
joypad.terminate();
|
||||
}
|
||||
|
||||
InputUdev& self = *this;
|
||||
bool isReady = false;
|
||||
InputKeyboardXlib keyboard;
|
||||
InputMouseXlib mouse;
|
||||
|
@@ -9,6 +9,7 @@
|
||||
#include "joypad/directinput.cpp"
|
||||
|
||||
struct InputWindows : InputDriver {
|
||||
InputWindows& self = *this;
|
||||
InputWindows(Input& driver) : InputDriver(super), keyboard(super), mouse(super), joypadXInput(super), joypadDirectInput(super) {}
|
||||
~InputWindows() { terminate(); }
|
||||
|
||||
@@ -63,8 +64,8 @@ private:
|
||||
if(!directInputContext) return false;
|
||||
|
||||
if(!keyboard.initialize()) return false;
|
||||
if(!mouse.initialize(_context)) return false;
|
||||
bool xinputAvailable = _joypadXInput.initialize();
|
||||
if(!mouse.initialize(self.context)) return false;
|
||||
bool xinputAvailable = joypadXInput.initialize();
|
||||
if(!joypadDirectInput.initialize(self.context, directInputContext, xinputAvailable)) return false;
|
||||
return isReady = true;
|
||||
}
|
||||
@@ -83,7 +84,6 @@ private:
|
||||
}
|
||||
}
|
||||
|
||||
InputWindows& self = *this;
|
||||
bool isReady = false;
|
||||
InputKeyboardRawInput keyboard;
|
||||
InputMouseRawInput mouse;
|
||||
|
@@ -8,6 +8,7 @@
|
||||
#include "mouse/xlib.cpp"
|
||||
|
||||
struct InputXlib : InputDriver {
|
||||
InputXlib& self = *this;
|
||||
InputXlib(Input& super) : InputDriver(super), keyboard(super), mouse(super) {}
|
||||
~InputXlib() { terminate(); }
|
||||
|
||||
@@ -52,7 +53,6 @@ private:
|
||||
mouse.terminate();
|
||||
}
|
||||
|
||||
InputXlib& self = *this;
|
||||
bool isReady = false;
|
||||
InputKeyboardXlib keyboard;
|
||||
InputMouseXlib mouse;
|
||||
|
Reference in New Issue
Block a user