mirror of
https://github.com/bsnes-emu/bsnes.git
synced 2025-07-31 07:50:38 +02:00
byuu says: Okay, I fixed up many outstanding phoenix issues. * Windows/GTK+ fixed by using processEvents instead of main(); Windows can run unthrottled, and GTK+ shows the window contents now * fixed keyboard beeping once and for all on Windows: I now whitelist tabbable controls * fixed main menubar setVisible calls * Qt and GTK+ now allow you to resize windows smaller than they initially were Both Qt and GTK+ still fuck up the geometry a bit when toggling fullscreen mode. I have tried, and tried, and tried and tried and tried to fix it all. Nothing works. I give up. Easier to destroy and recreate the fucking window than figure out how to resize it on Linux (and no, I can't do that. ruby would not like the handle changing.) As for the GUI: * file browser is back in, still need remember place and open folder code; that needs to be extended to handle multiple systems now * shrink window command added to tools menu.
40 lines
795 B
C++
Executable File
40 lines
795 B
C++
Executable File
#include <nes/nes.hpp>
|
|
#include <snes/snes.hpp>
|
|
#include <gameboy/gameboy.hpp>
|
|
|
|
#include <nall/config.hpp>
|
|
#include <nall/directory.hpp>
|
|
#include <nall/dsp.hpp>
|
|
#include <nall/file.hpp>
|
|
#include <nall/filemap.hpp>
|
|
#include <nall/input.hpp>
|
|
#include <nall/bps/patch.hpp>
|
|
#include <nall/snes/cartridge.hpp>
|
|
#include <nall/gameboy/cartridge.hpp>
|
|
using namespace nall;
|
|
|
|
#include <phoenix/phoenix.hpp>
|
|
using namespace phoenix;
|
|
|
|
#include <ruby/ruby.hpp>
|
|
using namespace ruby;
|
|
|
|
#include "interface/interface.hpp"
|
|
#include "utility/utility.hpp"
|
|
#include "general/general.hpp"
|
|
|
|
struct Application {
|
|
bool quit;
|
|
|
|
string title;
|
|
string normalFont;
|
|
string boldFont;
|
|
|
|
void run();
|
|
Application(int argc, char **argv);
|
|
~Application();
|
|
};
|
|
|
|
extern Application *application;
|
|
extern nall::DSP dspaudio;
|