Commit Graph

927 Commits

Author SHA1 Message Date
Anthony Pesch 02b67e56d1 rename surface and vertex structs 2017-05-23 19:03:40 -04:00
Anthony Pesch 71032563ea rename sh4_ctx to sh4_context 2017-05-23 18:59:01 -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 0f6e0df66b fix recc bitrot 2017-05-23 17:28:17 -04:00
Anthony Pesch b737e2d7bf directly invoke MMIO handlers for constant addresses
ensure exceptions occur due to an MMIO access in x64_handle_exception
move memory data structures from header to source file
2017-05-21 15:05:25 -04:00
Anthony Pesch 5eb59951ba fix cache size calculation 2017-05-21 12:34:00 -04:00
Anthony Pesch 7755f47e4c update current page conditional to work with latest Liquid 2017-05-20 20:05:07 -04:00
Anthony Pesch 11c89443e6 fix crash on exit 2017-05-20 16:59:01 -04:00
Anthony Pesch ece8279cc0 lazy-compile ta shaders 2017-05-20 16:50:01 -04:00
Anthony Pesch bc8fd61aaa lower default audio latency 2017-05-20 16:25:42 -04:00
Anthony Pesch 41dc2e1f4d resize video framebuffer as window size changes 2017-05-20 16:25:24 -04:00
Anthony Pesch b6fb597d7e check for interrupts less often in the interpreter 2017-05-20 13:47:08 -04:00
Anthony Pesch 8338547c82 added some PowerVR notes 2017-05-20 13:08:31 -04:00
Anthony Pesch ee8e47a1e5 added depth buffer debug option to tracer 2017-05-19 21:29:21 -04:00
Anthony Pesch f6532f55d1 inline polygon parsing helpers 2017-05-19 21:17:55 -04:00
Anthony Pesch 82bf344e02 remove fixed buffers for nuklear UI 2017-05-18 19:56:30 -04:00
Anthony Pesch 37904ef25d bind pt_alpha_ref uniform for every surface 2017-05-17 21:54:58 -04:00
Anthony Pesch ae144b09e8 don't bundle profiles directory with automated builds anymore 2017-05-17 20:29:29 -04:00
Anthony Pesch 11c4828dfc fix for tracer crash due to bit rot 2017-05-17 20:15:02 -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 04a42d7b07 added warning when audio is underflowing 2017-05-17 19:47:40 -04:00
Anthony Pesch d104e21129 remove old controller profile settings 2017-05-17 18:21:40 -04:00
Anthony Pesch e92996dac7 windows build fixes 2017-05-17 17:55:53 -04:00
Anthony Pesch dcb80e199a removed glfw 2017-05-17 01:53:54 -04:00
Anthony Pesch 5277c51179 removed sdl 2.0.4 2017-05-17 01:53:24 -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 74d2b6e9f1 added sdl 2.0.5 2017-05-17 01:51:00 -04:00
Anthony Pesch a30d97a6da for now, the fudge value of 1.2 magically fixes ui rendering for
many scenes. more work needs to be done, we may need to create a
full 32-bit floating point depth buffer to match the pvr
2017-05-16 00:12:21 -04:00
Anthony Pesch 5540d33cf4 fixed carry flag calculation in negc op
added more tests for negc
sanitize bits stored in SR just as they are in FPSCR
removed unneeded disp_pc struct in sh4_instr union
emits calls to invalid_instr callback for INVALID ops
2017-05-16 00:00:02 -04:00
Anthony Pesch 08b6b5de1d reenabled gdb-based debugger 2017-05-15 07:37:19 -04:00
Anthony Pesch 32b1f75e37 more gdrom printfs 2017-05-15 07:13:19 -04:00
Anthony Pesch 309c9969df setup arm interpreter code path 2017-05-15 00:37:15 -04:00
Anthony Pesch 371aa5d94c use cycle count from opdef in interpreter main loop 2017-05-15 00:06:27 -04:00
Anthony Pesch c703da40f7 added sh4 interpreter
added OP_FLUSH_CONTEXT
fixed bug in ldcsr now that the GPRs are properly flushed when a bank change occurs
2017-05-14 23:26:36 -04:00
Anthony Pesch 94df004840 speed up backend cache resets 2017-05-14 19:32:08 -04:00
Anthony Pesch 96f372cd17 added OP_CALL_COND 2017-05-14 18:59:32 -04:00
Anthony Pesch 6eb676a774 consolidated arm7 / sh4 dispatch
moved block prologue / epilogue into x64 backend
2017-05-14 18:32:46 -04:00
Anthony Pesch 47a47d15dc move guest functionality outside of frontend struct 2017-05-13 22:43:24 -04:00
Anthony Pesch eb2e1b6bcd renamed CALL_FALLBACK to FALLBACK 2017-05-11 19:11:29 -04:00
Anthony Pesch 52e5095933 don't assert on disassembling an invalid instruction 2017-05-11 17:08:49 -04:00
Anthony Pesch e27a522e4a remove boot rom write handler now that default handlers exist 2017-05-11 17:04:12 -04:00
Anthony Pesch 32076b9ad4 pad strings in maple responses with spaces 2017-05-11 17:03:32 -04:00
Anthony Pesch 4ad6500e53 don't end CD_READ command until entire DMA buffer is consumed 2017-05-11 01:10:21 -04:00
Anthony Pesch 1ea54a9697 add enum for DDT DMA direction 2017-05-10 13:38:40 -04:00
Anthony Pesch 28de1845ad properly scale video framebuffers as window size changes 2017-05-10 07:37:03 -04:00
Anthony Pesch 29af3c344d added more asserts in gdrom dma transfer to highlight boot hangs 2017-05-10 01:32:58 -04:00
Anthony Pesch 4888ceecf5 added default MMIO handlers that log warnings (vs crashing) for reads and writes to unexpected locations 2017-05-10 01:00:30 -04:00
Anthony Pesch 6b76d56867 fix video width for interlaced mode 2017-05-10 00:26:26 -04:00
Anthony Pesch 503cca4d0f simulate g2 bus dma transfer timing 2017-05-09 22:49:55 -04:00
Anthony Pesch fe3dd79f94 reset border and spacing styles when rendering submenus 2017-05-09 21:30:49 -04:00