#retro-arch #libretro #proxy #emulator #core

libretro-proxy

Write libretro cores that act as a proxy to other cores

2 unstable releases

0.2.0 Dec 27, 2024
0.1.0 Dec 23, 2024

#130 in Emulators

Download history 88/week @ 2024-12-18 152/week @ 2024-12-25

240 downloads per month

MIT license

12KB
112 lines

libretro-proxy

Write libretro cores that act as proxies to other cores.

This crate provides the following:

  • A Core struct that enables dynamically loading an existing libretro core to proxy to.
  • A Proxy trait that allows a "proxy" core to override specific libretro functions while delegating everything else to the proxied core.
  • A proxy_to! declarative macro to export the expected libretro functions for the proxy core.

Usage

See the tests or the parent project for examples.

Dependencies

~1.5–7.5MB
~75K SLoC