Commit Graph

261 Commits

Author SHA1 Message Date
TwinAphex51224 ec97970206 (PS3) Saves to config file now 2012-01-30 15:59:15 +01:00
TwinAphex51224 73fa4ea199 (PS3) Implemented a bunch of settings :
* Audio can be muted
* Buffering mode can be changed from double to triple buffering
and vice versa
* Default ROM startup dir and cheat path can be specified - now
to save the config file at exit
2012-01-30 15:16:29 +01:00
TwinAphex51224 bad72987d0 (PS3) V-sync can be switched on/off now 2012-01-30 09:53:16 +01:00
Themaister 5b0a948797 Refactor input config. 2012-01-30 01:20:35 +01:00
TwinAphex51224 f89060e7ff (PS3) Take out setting callback - was crashing the PS3 port 2012-01-29 23:11:47 +01:00
Themaister d207eb0b1e Add callback system to config_set_defaults. 2012-01-28 16:49:06 +01:00
Themaister e8b2cde4cf More graceful error handling. 2012-01-28 15:47:02 +01:00
Themaister bedd5a691b Merge branch 'master' of github.com:Themaister/SSNES 2012-01-28 15:42:20 +01:00
Themaister 57fbad1a54 Expose config load as a global function. 2012-01-28 15:41:57 +01:00
TwinAphex51224 30d229c30b (PS3) Small rewrite of ps3_video_psgl.c 2012-01-28 11:38:24 +01:00
Themaister 7082561e21 Nicknames for regular connection. 2012-01-21 18:12:42 +01:00
TwinAphex51224 e90b7e6a03 (PS3) Added ssnes_render_cached_frame - this is necessary for the
ingame menu - another problem - swap occurs at end of frame
function - this interferes with the swap done later on in the
ingame menu, leading to flickered libdbgfont text. We will somehow
need to divorce the swap from the main frame function
2012-01-21 03:56:31 +01:00
TwinAphex51224 e044275c3e (360) Fix for 360 - INVALID_FILE_ATTRIBUTES is not defined in a
360 header
(PS3) Added g_console.rom_path setting - not using g_extern.system.
fullpath anymore
2012-01-21 02:58:19 +01:00
Themaister 2089521856 Menu/in-game-menu logic. 2012-01-20 19:29:26 +01:00
TwinAphex51224 c7e32cbbd2 (PS3) Some more work on PS3 menu front 2012-01-17 23:59:23 +01:00
TwinAphex51224 dd8acd5872 (PS3) Added SN version number in 'print compiler' function 2012-01-16 16:38:27 +01:00
TwinAphex51224 d1113a5af0 (PS3) Added sysutil screenshot feature 2012-01-16 15:45:55 +01:00
Themaister abf34c06c1 Attempt to always return from ssnes_main_init() when errors occur. 2012-01-14 16:08:54 +01:00
Themaister 661836fd77 Deconstruct main() into three separate functions.
Split main() into init/iterate/deinit functions.
2012-01-14 14:08:43 +01:00
Themaister 260f3ac7ce Use a more general SSNES_CONSOLE define. 2012-01-14 13:43:15 +01:00
Themaister 86950b4d2a FBO scale are float. 2012-01-13 00:29:01 +01:00
Themaister c305f4347d Add g_console struct. 2012-01-12 22:53:14 +01:00
Themaister 4eab7c4387 Font scale option. 2012-01-11 22:52:25 +01:00
Themaister 4beec3870f Spectator mode. 2012-01-11 19:22:18 +01:00
TwinAphex51224 61f9ceccab PATH_MAX gets redefined for PS3/Libxenon 2012-01-10 22:08:24 +01:00
Themaister b4248038fb Update license headers. 2012-01-08 01:12:05 +01:00
Themaister 1953ea7312 Fix Xenon build. 2012-01-07 11:32:39 +01:00
TwinAphex51224 ebea0220cd (360) Added 360 solution and added some defines 2012-01-05 13:30:13 +01:00
Themaister 3d1b0ef35b Merge branch 'fix' 2012-01-02 13:33:27 +01:00
Themaister c2ba0d474c Use limits.h and PATH_MAX. 2012-01-02 13:33:03 +01:00
Themaister d4093dc31c Fix build for gekko. 2012-01-02 12:12:30 +01:00
Themaister bc66841a29 More correct save state and rewind handling. 2011-12-27 18:30:14 +01:00
Themaister 0724ab2ca1 Fix assertion bugs. 2011-12-25 12:13:19 +01:00
Themaister eac468ba19 MSVC compat. 2011-12-25 01:38:59 +01:00
Themaister d5fca50a2f Can build for C++. 2011-12-24 15:26:01 +01:00
Themaister 534163a57f Start adding stuff for Wii. 2011-12-14 12:49:13 +01:00
Themaister a39c0f01f9 Should fix up audio driver a bit. 2011-12-13 23:38:05 +01:00
Themaister dc373fb7d0 Gets to link, but fails there. 2011-12-10 17:41:16 +01:00
Themaister 457a3d458a Merge branch 'master' of github.com:Themaister/SSNES into ssnes-consoles
Conflicts:
	general.h
