Update to v093r01 release.
byuu says:
Changelog:
- added SA-1 MDR; fixes bug in SD Gundam G-Next where the main
battleship was unable to fire
- added out-of-the-box support for any BSD running Clang 3.3+ (FreeBSD
10+, notably)
- added new video shader, "Display Emulation", which changes the shader
based on the emulated system
- fixed the home button to go to your default library path
- phoenix: Windows port won't send onActivate unless an item is selected
(prevents crashing on pressing enter in file dialog)
- ruby: removed vec4 position from out Vertex {} (helps AMD cards)
- shaders: updated all shaders to use texture() instead of texture2D()
(helps AMD cards)
The "Display Emulation" option works like this: when selected, it tries
to load "<path>/Video Shaders/Emulation/<systemName>.shader/"; otherwise
it falls back to the blur shader. <path> is the usual (next to binary,
then in <config>/higan, then in /usr/share/higan, etc); and <systemName>
is "Famicom", "Super Famicom", "Game Boy", "Game Boy Color", "Game Boy
Advance"
To support BSD, I had to modify the $(platform) variable to
differentiate between Linux and BSD.
As such, the new $(platform) values are:
win -> windows
osx -> macosx
x -> linux or bsd
I am also checking uname -s instead of uname -a now. No reason to
potentially match the hostname to the wrong OS type.
2013-10-21 11:45:39 +00:00
|
|
|
ifeq ($(platform),macosx)
|
2013-03-19 08:48:50 +00:00
|
|
|
rubyflags = $(objcppflags) $(flags)
|
|
|
|
else
|
|
|
|
rubyflags = $(cppflags) $(flags)
|
|
|
|
endif
|
|
|
|
|
|
|
|
rubyflags += $(foreach c,$(subst .,_,$(call strupper,$(ruby))),-D$c)
|
2013-08-18 03:21:14 +00:00
|
|
|
rubyflags += $(if $(findstring .sdl,$(ruby)),`sdl-config --cflags`)
|
2011-09-29 12:08:22 +00:00
|
|
|
|
2013-03-19 08:48:50 +00:00
|
|
|
rubylink =
|
|
|
|
|
|
|
|
rubylink += $(if $(findstring video.cgl,$(ruby)),-framework OpenGL)
|
2011-09-29 12:08:22 +00:00
|
|
|
rubylink += $(if $(findstring video.direct3d,$(ruby)),-ld3d9)
|
|
|
|
rubylink += $(if $(findstring video.directdraw,$(ruby)),-lddraw)
|
|
|
|
rubylink += $(if $(findstring video.glx,$(ruby)),-lGL)
|
|
|
|
rubylink += $(if $(findstring video.wgl,$(ruby)),-lopengl32)
|
|
|
|
rubylink += $(if $(findstring video.xv,$(ruby)),-lXv)
|
2013-03-19 08:48:50 +00:00
|
|
|
|
2011-09-29 12:08:22 +00:00
|
|
|
rubylink += $(if $(findstring audio.alsa,$(ruby)),-lasound)
|
|
|
|
rubylink += $(if $(findstring audio.ao,$(ruby)),-lao)
|
|
|
|
rubylink += $(if $(findstring audio.directsound,$(ruby)),-ldsound)
|
|
|
|
rubylink += $(if $(findstring audio.pulseaudio,$(ruby)),-lpulse)
|
|
|
|
rubylink += $(if $(findstring audio.pulseaudiosimple,$(ruby)),-lpulse-simple)
|
|
|
|
rubylink += $(if $(findstring audio.xaudio2,$(ruby)),-lole32)
|
2013-03-19 08:48:50 +00:00
|
|
|
|
2013-12-21 10:45:58 +00:00
|
|
|
rubylink += $(if $(findstring input.udev,$(ruby)),-ludev)
|
2014-01-05 09:59:17 +00:00
|
|
|
rubylink += $(if $(findstring input.windows,$(ruby)),-ldinput8 -ldxguid)
|
2011-09-29 12:08:22 +00:00
|
|
|
|
2013-03-19 08:48:50 +00:00
|
|
|
rubylink += $(if $(findstring .sdl,$(ruby)),`sdl-config --libs`)
|
|
|
|
|
Update to v093r01 release.
byuu says:
Changelog:
- added SA-1 MDR; fixes bug in SD Gundam G-Next where the main
battleship was unable to fire
- added out-of-the-box support for any BSD running Clang 3.3+ (FreeBSD
10+, notably)
- added new video shader, "Display Emulation", which changes the shader
based on the emulated system
- fixed the home button to go to your default library path
- phoenix: Windows port won't send onActivate unless an item is selected
(prevents crashing on pressing enter in file dialog)
- ruby: removed vec4 position from out Vertex {} (helps AMD cards)
- shaders: updated all shaders to use texture() instead of texture2D()
(helps AMD cards)
The "Display Emulation" option works like this: when selected, it tries
to load "<path>/Video Shaders/Emulation/<systemName>.shader/"; otherwise
it falls back to the blur shader. <path> is the usual (next to binary,
then in <config>/higan, then in /usr/share/higan, etc); and <systemName>
is "Famicom", "Super Famicom", "Game Boy", "Game Boy Color", "Game Boy
Advance"
To support BSD, I had to modify the $(platform) variable to
differentiate between Linux and BSD.
As such, the new $(platform) values are:
win -> windows
osx -> macosx
x -> linux or bsd
I am also checking uname -s instead of uname -a now. No reason to
potentially match the hostname to the wrong OS type.
2013-10-21 11:45:39 +00:00
|
|
|
ifeq ($(platform),windows)
|
Update to v084r05 release.
(note: before the post announcing this release, there had been
a discussion of a performance optimisation that made the Super Scope
emulation a lot faster, but caused problems for the Justifier perpheral)
byuu says:
Spent a good two hours trying things to no avail.
I was trying to allow the CPU to run ahead, and sync on accesses to
$4016/4017/4201/4213, but that doesn't work because the controllers have
access to strobe IObit at will.
The codebase is really starting to get difficult to work with. I am
guessing because the days of massive development are long over, and the
code is starting to age.
Jonas' fix works 98% of the time, but there's still a few missed shots
here and there. So that's not going to work either.
So ... I give up. I've disabled the speed hack, so that it works 100% of
the time.
Did the same for the Super Scope: it may not have the same problem, but
I like consistency and don't feel like taking the chance.
This doesn't affect the mouse, since the mouse does not latch the
counters to indicate its X/Y position.
Speed hit is 92->82fps (accuracy profile), but only for Super Scope and
Justifier games.
But ... at least it works now. Slow and working is better than fast and
broken.
I appreciate the help in researching the issue, Jonas and krom.
Also pulled in phoenix/Makefile, which simplifies ui/Makefile.
Linux port defaults to GTK+ now. I can't get QGtkStyle to look good on
Debian.
2011-12-18 03:19:45 +00:00
|
|
|
rubylink += $(if $(findstring audio.openal,$(ruby)),-lopenal32)
|
Update to v093r01 release.
byuu says:
Changelog:
- added SA-1 MDR; fixes bug in SD Gundam G-Next where the main
battleship was unable to fire
- added out-of-the-box support for any BSD running Clang 3.3+ (FreeBSD
10+, notably)
- added new video shader, "Display Emulation", which changes the shader
based on the emulated system
- fixed the home button to go to your default library path
- phoenix: Windows port won't send onActivate unless an item is selected
(prevents crashing on pressing enter in file dialog)
- ruby: removed vec4 position from out Vertex {} (helps AMD cards)
- shaders: updated all shaders to use texture() instead of texture2D()
(helps AMD cards)
The "Display Emulation" option works like this: when selected, it tries
to load "<path>/Video Shaders/Emulation/<systemName>.shader/"; otherwise
it falls back to the blur shader. <path> is the usual (next to binary,
then in <config>/higan, then in /usr/share/higan, etc); and <systemName>
is "Famicom", "Super Famicom", "Game Boy", "Game Boy Color", "Game Boy
Advance"
To support BSD, I had to modify the $(platform) variable to
differentiate between Linux and BSD.
As such, the new $(platform) values are:
win -> windows
osx -> macosx
x -> linux or bsd
I am also checking uname -s instead of uname -a now. No reason to
potentially match the hostname to the wrong OS type.
2013-10-21 11:45:39 +00:00
|
|
|
else ifeq ($(platform),macosx)
|
|
|
|
rubylink += $(if $(findstring audio.openal,$(ruby)),-framework OpenAL)
|
|
|
|
else
|
|
|
|
rubylink += $(if $(findstring audio.openal,$(ruby)),-lopenal)
|
2011-09-29 12:08:22 +00:00
|
|
|
endif
|