101 Commits

Author SHA1 Message Date
Jeffrey Pfau
55977796f3 Move UNUSED macro to common.h 2014-07-10 01:00:38 -07:00
Jeffrey Pfau
79cfc4fd0a Make GBAThreadInterrupt work properly with paused threads again 2014-07-09 00:36:04 -07:00
Jeffrey Pfau
a62a932282 Ensure interrupting the GBA thread actually gets to a safe point to read from the thread 2014-07-08 00:04:38 -07:00
Jeffrey Pfau
f420232bbf IPS patch loading support 2014-07-06 23:39:27 -07:00
Jeffrey Pfau
678c5465ff Add (currently undocumented) command line flag for setting logging level 2014-07-04 18:43:07 -07:00
Jeffrey Pfau
89ccb41b03 Start moving command line parsing into a separate file 2014-04-20 04:06:44 -07:00
Jeffrey Pfau
9bf77f6653 Call ARMDeinit 2014-04-20 00:52:37 -07:00
Jeffrey Pfau
0f68dbc832 Redo component model/type punning 2014-04-20 00:19:55 -07:00
Jeffrey Pfau
ecb1939ff1 Move common headers to common.h, remove util and debugger from being first class include directories 2014-04-02 23:51:35 -07:00
Jeffrey Pfau
4d8a00c180 Add thread-interrupt functions for having multiple threads that want to pause the GBA thread 2014-02-10 23:59:07 -08:00
Jeffrey Pfau
e5ee1aa07f Fill out SIO driver infrastructure 2014-02-04 01:28:16 -08:00
Jeffrey Pfau
5a17030c65 Automatically break into the debugger if it was provided at launch time 2014-02-03 03:48:39 -08:00
Jeffrey Pfau
285b94b66a Add thread-safe function for telling if the GBA thread has started 2014-02-03 03:48:39 -08:00
Jeffrey Pfau
0f6523941c Null out threadContext->gba when shutting down 2014-02-03 03:48:39 -08:00
Jeffrey Pfau
56c51181e1 Debugger can get detached during a callback, clean up appropriately 2014-02-02 03:59:03 -08:00
Jeffrey Pfau
6616ca9111 Always enable the debugger framework 2014-02-01 01:14:41 -08:00
Jeffrey Pfau
5bbf7f2308 Separate out CLI debugger from debugging interface 2014-02-01 00:47:36 -08:00
Jeffrey Pfau
95cf2909c1 Unblock on audio when closing thread 2014-01-30 04:05:53 -08:00
Jeffrey Pfau
f0481d9413 Enable piping through BIOS 2014-01-29 23:13:44 -08:00
Jeffrey Pfau
70afe23fe4 Add log handling 2014-01-29 22:49:24 -08:00
Jeffrey Pfau
2e2ca19220 Add GBAThreadEnd function for manually shutting down the GBA thread 2014-01-29 22:48:38 -08:00
Jeffrey Pfau
c8b04a2ca5 Ensure rewind buffer is null if we are not enabling rewinding 2014-01-29 22:48:38 -08:00
Jeffrey Pfau
ef66e4a8c7 Only unpause from state operations when we paused manually 2014-01-26 23:17:17 -08:00
Jeffrey Pfau
705b6e9b13 Simple rewind buffer 2014-01-26 02:50:28 -08:00
Jeffrey Pfau
26c1fbd48f Add frame advance 2014-01-20 16:39:46 -08:00
Jeffrey Pfau
a5d8be30d8 Don't block any signals on the run thread 2014-01-20 02:33:40 -08:00
Jeffrey Pfau
1f8c1bcdfa Fix signal handling for debugger 2014-01-19 23:42:34 -08:00
Jeffrey Pfau
3837213f94 Support Win32 threads on Vista and higher 2014-01-15 23:46:47 -08:00
Jeffrey Pfau
2b558a5a65 Rearchitect audio copying to make it cleaner and more atomic 2014-01-15 03:43:56 -08:00
Jeffrey Pfau
dd1f1bc79e Initial support for Windows 2014-01-15 00:32:54 -08:00
Jeffrey Pfau
07115ca655 Ensure thread-local storage is created before it is needed 2013-10-25 03:15:31 -07:00
Jeffrey Pfau
ea41ef7ae6 Fix main thread stalling when starting a game 2013-10-17 23:10:16 -07:00
Jeffrey Pfau
62d941a979 Plumb through filename for checking overrides 2013-10-17 01:07:08 -07:00
Jeffrey Pfau
a1fb90635f Functions for explicitly pausing and unpausing 2013-10-16 00:52:52 -07:00
Jeffrey Pfau
a107243c7a Support pausing 2013-10-16 00:46:09 -07:00
Jeffrey Pfau
290b64b171 Compile-time flag for disabling debugger 2013-10-12 00:34:59 -07:00
Jeffrey Pfau
9698531702 Clean up thread starting, stopping and sound 2013-10-09 00:44:31 -07:00
Jeffrey Pfau
2f9bcf63b7 Clean up audio sync code 2013-10-08 22:36:55 -07:00
Jeffrey Pfau
45501658b5 Sync to audio by default 2013-10-05 02:52:57 -07:00
Jeffrey Pfau
4ef6a70731 Refactor frame synchronization 2013-10-05 02:11:53 -07:00
Jeffrey Pfau
9bf6b571b1 Fix naming 2013-09-30 02:02:26 -07:00
Jeffrey Pfau
aaaafb90a5 Add ability to get thread-specific GBA 2013-09-30 01:42:31 -07:00
Jeffrey Pfau
34ddb09516 Plumb through filename for proper saves 2013-09-22 16:45:19 -07:00
Jeffrey Pfau
e80ab4c855 Make debugger optional 2013-09-21 18:10:13 -07:00
Jeffrey Pfau
a6fb91bb7d Do some cleanup of pthread data 2013-04-21 14:52:25 -07:00
Jeffrey Pfau
3ca5e52de1 Handle key, quit events 2013-04-21 00:35:21 -07:00
Jeffrey Pfau
eba5d547b9 Start using SDL for graphics syncing 2013-04-20 20:29:53 -07:00
Jeffrey Pfau
b4cee4c286 Properly isolate threading 2013-04-20 16:44:03 -07:00
Jeffrey Pfau
fffe39153f Wait on thread initialization before returning from thread creation 2013-04-20 16:40:08 -07:00
Jeffrey Pfau
9ba9fac898 Restructure video memory 2013-04-20 16:16:37 -07:00