2011-12-02 21:18:09 +01:00
Themaister 6538312d86 Fix some includes. 2011-12-02 21:16:51 +01:00
Themaister c8d3278dbc Merge branch 'master' of github.com:Themaister/SSNES into ssnes-consoles 2011-12-02 19:15:21 +01:00
Themaister 3556445660 Add new extension support. 2011-12-02 19:12:47 +01:00
Themaister 09d2ec7d3a Do not build in anything netplay related if not included. 2011-11-30 16:41:00 +01:00
TwinAphex51224 27b975d0fc Add in PS3 define for ssnes_sleep 2011-11-30 16:40:52 +01:00
TwinAphex51224 6da64013fa Merge branch 'master' of github.com:Themaister/SSNES into ssnes-consoles 2011-11-30 16:38:53 +01:00
Themaister d8eb5de380 Do not include netplay header needlessly. 2011-11-30 16:27:16 +01:00
Themaister 23aa8bbe7a Actually use sleep param. 2011-11-30 16:26:23 +01:00
TwinAphex51224 3b5472dbac Merge branch 'master' of github.com:Themaister/SSNES into ssnes-consoles 2011-11-30 16:22:16 +01:00
TwinAphex51224 8d8fb44c18 Use getopt replacement 2011-11-30 16:19:12 +01:00
Themaister 5dbd1ea35c Add mute toggle. 2011-11-26 15:54:58 +01:00
Themaister b8064f5d42 New semantics for BSV movie recording. 2011-11-20 20:19:05 +01:00
Themaister c5c60c6f53 Add --bsvrecord. 2011-11-18 18:03:24 +01:00
Themaister 81b0e6d0a3 Use display refresh rates rather than input rate directly. 2011-11-18 15:14:56 +01:00
Themaister 3e7c412738 Custom timing support for FFmpeg recording. 2011-11-16 18:56:42 +01:00
Themaister 51721b4cb6 video_font_enable. 2011-11-10 00:15:41 +01:00
Themaister a816082ac3 Style nit. 2011-11-05 11:44:17 +01:00
Themaister 0c3f6ed66b Cleanup and optimize rewind a bit. Forced POT buffer size. 2011-11-01 21:00:41 +01:00
Themaister 0522a2d6a0 Start implementing some minor extensions to libsnes. 2011-10-27 23:40:34 +02:00
Themaister 4856d0cac3 Allow screenshots while paused. 2011-10-23 12:38:11 +02:00
Themaister 6467f51ea8 Frame caching for more "proper" fullscreen switch. 2011-10-18 17:26:15 +02:00
Themaister 068c224d83 Include windows.h properly. 2011-10-18 14:05:30 +02:00
Themaister 466ab1ef8d Frame advance. 2011-10-17 21:30:58 +02:00
Themaister a1c19ed1f5 Minor refactor. 2011-10-17 20:46:38 +02:00
Themaister 5ae0cb1821 Base size for windowed mode calculations. 2011-10-16 21:36:17 +02:00
Themaister e91ebdac97 Do not recalculate ratio all the time. 2011-10-15 16:16:13 +02:00
Themaister b2dd12d186 Rewind audio! :D 2011-10-15 14:33:41 +02:00
Themaister f48247a18b Style nits ... 2011-10-15 12:56:48 +02:00
Themaister 25f0e162a4 Purge support for libsamplerate. Obsolete. 2011-10-15 12:48:15 +02:00
Themaister 869eddfc1a Custom FFmpeg recording sizes. 2011-10-06 23:43:48 +02:00
Themaister bcae973d82 Savestate auto indexing support. 2011-09-27 15:31:25 +02:00
Themaister 38e7fc6659 Add support for blocking SRAM writes :) 2011-09-16 15:32:21 +02:00
Themaister 32a5460ea7 Small cleanup. 2011-09-06 19:53:22 +02:00
Themaister 6f47775239 Add cheat config. 2011-09-05 17:57:30 +02:00
Themaister 0823d72dee Add coloring to fonts. 2011-09-05 17:00:28 +02:00
Themaister b4b0be9118 Allow directories for -s/-S. Paths will be inferred. 2011-08-22 17:05:27 +02:00
Themaister 24e8ca6856 Some more needed stuff ... 2011-08-18 00:24:57 +02:00
Themaister 1ff9b6a375 Start adding support for BPS patches. 2011-08-18 00:05:56 +02:00
Themaister 9e24474047 Can record hi-res and filtered output. 2011-08-11 05:25:31 +02:00
Themaister 7425e1f879 Allow disabling composition in Win Vista/7Allow disabling composition in Win Vista/7. 2011-08-07 15:00:34 +02:00
Themaister f3cdb95b04 Fix endian issues in OSS driver. 2011-07-26 00:53:24 +02:00
Themaister 033860ceb9 Add -f/--fullscreen command line option. 2011-07-09 08:37:08 +02:00
Themaister 25fce1a6c6 Allow XML mapping. 2011-06-24 13:29:30 +02:00
Themaister f85fd50fa1 Add --nodevice. 2011-06-19 11:11:04 +02:00
Themaister 44c52ca4f8 Add -pedantic for shits 'n giggles.
Fix portability issues with void* -> void (*)(void) casts.
Use a more ... bizarre technique ;)
2011-05-31 15:03:59 +02:00
Themaister 2144ef84fd Add fast-forward (hold) mode.
Also purge default player 2-5 binds ...
2011-05-24 02:31:21 +02:00
Themaister 7f1cd62c8a Update DSP API for config callback.
Clean up API a bit to have separate
SSNES_*_API_VERSION defines.
2011-05-17 19:20:41 +02:00
Themaister efed98d5b6 Yay, works :) 2011-05-15 17:16:29 +02:00
Themaister 5d5865cfd8 Add external API for audio driver. 2011-05-15 01:46:11 +02:00
Themaister 8ceb8225ad DSP plugin interface, weeee :D 2011-05-13 21:05:28 +02:00
Themaister 75d618140b Some more work on external API. 2011-05-11 17:52:16 +02:00
Themaister b48322222a Add overscan cropping. 2011-05-05 14:13:12 +02:00
Themaister 6713272809 Hrm... Seems to work, except for 32-bit -> 32-bit <_< 2011-04-21 13:12:45 +02:00
Themaister 092fa9d531 Get initial cheat support down. 2011-04-17 13:30:59 +02:00
Themaister 1005d7fa9b SHA256 support. Now onto cheats ... 2011-04-17 12:29:58 +02:00
Themaister 1706763a4c Start supporting shaders hiding in a directory. 2011-03-29 18:04:41 +02:00
Themaister 48dcd174a7 Add resetting support. (About time, ey?! :D) 2011-03-24 20:41:28 +01:00
Themaister e484e22e2f Fix up UPS :) Should work fine now at least for .sfc base roms. 2011-03-23 23:31:33 +01:00
Themaister ec51ceb010 Add usage of snes_library_id(). 2011-03-17 01:25:44 +01:00
Themaister f94dc125e5 An initial take on bsnes CPU filters. 2011-03-07 19:12:14 +01:00
Themaister 96b978d55a Start on modular CPU filters. Abandon the old CPU filter stuff. 2011-03-07 17:22:03 +01:00
Themaister 41b2af66d5 Add settings. 2011-03-06 18:19:31 +01:00
Themaister 7c16424ba3 Shader enabling, and automatic resolution detection. 2011-02-28 16:59:31 +01:00
Themaister 4cdb6151e5 Add netplay_client_swap_input. 2011-02-20 12:12:53 +01:00
Themaister e482b1bd18 Fix potential problem. Some cleanup. 2011-02-18 23:51:51 +01:00
Themaister 8a4bcacf88 hrm... 2011-02-18 14:49:15 +01:00
Themaister b73f5e77ff Cleanups, add --frames. 2011-02-15 15:32:26 +01:00
Themaister 9ba2d6c9fa Send SRAM to client. 2011-02-13 17:45:14 +01:00
Themaister 85dbc05ded Some start on netplay. :) 2011-02-13 16:40:24 +01:00
Themaister d039bedad4 Fix up some path handling with srm/states. 2011-02-11 14:27:19 +01:00
Themaister ad6719426c Fix up autosaving a bit. 2011-02-11 13:44:31 +01:00
Themaister 719e4942ce Add autosave possibility. 2011-02-10 21:16:59 +01:00
Themaister 820b124165 Add hermite resampler core :) SRC is disabled by default. 2011-02-06 13:29:48 +01:00
Themaister 93202f191c Add pausing when window loses focus :p 2011-02-05 21:45:44 +01:00
Themaister 3033fb6791 Pausing support. 2011-02-05 20:46:58 +01:00
Themaister 67ed89729d Use state slots for movies as well. 2011-02-02 13:37:01 +01:00
Themaister 5f8993cb83 Movie playback seems to work! :D 2011-02-02 12:45:56 +01:00
Themaister 2446300dd9 Some more logic hooked up. 2011-02-02 12:10:27 +01:00
Themaister b97c45df78 Initial code for movie playback. 2011-02-02 11:47:05 +01:00
Themaister 9034e82298 Add rewind granularity. (Faster, but less accurate rewind.) 2011-02-01 17:30:18 +01:00
Themaister dd8a9c67c9 Do not set rewind_enable automatically to true. 2011-01-31 19:53:44 +01:00
Themaister 47d0b12d40 Configurable rewind stuff. 2011-01-31 18:06:57 +01:00
Themaister 849e9aa734 Do not play audio when rewinding, sound is borked even when shuffling. 2011-01-31 17:24:31 +01:00
Themaister 351e098da1 Basic rewind works! 2011-01-31 16:48:42 +01:00
Themaister 25fe9b7f58 Add possibility to alter sound input rate on-the-fly. 2011-01-29 18:42:21 +01:00
Themaister 17663bbe46 Add save state slots. 2011-01-23 23:09:54 +01:00
Themaister 2267c7d048 Update licensing headers. 2011-01-23 20:29:28 +01:00
Themaister 9cf25dcb67 A slight cleanup. 2011-01-23 03:16:14 +01:00
Themaister e5fd3b95fa Configurable message positioning. 2011-01-23 02:59:44 +01:00
Themaister 21b9f57af1 Add configurable font path/font size. 2011-01-23 02:48:06 +01:00
Themaister 4e78b80343 Load save and save state show messages.
Do not load/save state repeatedly when holding down the buttons/keys.
2011-01-23 02:23:20 +01:00
Themaister b69f91027b Add configurable support for config file (disabling it... ah, good old
days! :D)
2011-01-19 12:54:19 +01:00
Themaister c7e6e73bcb Fix a blooper in headers. 2011-01-17 20:54:58 +01:00
Themaister 5c9c4f42c3 Clean up float handling a bit.
ALSA now checks if floating point is supported to avoid one extra
conversion, also clean up the driver itself a bit.
2011-01-15 20:37:42 +01:00
Themaister 6b21e6b8a3 Clean up audio a bit. Less use of nasty statics and VLAs. 2011-01-14 15:34:38 +01:00
Themaister 907c371a92 Add sufami... Now it should be pretty complete. :) 2011-01-12 21:57:55 +01:00
Themaister e6aa065781 Add some more abstractions for file loading. Also add initial SGB rom
loading!
2011-01-12 18:05:57 +01:00
Themaister 422ba8a801 Add support for justifiers and multitap. 2011-01-10 16:53:37 +01:00
Themaister f9bd0ab672 Fix mouse code for the most part. :) 2011-01-10 14:29:00 +01:00
Themaister a7e35571cd Add mapping support for joypads. 2011-01-10 08:18:03 +01:00
Themaister b24bb82d0c Start adding mouse and scope support. 2011-01-10 07:58:11 +01:00
Themaister b249c9d38f Fixed savestate path handling. Added a -t/--savestate option as well. 2011-01-08 19:15:18 +01:00
Themaister 2a5addc79f Clean up input handling some more. Removes the hack to set fast forward
toggles.
2011-01-08 18:37:45 +01:00
Themaister 2a4995c21f Starting Win32 support. 2011-01-07 17:59:53 +01:00
Themaister 270292db2c Check libsamplerate as critical and use HAVE_SRC 2011-01-07 11:11:18 +01:00
Themaister 86e080476a Fixes here and there... 2011-01-06 20:01:32 +01:00
Themaister ab30663b37 Can start recording at will with -r/--record. 2011-01-05 20:07:55 +01:00
Themaister 6084de60c8 Merge branch 'master' into record
Conflicts:
	Makefile
2011-01-05 19:31:27 +01:00
Themaister 988d1b3334 Add a warning when both Cg and XML shaders are selected. 2011-01-05 19:29:29 +01:00
Themaister 56e050f10d Add config option for XML shader. 2011-01-05 17:32:30 +01:00
Themaister 4e77573683 more progress, but still borked 2011-01-03 20:46:50 +01:00