mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-12 04:46:39 +00:00
Update build system
This commit is contained in:
parent
ce3bdc9aec
commit
948de95799
2
Makefile
2
Makefile
@ -4,7 +4,7 @@ TARGET = ssnes
|
||||
|
||||
OBJ = ssnes.o file.o driver.o conf/config_file.o settings.o dynamic.o
|
||||
|
||||
LIBS = -lsamplerate -lSDL
|
||||
LIBS = -lsamplerate
|
||||
DEFINES =
|
||||
|
||||
ifeq ($(HAVE_RSOUND), 1)
|
||||
|
12
README.md
12
README.md
@ -17,12 +17,13 @@ It is used through command-line.
|
||||
SSNES requires these libraries to build:
|
||||
|
||||
- [libsnes](http://byuu.org/bsnes/)
|
||||
- GLFW
|
||||
- SDL
|
||||
- libsamplerate
|
||||
|
||||
SSNES can utilize these libraries if enabled:
|
||||
|
||||
- nvidia-cg-toolkit
|
||||
- libxml2 (bSNES XML shaders)
|
||||
|
||||
SSNES needs one of these audio driver libraries:
|
||||
|
||||
@ -67,13 +68,14 @@ Do note that these two options are mutually exclusive.
|
||||
|
||||
|
||||
|
||||
# Filters and Cg shader support
|
||||
# Filters, bSNES XML shaders and Cg shader support
|
||||
|
||||
This is not strictly not necessary for an emulator, but it can be enabled if desired.
|
||||
For best performance, Cg shaders are recommended as they do not eat up valuable CPU time.
|
||||
Cg shaders are compiled at run-time, and shaders could be dropped in.
|
||||
For best performance, Cg shaders or bSNES XML shaders are recommended as they do not eat up valuable CPU time (assuming your GPU can handle the shaders).
|
||||
Cg shaders and XML shaders (GLSL) are compiled at run-time.
|
||||
All shaders share a common interface to pass some essential arguments such as texture size and viewport size. (Common for pixel art scalers)
|
||||
Some Cg shaders are included in hqflt/cg/ and could be used as an example.
|
||||
bSNES XML shaders can be found on various places on the net. Best place to start looking are the bSNES forums.
|
||||
|
||||
While these shaders are Cg, they closely resemble the GLSL shaders found in bSNES shader pack, so porting them is trivial.
|
||||
The Cg shaders closely resemble the GLSL shaders found in bSNES shader pack, so porting them is trivial if desired.
|
||||
|
||||
|
@ -16,7 +16,7 @@ check_lib RSOUND -lrsound rsd_init
|
||||
check_lib ROAR -lroar roar_vs_new
|
||||
check_lib JACK -ljack jack_client_open
|
||||
|
||||
check_pkgconf SDL SDL_gfx
|
||||
check_pkgconf SDL sdl
|
||||
check_critical SDL "Cannot find SDL library."
|
||||
|
||||
check_lib CG -lCg cgCreateContext
|
||||
|
Loading…
Reference in New Issue
Block a user