Commit graph

1599 commits

Author SHA1 Message Date
Jools Wills 2f0e1fa9ef Merge pull request #59 from unclealex72/master
Vastly improve loading time of EmulationStation
2016-08-15 01:04:35 +01:00
Jools Wills 3eba889bdf Revert "workaround for analogue trigger configuration - eg with xpad." 2016-08-14 20:24:39 +01:00
Jools Wills c5b74947a0 workaround for analogue trigger configuration - eg with xpad.
Unlike other axis, they don't default to 0, but instead start at -32768 and go to +32767 when pressed. This confuses the
current ES code axis code. As a workaround, we get the initial value and if it is -32767, we add 32767 and divide by two. This gives it
a range that can be handled with the current code (from 0 to 32767). Note on my X11 machine, I had to plug the joystick in after ES
was loaded or it get 0 as the initial axis value for the triggers. This seems ok on the RPI though, so possible some SDL issue.

With this change on a 360 controller the triggers should be correctly detected as +2 and +5 without seeing two presses for each trigger press.
2016-08-13 01:49:44 +01:00
Alex Jones 454a18f9ec Trust the gamelist by not checking whether files exist and also improve the algorithm for parsing the gamelist. 2016-08-10 17:48:56 +01:00
Jools Wills fa513e4c2d cosmetic - spaces -> tabs to match rest of file 2016-08-10 02:48:04 +01:00
M. Broncano f3cf36fd94 Fixes libGL problem 2016-07-23 04:11:44 +00:00
Jools Wills 60c1d0a1f9 Merge pull request #54 from joolswills/rename_buttons
rename buttons to avoid confusion (bottom -> shoulder / top -> trigger).
2016-07-05 19:53:20 +01:00
Jools Wills a78c9721be rename buttons to avoid confusion (bottom -> shoulder / top -> trigger). 2016-07-04 00:29:53 +01:00
Ken Taylor ab8409da41 Always reload input config after running onfinish script 2016-07-01 22:14:41 -07:00
HerbFargus 004243bb76 add black splash 2016-06-23 19:47:41 -06:00
Jools Wills 267b43fa05 move ParseGamelistOnly option to the gui so people can easily enable it for faster startup 2016-03-26 03:31:13 +00:00
Jools Wills 26f4850eaf add configuration menu "other settings" and add "save metadata on exit" option, which users can use to speed up exit - fixes #35 2016-03-26 01:59:36 +00:00
Jools Wills e65a1ee80a Merge pull request #30 from joolswills/hide_mouse_early
Hide mouse cursor early
2016-02-05 00:08:19 +00:00
Christian Uhsat 15fdbb2a83 Hide mouse cursor early 2016-02-05 00:07:34 +00:00
Devenor 9b78834b42 Added symlink support on removeCommonPath 2016-01-31 19:26:40 +00:00
Jools Wills fe86459f99 don't call shutdown from ES directly - which causes it to not save the gameslists on exit. Instead create files
/tmp/es-restart /tmp/es-sysrestart /tmp/es-shutdown to decide what we want to do. there is an emulationstation.sh launch
script to handle this
2016-01-17 18:33:59 +00:00
Jools Wills 6f0b63b1bb trailing whitespace introduced by #9 2015-10-03 20:41:44 +01:00
Jools Wills ecc1552990 Merge remote-tracking branch 'retropie/master' into retropie-master 2015-10-03 20:23:53 +01:00
Jools Wills 7bffae0812 change hold to skip timer to 1 second. This means the countdown message never shows, but it says at the top to hold to skip and this makes it a lot more convenient to set up snes style controllers.
Has been tested by herbfaargus also, who agreed it's an improvement. #6
2015-10-03 20:20:33 +01:00
gizmo98 cdda6f6dc1 Skip controller config if known device is added after startup
Fix for problems like this:
http://blog.petrockblock.com/forums/topic/retropie-wont-recognize-ps3-controller-unless-ps-button-is-hit-before-es-start/
http://blog.petrockblock.com/forums/topic/elegent-method-of-detecting-wireless-controller-before-starting-es/

