diff --git a/cmake/ppuc/CMakeLists_linux-arm64.txt b/cmake/ppuc/CMakeLists_linux-arm64.txt index bc6b0ac90..4b32af378 100644 --- a/cmake/ppuc/CMakeLists_linux-arm64.txt +++ b/cmake/ppuc/CMakeLists_linux-arm64.txt @@ -81,6 +81,7 @@ add_compile_definitions( PINMAME_NO_UNUSED LIBPINMAME SAM_INCLUDE_COLORED + PPUC_SUPPORT SERUM_SUPPORT NAME="LIBPINMAME" diff --git a/cmake/ppuc/CMakeLists_linux-x64.txt b/cmake/ppuc/CMakeLists_linux-x64.txt index bc6b0ac90..4b32af378 100644 --- a/cmake/ppuc/CMakeLists_linux-x64.txt +++ b/cmake/ppuc/CMakeLists_linux-x64.txt @@ -81,6 +81,7 @@ add_compile_definitions( PINMAME_NO_UNUSED LIBPINMAME SAM_INCLUDE_COLORED + PPUC_SUPPORT SERUM_SUPPORT NAME="LIBPINMAME" diff --git a/cmake/ppuc/CMakeLists_osx-x64.txt b/cmake/ppuc/CMakeLists_osx-x64.txt index 85c735198..03233cc15 100644 --- a/cmake/ppuc/CMakeLists_osx-x64.txt +++ b/cmake/ppuc/CMakeLists_osx-x64.txt @@ -81,6 +81,7 @@ add_compile_definitions( PINMAME PINMAME_NO_UNUSED LIBPINMAME + PPUC_SUPPORT SAM_INCLUDE_COLORED SERUM_SUPPORT diff --git a/cmake/ppuc/CMakeLists_win-x64.txt b/cmake/ppuc/CMakeLists_win-x64.txt index 82fabaaf2..c2d30cde5 100644 --- a/cmake/ppuc/CMakeLists_win-x64.txt +++ b/cmake/ppuc/CMakeLists_win-x64.txt @@ -79,6 +79,7 @@ add_compile_definitions( PINMAME_NO_UNUSED LIBPINMAME SAM_INCLUDE_COLORED + PPUC_SUPPORT SERUM_SUPPORT LSB_FIRST diff --git a/src/ppuc/examples/t2.yml b/src/ppuc/examples/t2.yml index dffc19ae6..0d5437405 100644 --- a/src/ppuc/examples/t2.yml +++ b/src/ppuc/examples/t2.yml @@ -26,6 +26,26 @@ boards: pollEvents: true dipSwitches: { } switches: + - + description: 'Service Escape' + number: 5 + board: 1 + port: 11 + - + description: 'Volume Down' + number: 6 + board: 1 + port: 12 + - + description: 'Volume Up' + number: 7 + board: 1 + port: 13 + - + description: 'Begin Enter' + number: 8 + board: 1 + port: 14 - description: 'Right Flipper' number: 11 diff --git a/src/wpc/wpc.c b/src/wpc/wpc.c index e7c6bf52f..962fb7624 100644 --- a/src/wpc/wpc.c +++ b/src/wpc/wpc.c @@ -26,7 +26,7 @@ #define DMD_FRAMES 3 /* Some early machines like T2 could in some few animations (like T2 attract mode) profit from more shades, but very tricky to get right without flicker ! */ /*-- Smoothing values --*/ -#ifdef PROC_SUPPORT +#if defined(PROC_SUPPORT) || defined(PPUC_SUPPORT) // TODO/PROC: Make variables out of these defines. Values depend on "-proc" switch. #define WPC_SOLSMOOTH 1 /* Don't smooth values on real hardware */ #define WPC_LAMPSMOOTH 1