Commit Graph

875 Commits

Author SHA1 Message Date
Anthony Pesch 708a0044d3 fix LE condition test in armv3 interpreter 2017-05-09 09:58:45 -04:00
Anthony Pesch 4b8f969307 when decoding ADPCM data, don't step over multiple samples at a time (or else the decode state is corrupt) 2017-05-08 01:17:29 -04:00
Anthony Pesch 80b103760a add support for master volume control register
add basic support for per-channel volume controls
2017-05-07 20:44:42 -04:00
Anthony Pesch f606679f1a added null host for tool compiles 2017-05-07 14:17:24 -04:00
Anthony Pesch fcb926d198 fixed deadlock when pending_ctx is skipped
fixed shutdown crash when audio is disabled
2017-05-07 13:51:55 -04:00
Anthony Pesch 2c253740bd only link glfw for non-libretro builds 2017-05-07 13:32:03 -04:00
Anthony Pesch 2cecf2945c merged ui / video folders 2017-05-07 12:38:07 -04:00
Anthony Pesch 570d8483fb remove old window code 2017-05-07 12:32:58 -04:00
Anthony Pesch 8c4d1cecb1 initial libretro support 2017-05-05 00:00:16 -04:00
Anthony Pesch 3dc1d9c9fd remove window interface from devices 2017-05-04 22:19:00 -04:00
Anthony Pesch 393828670e remove audio backend 2017-05-04 20:04:45 -04:00
Anthony Pesch 280fc59e10 added libretro header 2017-04-23 22:36:05 -04:00
Anthony Pesch e2cb878f73 Convert Linux joystick code to using the evdev API
Add support for hats on Linux
2017-05-06 16:56:44 -04:00
Anthony Pesch cd5447f038 added glfw source 2017-04-23 22:35:40 -04:00
Anthony Pesch c0a713613c added all 4 controllers by default to avoid extra joystick added / removed state handling
added explicit update polling callback made controller_input callback take in the actual dreamcast button pressed
removed controller profile code from maple
2017-04-30 19:51:23 -04:00
Anthony Pesch e54fc92cfd move aica audio generation over to using dreamcast_client interface 2017-04-30 14:33:17 -04:00
Anthony Pesch 065eebc585 update comment style 2017-04-25 18:01:36 -04:00
Anthony Pesch 27bc04e266 moved debug_menu declaration 2017-04-25 23:15:31 -04:00
Anthony Pesch 257dd2318d moved launch_bin and launch_gdi to dreamcast 2017-04-27 23:50:21 -04:00
Anthony Pesch ed7f347535 remove OpenGL state caching 2017-04-25 23:41:19 -04:00
Anthony Pesch 5e25824758 move debug_menu callback out of window interface 2017-04-25 17:55:39 -04:00
Anthony Pesch 9b1fc09861 remove multitheading code from ta, and add into emulator 2017-04-30 11:11:37 -04:00
Anthony Pesch 824be359eb rename window.c to window_sdl.c 2017-04-20 17:02:56 -04:00
Anthony Pesch cb46c710fd move window implementation details out of header 2017-04-20 17:00:26 -04:00
Anthony Pesch 9fd243c909 move SDL code out of gl_backend 2017-04-19 23:33:56 -04:00
Anthony Pesch c38b16f001 misc fixes to get Windows mostly building 2017-04-19 20:08:09 -07:00
Anthony Pesch 3db514367d fixed several fundamental issues in ringbuffer implementation to resolve issues with garbage audio being passed to the audio backends 2017-04-19 22:03:08 -04:00
Anthony Pesch 31cde0677d updated ps4 controller profile to work on my local machine 2017-04-19 16:17:55 -04:00
Anthony Pesch 063fbfb7c8 initial ADPCM decoding support 2017-04-19 16:17:40 -04:00
Anthony Pesch f6c469889d fixed interpolation of 8-bit PCM data 2017-04-18 20:09:23 -04:00
Anthony Pesch acb77c72c9 move rendering of video display to a secondary thread
previously, all rendering occured on the primary thread, with the emulator
itself running on a secondary thread. this caused multithreading issues
when passing window and input events to the emulation thread. in order to
avoid each hardware device having to deal with these issues, the main
rendering of the video display was moved to a secondary thread, and the
emulator itself was moved to the main thread

the main thread now runs the emulator, handles window and input events,
and presents the offscreen framebuffers rendered to by the secondary
video thread
2017-04-18 19:40:39 -04:00
Anthony Pesch c29ae7b6d2 removed overly generic begin_frame / end_frame calls 2017-04-18 08:54:18 -04:00
Anthony Pesch 5fae12ddaa support sharing render_backend / OpenGL contexts 2017-04-16 19:41:47 -04:00
Anthony Pesch f4f8393ded rename render backend to be more consistent with jit / audio backends 2017-04-16 00:04:13 -04:00
Anthony Pesch 6d377e53b9 remove debug wireframe mode 2017-04-13 23:49:36 -04:00
Anthony Pesch bcdddec36c added framebuffer objects to render_backend
added rb_sync / rb_wait
rename vertex2d / surface2d to vertex2 / surface2
2017-04-13 23:37:10 -04:00
Anthony Pesch 20e3a0b8ae renamed tr structs 2017-04-13 23:05:12 -04:00
Anthony Pesch 6660c33c1c remove paint event from window listener
add multiple context support to win_gl_create_context
2017-04-13 19:21:26 -04:00
Anthony Pesch 83b74a2e46 simplify emulator lifecycle with a few asserts 2017-04-11 19:36:55 -04:00
Anthony Pesch 4529e50280 removed emu/ subdirectory 2017-04-11 18:21:44 -04:00
Anthony Pesch 0c02b2e1bf move render backend, nuklear and microprofile objects out of window 2017-04-11 18:04:31 -04:00
Anthony Pesch 4c30c2b4e5 removed unused textinput event
updated to latest clang-format
2017-04-11 08:54:49 -04:00
Anthony Pesch 9696732537 move opengl context creation over to window 2017-04-10 22:22:13 -04:00
Anthony Pesch df2cf0e916 fix sh4 lookup table generation 2017-04-01 11:53:12 -04:00
Anthony Pesch 17e32fb26d fixed parens in alignment macro 2017-04-01 11:40:38 -04:00
Anthony Pesch 768820de4a updated lse to work over multiple blocks 2017-01-31 19:54:06 -08:00
Anthony Pesch b0d69e7d20 updated ra to work over multiple blocks 2017-04-01 11:29:52 -04:00
Anthony Pesch af48774b16 added blocks to ir
added control flow analysis pass
2017-01-07 00:32:54 -08:00
Anthony Pesch 9009d156af allocate instance for each pass 2017-02-12 20:28:52 -08:00
Anthony Pesch f63c3fd7a2 temporarily scale up arm cycle count until more accurate cycle counting is added 2017-02-18 20:22:16 -08:00