No controller found message pops up if no controller is connected. If a known controller is connected and any button is pressed system selection menu will show up instantly.
2015-09-28 19:25:15 +02:00
Florian 65f2409d91 CHG: Additional input types, user-defined input config scripts 2015-06-01 20:47:42 +02:00
Aloshi da86b618c4 Quick fix for the stack overflow with DateTimeComponents in a ComponentGrid. 2015-03-06 09:25:42 -06:00
Aloshi d2b0fec88b Catch pageup/pagedown in DateTimeComponent edit mode. 2015-03-05 17:49:26 -06:00
Aloshi 2b3080f90b Make DateTimeComponent honor theme size values again. 2015-03-05 17:43:38 -06:00
Aloshi 5d0fc6a1b7 Fixed DateTimeComponent being cut off when a date is manually entered (from "unknown" -> "01/01/1990"). 2015-03-05 17:21:52 -06:00
Aloshi 310b1f9613 Removed some unused Renderer functions (onInit, onDeinit). 2015-03-03 16:36:21 -06:00
Aloshi 420fecc737 Only include codecvt on Windows.
Should fix gcc build errors.
2015-02-21 21:36:00 -06:00
Aloshi df896cb933 Hopefully fixed non-ASCII paths not working on Windows.
Kind of emulator-dependent on if this works or not.
2015-02-21 16:48:56 -06:00
Jesper Ek 1e320b7718 Fixes two memory leaks, which caused the scraper to crash after a while. I believe this fixes #180.
Fixes #352 (duplicate).
Fixes #362 (duplicate).

The destructor for AsyncHandle needs to be virtual as its subclasses are
allocated dynamically. I believe this caused the ImageDownloadHandle and its
related resources (such as the HttpReq and its contents) not to be freed
correctly.
2015-02-09 23:23:36 +01:00
Aloshi 2926442bf0 Set hint regardless of setting (in case it is changed during run-time). 2015-01-15 17:47:31 -06:00
Felipe Otamendi 33d6733d64 Add a setting to allow for joystick input to work while not in focus. 2015-01-13 23:36:25 -02:00
Alec Lofquist 3afbc4543f Fixed buffer overflow in HttpReq::encodeUrl.
I believe the character in the URL string was being read as a signed char instead of an unsigned char which caused weirdness with Unicode characters.
2014-11-29 14:42:30 -06:00
Aloshi 7c48887ab3 Hide the console on Windows unless --debug is set. 2014-11-24 20:50:09 -06:00
Aloshi cefe9b6287 Merge branch 'utf8' into unstable 2014-11-23 09:55:57 -06:00
Aloshi 635b9f9327 FINALLY added vsync.
Defaults to on for all platforms except the RPi. Force it off with "--vsync 0".

Will try to use late swap tearing if supported on the current system.
2014-11-22 11:03:02 -06:00
Aloshi f899b8aaaf Fix backwards "sound enabled" logic (#261). 2014-11-11 19:13:57 -06:00
Alec Lofquist c870caee03 Fix newlines messing up cursor offset.
Fix an uninitialized value in TextEditComponent.
2014-10-18 15:46:14 -05:00
Alec Lofquist 885efcf431 Fixed Font::getWrappedCursorOffset. 2014-10-18 15:32:18 -05:00
Alec Lofquist 50d2ba2291 Fall back to the DroidSansFallbackFull.ttf font on Linux. 2014-09-27 17:19:37 -05:00
Aloshi 030c840cfb Fixed uninitialized max glyph size in Font. 2014-09-27 16:09:49 -05:00
Aloshi 7c31d7ca0a Hopefully fixed compiling on Linux. 2014-08-31 09:57:38 -05:00
Aloshi 531fb50e01 Fixed text editing for multi-byte characters. 2014-08-30 15:37:51 -05:00
Aloshi c4d0e0229e Added fallback font support. Untested on Linux (but should fail gracefully). 2014-08-30 15:36:56 -05:00
Aloshi 8739519e15 Fix removeCommonPath throwing an exception when path does not exist. 2014-08-13 18:45:26 -05:00
Aloshi 9f040f4c71 Fixed deinitialization/reinitialization for fonts. 2014-08-11 18:05:18 -05:00
Aloshi fb16dd8a91 Fix shutdown/restart commands on Windows. 2014-08-02 14:19:57 -05:00
Aloshi ded816905d Fixed a typo in MenuComponent that accidentally used a constant as a
boolean value (technically still worked)
2014-07-27 17:49:12 -05:00
Aloshi 2b22e1fe0b Rewrote font code to use multiple textures.
Will corrupt after playing a game.
2014-07-27 16:44:02 -05:00
Aloshi dbdbcde6cd Renamed folders to match their projects properly. 2014-06-20 20:03:05 -05:00