Commit Graph

121 Commits

Author SHA1 Message Date
twinaphex b76a2c2cee Refactor away input_joypad_poll - trivial wrapper function 2014-08-03 00:44:07 +02:00
Themaister 08cfb27f35 Fix some C++ issues. 2014-06-17 17:10:24 +02:00
Themaister 59c64f9c5a Fix off-by-one error with PASSPREV.
Fix include bug in cg2glsl.py.
2014-05-16 16:17:02 +02:00
twinaphex c5a6e16503 Add gas-preprocessor.pl to tools/ 2014-04-17 21:15:05 +02:00
twinaphex 0a15a17d44 Update years on all license headers 2014-01-01 01:50:59 +01:00
Themaister 6d6e964672 Fixup CXX_BUILD.
Cleans lots of sign-related warnings as well.
2013-11-16 17:31:49 +01:00
Themaister 7aa8b40759 Fixup C89 for loops. 2013-10-22 21:37:56 +02:00
Lioncash cae9591c2f Missed a spot for closing file handle fd in function get_sha1. 2013-10-14 00:05:07 -04:00
Lioncash 98bdd6896e Fix a memory leak in function find_first_cue in retrolaunch/cd_detect.c. 2013-10-13 23:24:49 -04:00
Lioncash 51d7ec925e Fix a memory leak in function get_sha1 in retrolaunch/main.c. 2013-10-13 23:22:41 -04:00
Themaister 880dec8c7f Clarify cg2glsl requires cgc 3.1. 2013-10-07 23:09:49 +02:00
Themaister 4627c106e4 Fix NTSC shaders by preprocessing first.
If vertex shader is in an #include, it wouldn't get column_major fix
applied.
2013-10-07 23:06:41 +02:00
Themaister fa39a1ec39 Add -quiet and -I to cg2glsl.
Fixes cases where #include is used.
2013-10-07 22:50:48 +02:00
Saggi Mizrahi b466f4ba83 Updated retrolaunch
* Make core name fully explicit since it might not follow convention
* Add missing entries in for sega cd and pce cd in cores.conf
* Add support for n64 core autoselection

Signed-off-by: Saggi Mizrahi <ficoos@gmail.com>
2013-09-20 21:48:38 +03:00
twinaphex dccff3905d (cg2glsl.py) change suceeded to succeeded 2013-09-19 02:47:45 +02:00
Themaister f8c385a28c Fix cg2glsl when uniform half4x4 is used. 2013-08-18 18:06:55 +02:00
Themaister 846e72ad1e Allow spaces for matrix hack. 2013-08-13 16:58:43 +02:00
Themaister ef97f05dff Use correct texture() in core. 2013-08-11 01:09:17 +02:00
Themaister ad12cc8ab6 Fix some miscompilations with unused variables. 2013-08-11 01:09:17 +02:00
Themaister 1a071c4992 Updates and fixes for cg2glsl. 2013-08-11 01:09:17 +02:00
Themaister 954727aa79 Fixups for cg2glsl. 2013-08-11 01:09:14 +02:00
Themaister 2aaa148adc Fixes to cg2glsl. 2013-08-11 00:56:00 +02:00
Themaister 184e407e5d Work around awkward GLSL compiler bug on iOS. 2013-05-31 14:04:20 +02:00
Themaister a292b5252c Remove binary from repo. 2013-05-28 09:37:58 +02:00
Yohann Bianchi cdfa97a41e Fixes issues pointed by Themaister
configure option is now --global-config-dir
2013-05-28 01:59:06 +02:00
Yohann Bianchi 937b112e71 Adds --config-dir option in configure script to let the user set a custom path for system wide config file 2013-05-27 17:58:59 +02:00
Squarepusher 525993e55d Merge pull request #207 from ficoos/retrolaunch_work
Retrolaunch improvements
2013-05-20 23:16:50 -07:00
Saggi Mizrahi 00eb501a1c retrolaunch: Change core selection in retrolaunch
This changed makes it so that retrolaunch will choose cores based on a
preference configuration called cores.conf.

This means that different systems can select what cores they prefer to
use when running certain games. Games that don't work on specific cores
can be marked in launch.conf with !core_name and retrolaunch will choose
the next core for that system.

Also launch.conf is now optional meaning that users don't need the cddb
and the dat files to be able to use core auto-selection. They just need
cores.conf.

Signed-off-by: Saggi Mizrahi <ficoos@gmail.com>
2013-05-21 00:12:38 -04:00
Saggi Mizrahi c038c92f68 retrolaunch: Add genesis multitap games
Even though it is not yet supported by libretro

Signed-off-by: Saggi Mizrahi <ficoos@gmail.com>
2013-05-20 22:24:58 -04:00
Saggi Mizrahi 811baad078 retroluanch: Add a lot of games to launch.conf
Signed-off-by: Saggi Mizrahi <ficoos@gmail.com>
2013-05-20 22:07:47 -04:00
Themaister 0457e41ceb Fix cg2glsl batch when dir has slash suffix. 2013-05-20 23:46:40 +02:00
Themaister d54427983b Add automatic CGP -> GLSLP conversion. 2013-05-10 00:06:42 +02:00
Themaister b323640d7c Make joypad driver configurable. 2013-05-04 10:24:15 +02:00
Themaister 41d00190e4 Fix CXX warning. 2013-05-01 21:56:38 +02:00
Themaister dfdcfac588 Add concept of meta "level" for hotkeys.
Used by retroarch-joyconfig to make misc key config easier.
2013-04-29 21:11:29 +02:00
Themaister b714a6d7d1 Add timeout to joyconfig. 2013-04-29 16:12:15 +02:00
Themaister 04ac1e3efa Clarify when buttons are initially pressed. 2013-04-26 13:39:03 +02:00
Themaister e74f150239 Also dump input_driver used in retroarch-joyconfig. 2013-04-26 13:34:41 +02:00
Themaister 1da31a84ab Prompt user to "reset" joypad state.
Many joypad drivers have "stale state" lying around and need
some events to be fired to normalize. Broken initial state will
break joypad configure like this.
2013-04-26 13:32:11 +02:00
Themaister 0ac849d825 Let retroarch-joyconfig write autoconfigs. 2013-04-26 13:25:40 +02:00
Themaister 6193491e82 Fix wrong sampler translation in cg2glsl. 2013-04-16 15:44:41 +02:00
Themaister 48e7175e4b Improve compat in cg2glsl.
Allow vertex samplers, and fix "empty struct" bug.
2013-04-16 15:31:28 +02:00
Themaister 3ae5662dd2 Fixups in cg2glsl.
Don't allow struct names and varyings to collide.
Also add fixes for *.texture_size for PREV/PASS/ORIG, etc.
2013-04-13 16:34:04 +02:00
Themaister 6480f564c1 Treat _output_dummy_size as non-varying as well. 2013-04-13 13:47:13 +02:00
Themaister ec9ffce56f Replace IN.* in a cleaner way. 2013-04-13 02:41:23 +02:00
Themaister 3779ddbace Use LUTTexCoord attrib correctly in cg2glsl. 2013-04-13 02:07:37 +02:00
Themaister e8d89eb2b2 More compat fixes for cg2glsl.
Motion-blur shader works.
2013-04-13 01:58:44 +02:00
Themaister 49d713c2ee Fix some compat in cg2glsl. 2013-04-13 01:43:40 +02:00
Themaister e4089af307 Allow multiple samplers in cg2glsl. 2013-04-12 00:30:03 +02:00
Themaister 88e2ac3c9c Fix issue with blinky.cg in cg2glsl. 2013-04-12 00:30:03 +02:00