Commit graph

1037 commits

Author SHA1 Message Date
rdanbrook d99ff6d0bf Merge pull request #76 from RexBorova/master
4 Player Adapter + NstDatabase.xml
2018-02-21 19:58:51 -05:00
rdanbrook 4d9a628fa7 4 Player Adapter + NstDatabase.xml
I overlooked the NstDatabase.xml when adding options for users to manually assign adapters. If (dbpresent) is true, it would select the most suited adapter, and would not allow users to manually assign the adapter. I moved some code around, and added a bit, so everything should function correctly now even if NstDatabase.xml is present in system folder or not.
2018-02-21 19:20:44 -05:00
rdanbrook ffcdca7173 Merge branch 'master' of https://github.com/RexBorova/nestopia 2018-02-21 19:20:16 -05:00
rdanbrook 0c0119e039 Make it work for MSVC 2003 2018-02-19 12:46:50 +01:00
rdanbrook 2f6999d005 Manually Assign 4 Player Adapter
Users will now be able to select which adapter to use through the Core Options menu. Choices are Automatic, Four Score, and Famicom 4 Player Adapter. Some games will no recognize the adapter correctly through the database, this option should help fix that.
2018-02-07 20:58:09 -05:00
rdanbrook 38c195177f Manually Assign 4 Player Adapter
Users will now be able to select which adapter to use through the Core Options menu. Choices are Automatic, Four Score, and Famicom 4 Player Adapter. Some games will no recognize the adapter correctly through the database, this option should help fix that.
2018-02-07 20:16:21 -05:00
rdanbrook 33d6c63994 Include cstdlib for wcstombs in cheats.cpp. 2018-02-05 15:56:56 -05:00
rdanbrook 646ba9ce20 Add more entries to .gitignore after building on Ubuntu. 2018-02-05 15:56:56 -05:00
rdanbrook 62d90b953a Make libao an optional dependency 2018-02-01 20:35:49 -05:00
rdanbrook 559212b827 Don't build GUI by default 2018-01-27 13:56:56 -05:00
rdanbrook 342f67a7d4 Added custom palette loading to GTK+ menus 2018-01-27 00:22:17 -05:00
rdanbrook bdaeb389ac Added FirebrandX's Final (?) Palettes again 2018-01-25 23:08:53 -05:00
rdanbrook 5cec958cb2 Improved SDL input config 2018-01-25 22:26:52 -05:00
rdanbrook e963b6df6e Improved on-screen text rendering 2018-01-25 21:26:28 -05:00
rdanbrook 195e8a6a1a Added Joystick input config to GTK+ interface 2018-01-25 17:10:08 -05:00
rdanbrook 29f206e392 Added GUIless input configuration 2018-01-24 23:54:49 -05:00
rdanbrook e1bc3d92ab GTK+ Keyboard input config works again 2018-01-24 18:59:54 -05:00
rdanbrook c47c35503f Removed more globals, fixed GTK+ resizing from config dialog 2018-01-18 21:27:43 -05:00
rdanbrook b2bd99f16b Streamlined NSF player 2018-01-18 21:10:45 -05:00
rdanbrook cf109d3103 Fixed archive loading 2018-01-18 12:35:51 -05:00
rdanbrook f7152269ac Removed option to disable GUI 2018-01-17 23:17:50 -05:00
rdanbrook 2388dc04b7 Separated SDL input from generic input 2018-01-17 23:02:50 -05:00
rdanbrook 3abeb6df50 Fixed segfault in GTK+ and made special cursor checking more generic 2018-01-17 19:20:21 -05:00
rdanbrook 319dca14d7 Further streamlining and code separation 2018-01-16 22:28:06 -05:00
rdanbrook b41d3d0bf1 Removed CMake (for now?) 2018-01-15 20:40:04 -05:00
rdanbrook ef083e760e Build GTK+ and SDL binaries separately, both mostly in working order 2018-01-15 20:34:20 -05:00
rdanbrook f240b58b12 Compiles with GTK+ again 2018-01-15 16:29:36 -05:00
rdanbrook 6b91ff665d Separating more SDL-dependent code from common code 2018-01-15 16:20:39 -05:00
rdanbrook 29feefc8e2 Restore full functionality to GTK+ port 2018-01-15 11:47:53 -05:00
rdanbrook fb89c23175 SDL and GTK+ separated from common video functions 2018-01-15 11:35:05 -05:00
rdanbrook 9e22cdac54 Start of major source tree restructuring and cleanup 2018-01-14 22:54:56 -05:00
rdanbrook ff964e0494 Remove SDL input from nst_emuloop function 2018-01-14 17:56:44 -05:00
rdanbrook a2637193d4 Add Switch target 2018-01-04 23:17:36 +01:00
rdanbrook e3052f39e9 Fix a segfault on input with no game loaded
If you hit an input button on a controller, but no
game was pressed input_inject would be called will
NULL as the controller pointer. This checks for this
condition.
2017-12-30 19:37:12 -05:00
rdanbrook ae0e4c3213 Add JACK audio support
This allows use of the JACK audio backend. JACK support
will be built by cmake if found, or the --with-jack option
to the configure script.

JACK audio will set the sample rate for audio equal to
the jack server's sample rate. It also connects to the first
two physical output ports for playback.
2017-12-29 16:32:01 -05:00
rdanbrook 4fcbe0db77 Revert "libretro: Don't query joypads if they aren't plugged"
This reverts commit 5b880ecad3.
2017-12-23 07:50:57 +01:00
rdanbrook 14200495ba Build the correct core... 2017-12-21 13:13:51 -05:00
rdanbrook f1a31c8b64 Merge pull request #73 from Aftnet/master
Appveyor CI
2017-12-21 07:57:14 -05:00
rdanbrook 68b23adc11 Appveyor CI 2017-12-21 21:12:33 +09:00
rdanbrook 8ddc9b8cd2 Merge branch 'master' of https://github.com/libretro/nestopia 2017-12-20 17:37:27 -05:00
rdanbrook a281566985 Merge pull request #72 from orbea/libretro
(libretro) Include libretro.h
2017-12-20 06:27:50 +01:00
rdanbrook 6698b48a43 (libretro) Include libretro.h 2017-12-19 21:16:05 -08:00
rdanbrook 59237ac706 Merge pull request #71 from Aftnet/master
Updated libretro.h
2017-12-19 17:16:25 +01:00
rdanbrook 89f36c98fc Updated libretro.h 2017-12-20 00:59:05 +09:00
rdanbrook 59ba61b957 Remove my debug output. 2017-12-11 16:58:15 -05:00
rdanbrook b660535b06 Fix missing variable assignment. 2017-12-11 16:58:15 -05:00
rdanbrook 6050489168 Update logic for parsing joystick config string to allow > 9 js devs. 2017-12-11 16:58:15 -05:00
rdanbrook fc2db75231 libretro: Don't query joypads if they aren't plugged
Don't query the input of RETRO_DEVICE_JOYPAD unless the frontend
explicitly plugged them.
2017-12-09 12:56:47 -05:00
rdanbrook ae334805ce libretro: Implement retro_set_controller_port_device()
Store the type of input device plugged into the 4 first ports by the
frontend.
2017-12-09 12:56:47 -05:00
rdanbrook 07369c1dd4 Fix CMake linking
* CMake is brain-damaged and it's pkg-config
  module is completely overengineered.
* In corner cases, _LIBRARIES and _INCLUDE_DIRS
  is not enough to build a target succesfully.
  See also:
    https://youtu.be/KPi0AuVpxLI?t=220

Fixes #248
2017-12-09 12:56:30 -05:00