Commit Graph

91 Commits

Author SHA1 Message Date
Anthony Pesch db355b4510 merge sys and core, the distinction between the two is trivial 2017-06-11 00:08:24 -04:00
Anthony Pesch 1cf522779d moved non-hw code out of hw dir 2017-06-10 23:22:05 -04:00
Anthony Pesch e9bcf2e575 moved host code to its own subdir 2017-06-10 22:00:05 -04:00
Anthony Pesch 94a42ec0c2 removed debug_menu callback from devices 2017-06-10 15:32:30 -04:00
Anthony Pesch 8e192390f4 replace nuklear menus with imgui 2017-06-08 01:27:48 -04:00
Anthony Pesch b1375e8807 added imgui implementation 2017-06-07 23:03:23 -04:00
Anthony Pesch dd58ef3b5c center text for debug menu options 2017-06-07 22:25:04 -04:00
Anthony Pesch 78d181c7c8 fix debug menu bar padding calculation 2017-06-02 23:51:20 -04:00
Anthony Pesch 7f0a8a7436 disabled frame skipping 2017-05-26 20:47:21 -04:00
Anthony Pesch f10ec6c693 move texture cache out of ta and into emulator to move thread
synchronization safe guards into the correct location
2017-05-24 22:49:30 -04:00
Anthony Pesch 69ed32c442 added comments explaining the purpose of emulator.c 2017-05-24 16:59:49 -04:00
Anthony Pesch a4704f4c50 rename tr_parse_context to tr_convert_context 2017-05-24 00:57:25 -04:00
Anthony Pesch f127d33485 added viewport dimensions to render_backend 2017-05-24 00:31:32 -04:00
Anthony Pesch c7476efe7b rename entries to textures 2017-05-23 23:16:56 -04:00
Anthony Pesch 02b67e56d1 rename surface and vertex structs 2017-05-23 19:03:40 -04:00
Anthony Pesch b62f3df83f renamed tile_render_* to tr_*
rename tile_ctx to tile_context
2017-05-23 18:53:56 -04:00
Anthony Pesch 11c89443e6 fix crash on exit 2017-05-20 16:59:01 -04:00
Anthony Pesch 41dc2e1f4d resize video framebuffer as window size changes 2017-05-20 16:25:24 -04:00
Anthony Pesch ee8e47a1e5 added depth buffer debug option to tracer 2017-05-19 21:29:21 -04:00
Anthony Pesch 294392a64e set channel key state to off when a non-looping channel is stopped 2017-05-17 19:35:40 -04:00
Anthony Pesch 4cefa5f807 swapped back to using SDL
made input code go through SDL's gamepad api vs the joypad api as it used to
2017-05-17 01:52:27 -04:00
Anthony Pesch 28de1845ad properly scale video framebuffers as window size changes 2017-05-10 07:37:03 -04:00
Anthony Pesch fe3dd79f94 reset border and spacing styles when rendering submenus 2017-05-09 21:30:49 -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 2cecf2945c merged ui / video folders 2017-05-07 12:38:07 -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 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 257dd2318d moved launch_bin and launch_gdi to dreamcast 2017-04-27 23:50:21 -04:00
Anthony Pesch 9b1fc09861 remove multitheading code from ta, and add into emulator 2017-04-30 11:11:37 -04:00
Anthony Pesch cb46c710fd move window implementation details out of header 2017-04-20 17:00:26 -04:00
Anthony Pesch c38b16f001 misc fixes to get Windows mostly building 2017-04-19 20:08:09 -07: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 f4f8393ded rename render backend to be more consistent with jit / audio backends 2017-04-16 00:04:13 -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