diff options
author | Tristan Heaven <nyhm@gentoo.org> | 2006-11-23 21:51:03 +0000 |
---|---|---|
committer | Tristan Heaven <nyhm@gentoo.org> | 2006-11-23 21:51:03 +0000 |
commit | cfd84b6569497223722f92194f553aa14bb5488e (patch) | |
tree | 2a786452414b3d2f6f87096382fced1f1bae95a0 /games-emulation/fceultra/files | |
parent | dev-db/mysql => virtual/mysql corrections (diff) | |
download | gentoo-2-cfd84b6569497223722f92194f553aa14bb5488e.tar.gz gentoo-2-cfd84b6569497223722f92194f553aa14bb5488e.tar.bz2 gentoo-2-cfd84b6569497223722f92194f553aa14bb5488e.zip |
Remove old versions
(Portage version: 2.1.2_rc2-r1)
Diffstat (limited to 'games-emulation/fceultra/files')
4 files changed, 0 insertions, 102 deletions
diff --git a/games-emulation/fceultra/files/0.97.5-joystick.patch b/games-emulation/fceultra/files/0.97.5-joystick.patch deleted file mode 100644 index 40bb7457a1b0..000000000000 --- a/games-emulation/fceultra/files/0.97.5-joystick.patch +++ /dev/null @@ -1,99 +0,0 @@ ---- drivers/cli/sdl-joystick.c.orig 2003-06-21 22:49:24.000000000 -0500 -+++ drivers/cli/sdl-joystick.c 2003-07-10 19:10:38.000000000 -0500 -@@ -143,20 +143,12 @@ - /* Configure a joystick axis. */ - void AConfig (int n, int a) - { -- Sint16 lastaxe[64]; -- int numaxes; -- int axis; -+ SDL_Event event; - - WNoInput(); - - joyAMap[n][a] = a; - -- numaxes=SDL_JoystickNumAxes(jo[n]); -- if(numaxes>64) numaxes=64; -- -- for(axis=0;axis<numaxes;axis++) /* Pre-load. */ -- lastaxe[axis]=SDL_JoystickGetAxis(jo[n], axis); -- - while (1) - { - uint8 t; -@@ -167,31 +159,26 @@ - } - else - break; -- -- SDL_JoystickUpdate(); -- -- for (axis=0;axis<numaxes;axis++) { -- if (abs((Sint32)SDL_JoystickGetAxis(jo[n],axis)-lastaxe[axis]) > 8192) { -- joyAMap[n][a] = axis; -- /* 4096 should be good enough to account for any jitter. */ -- while (abs((Sint32)SDL_JoystickGetAxis(jo[n],axis)-lastaxe[axis]) > 4096) { -- SDL_JoystickUpdate(); -- SDL_Delay(50); -- } -- goto endaconfig; -- } -- } -- SDL_Delay(100); -- } -- -- endaconfig: -- WNoInput(); -+ -+ SDL_JoystickUpdate(); -+ if (SDL_PollEvent(&event) && (event.type == SDL_JOYAXISMOTION)) -+ { -+ // Make sure the joystick was moved by some significant amount -+ if ((event.jaxis.value < -3000) || (event.jaxis.value > 3000)) -+ { -+ joyAMap[n][a] = event.jaxis.axis; -+ WNoInput(); -+ return; -+ } -+ } -+ } - return; - } - - /* Configure a joystick button. */ - void BConfig (int n, int b) - { -+ SDL_Event event; - WNoInput(); - joyBMap[n][b] = 0; - while (1) -@@ -206,23 +193,15 @@ - break; - - SDL_JoystickUpdate(); -+ -+ if (SDL_PollEvent(&event) && event.type == SDL_JOYBUTTONDOWN) - { -- int buttons; -- for (buttons = SDL_JoystickNumButtons(jo[n])-1;buttons >= 0;buttons--) { -- if (SDL_JoystickGetButton(jo[n],buttons)) { -- joyBMap[n][b] = buttons+1; -- while (SDL_JoystickGetButton(jo[n], buttons)) { -- SDL_JoystickUpdate(); -- SDL_Delay(50); -- } -- goto endbconfig; -- } -- } -+ joyBMap[n][b] = event.jbutton.button+1; -+ WNoInput(); -+ return; - } -- SDL_Delay(100); - } - -- endbconfig: - WNoInput(); - return; - } diff --git a/games-emulation/fceultra/files/digest-fceultra-0.81-r1 b/games-emulation/fceultra/files/digest-fceultra-0.81-r1 deleted file mode 100644 index 8722963963cc..000000000000 --- a/games-emulation/fceultra/files/digest-fceultra-0.81-r1 +++ /dev/null @@ -1 +0,0 @@ -MD5 1dcfc1199a2dad906ddb771f89f50ddf fceu081src.tar.gz 424700 diff --git a/games-emulation/fceultra/files/digest-fceultra-0.97.5 b/games-emulation/fceultra/files/digest-fceultra-0.97.5 deleted file mode 100644 index 4c1952e5486b..000000000000 --- a/games-emulation/fceultra/files/digest-fceultra-0.97.5 +++ /dev/null @@ -1 +0,0 @@ -MD5 a3a3732d58ddb66ae9a78b2bac1d6a1f fceu-0.97.5.src.tar.gz 551337 diff --git a/games-emulation/fceultra/files/digest-fceultra-0.98.10 b/games-emulation/fceultra/files/digest-fceultra-0.98.10 deleted file mode 100644 index efa533d05f6e..000000000000 --- a/games-emulation/fceultra/files/digest-fceultra-0.98.10 +++ /dev/null @@ -1 +0,0 @@ -MD5 e0b396955b3ef4c7e4b5cc518cdec39f fceu-0.98.10.src.tar.bz2 559750 |