ports/emulators/ares/files/extra-patch-desktop-ui_desktop-ui.cpp
Stefan Schlosser ceee4b76d2 emulators/ares: New port: open-source multi-system emulator with focus on accuracy and preservation
ares is an open-source multi-system emulator with a focus on accuracy and
preservation. It is a descendant of the emulators higan and bsnes. It's source
code is structured to be maximally readable and self-documenting.

ares supports the following systems: Arcade, WonderSwan, WonderSwan Color,
Pocket Challenge V2, ColecoVision, PC-Engine / TurboGrafx, SuperGrafx, My
Vision, NES / Famicom, Famicom Disk System, SNES / Super Famicom, Satellaview,
Sufami Turbo, Nintendo 64, Nintendo 64DD, Game Boy, Game Boy Color, Game Boy
Advance, SG-1000, Master System / Mark III, Mega Drive / Genesis, Mega CD, 32X,
Game Gear, Neo Geo Pocket, Neo Geo Pocket Color.

ares has experimental support for the following systems: Atari 2600, MSX, MSX2,
PC-Engine CD / TurboGrafx CD, ZX Spectrum, Neo Geo (AES/MVS), PlayStation.

ares has all the features one would expect from a great emulator system: native
multi-platform UI, dynamic rate control, save states, run-ahead, rewind and
fast-forward, pixel shaders, color correction, input multi-mapping, debugger.

ares uses librashader for it's pixel shader engine. This means it is highly
compatible with existing slang shaders, e.g. the slang-shaders from libretro.

https://ares-emu.net/

PR:	280527
2024-08-14 22:06:03 +03:00

15 lines
546 B
C++

--- desktop-ui/desktop-ui.cpp.orig 2024-07-28 14:18:09 UTC
+++ desktop-ui/desktop-ui.cpp
@@ -22,6 +22,12 @@ auto locate(const string& name) -> string {
location = {Path::sharedData(), "ares/", name};
if(inode::exists(location)) return location;
+ // 3a. The thirdparty shaders directory
+ if(name == "Shaders/") {
+ location = "@@SHADERS@@";
+ if(inode::exists(location)) return location;
+ }
+
// 4. The application bundle resource directory (macOS only)
#if defined(PLATFORM_MACOS)
location = {Path::resources(), name};