mirror of
https://github.com/bsnes-emu/bsnes.git
synced 2025-04-02 10:42:14 -04:00
byuu says: Most notable in this release is that sound support has been added to my own Super Game Boy emulation. The GUI toolkit, phoenix, has also received a complete rewrite; with the most visible change there being that windows are now resizable. Changelog (since v075): * added sound emulation to Game Boy core * fixed Super Game Boy save state * support added HexEdit widget to Windows and Qt targets; debugger can now be compiled on all platforms * entering fullscreen now auto-hides mouse; and mouse capture is toggled otherwise by F12 key * fullscreen command and geometry caching works much better on GTK+ and Qt targets * phoenix rewritten from scratch; now supports resizable layout containers * phoenix/Windows no longer relies on buggy SetParent API to reparent widgets
37 lines
719 B
C++
Executable file
37 lines
719 B
C++
Executable file
#if defined(PHOENIX_WINDOWS)
|
|
#define UNICODE
|
|
#define WINVER 0x0501
|
|
#define _WIN32_WINNT 0x0501
|
|
#define _WIN32_IE 0x0600
|
|
#define NOMINMAX
|
|
|
|
#include <windows.h>
|
|
#include <windowsx.h>
|
|
#include <commctrl.h>
|
|
#include <io.h>
|
|
#include <shlobj.h>
|
|
#elif defined(PHOENIX_QT)
|
|
#include <QApplication>
|
|
#include <QtGui>
|
|
#elif defined(PHOENIX_GTK)
|
|
#define None X11None
|
|
#define Window X11Window
|
|
|
|
#include <gtk/gtk.h>
|
|
#include <gdk/gdkx.h>
|
|
#include <cairo.h>
|
|
#include <gdk/gdkkeysyms.h>
|
|
|
|
#undef None
|
|
#undef Window
|
|
#elif defined(PHOENIX_REFERENCE)
|
|
#else
|
|
#error "phoenix: unrecognized target"
|
|
#endif
|
|
|
|
#include "phoenix.hpp"
|
|
using namespace nall;
|
|
|
|
namespace phoenix {
|
|
#include "core/core.cpp"
|
|
}
|