Commit Graph
1926 Commits
Author SHA1 Message Date
Glenn Maynard d14ea1ee41 compiles (doesn't support everything yet) 2005-02-06 05:46:07 +00:00
Glenn Maynard 7a21e95ede memory card work (linux update in a few minutes) 2005-02-06 05:11:57 +00:00
Glenn Maynard 7e1be2bde3 fix tabbing 2005-02-06 00:25:29 +00:00
Glenn Maynard bc3f8803c3 minor cleanups 2005-02-05 23:56:23 +00:00
Glenn Maynard 9c55974c63 remove MemoryCardDriverThreaded 2005-02-05 19:18:49 +00:00
Glenn Maynard 76e45504a3 MemoryCardDriverThreaded_Linux compiles (not yet tested) 2005-02-05 19:12:02 +00:00
Glenn Maynard c7434d29de simplify; pausing and threading is handled above (Linux update in a few
minutes)
2005-02-05 19:02:25 +00:00
Glenn Maynard 857f14d20e fix crash 2005-02-01 06:05:26 +00:00
Glenn Maynard 46f414e7e5 Fix race condition.
Work around undocumented SignalObjectAndWait behavior; the docs
refer to "the object", but the function takes two objects.  (Cut and paste
documentation ...)
2005-01-29 20:25:52 +00:00
Glenn Maynard 31731b5890 fix crash 2005-01-28 03:43:47 +00:00
Ben Anderson 25ea8e4825 Fix compilation 2005-01-27 23:58:37 +00:00
Glenn Maynard 39604143f6 mount and unmount FILEMAN mountpoints in MemoryCardManager,
not drivers; use timeout FS; don't pass mountpoints to drivers since
they never need to know them
2005-01-27 19:23:54 +00:00
Glenn Maynard 7efbea62aa cleanup 2005-01-27 19:16:32 +00:00
Glenn Maynard 8af4296b08 simplify a bit 2005-01-27 04:45:20 +00:00
Glenn Maynard cadbdf2bee remove MemoryCardDriverThreaded::UnmountMountPoint; remount the fs instead (makes
the timeout FS simpler)
use timeout FS in windows memory card code for testing
2005-01-27 04:39:10 +00:00
Glenn Maynard 3b25fd6c60 sysfs fixes 2005-01-27 04:36:11 +00:00
Glenn Maynard 8bf00eb4e8 implement event wait timeouts in win32 2005-01-27 01:54:33 +00:00
Glenn Maynard 903aaadcc5 After signalling an event, always wait for the signalled thread to touch
m_WaitersDone.  This fixes problems with

 event.Lock();
 event.Signal();
 while(x) event.Wait();

picking up the signal that it just sent (which is wrong), especially in the
debugger.
2005-01-27 01:19:24 +00:00
Glenn Maynard 1b49d06b5d oops 2005-01-26 21:41:40 +00:00
Glenn Maynard 08ddf9af77 fix up EventImpl_Pthreads::Wait 2005-01-26 21:13:50 +00:00
Glenn Maynard 63604a6536 implement RageEvent::Wait timeouts 2005-01-26 20:59:41 +00:00
Glenn Maynard 2b73f63ea8 RetryCancel -> AbortRetry
remove Dialog::cancel
2005-01-20 19:40:24 +00:00
Glenn Maynard 6fdf6bfa57 cleanup 2005-01-20 02:07:02 +00:00
Glenn Maynard ce043592f3 Remove Xbox stuff from LoadingWindow_SDL; I don't think that build uses SDL anymore. Note that this type of platform-specific stuff doesn't belong in generic drivers like this ... 2005-01-20 01:44:46 +00:00
Glenn Maynard 24250824de At the cost of losing change history, I'm renaming a couple "SDL" filenames
that no longer have any connection to SDL; the names are just too confusing.
2005-01-20 01:26:15 +00:00
Glenn Maynard 41622d238c Use sysfs to probe memory cards. This has several advantages:
all of the information we need is in one place, with proper links so we
 don't have to do weird hacks to connect data together

 we don't have to touch /proc/bus/usb/devices; doing so generates USB
 messages to all devices, which can cause problems

 works for all removable devices; usb-storage or ub should both work with
 no changes, as long as mountpoints exist in /etc/fstab

 doesn't need to fork lsusb

Old support is removed; unless serious, unfixable problems are found with
this method, the old code is too big and confusing to keep around.  This
code needs more testing.
2005-01-19 18:11:13 +00:00
Glenn Maynard 0849ef8a46 log dialogs 2005-01-16 20:32:53 +00:00
Chris Danford e858102147 use themed dialog titles 2005-01-08 14:32:42 +00:00
Glenn Maynard 328c43aba5 disable LightsDriver_Win32Parallel due to GPL-incompatibility 2005-01-06 17:53:51 +00:00
Glenn Maynard 67c1e5c6fb make sure we don't access snd after stopping 2005-01-05 00:03:00 +00:00
Glenn Maynard 4fbd89dd7d fix comment 2005-01-04 23:48:31 +00:00
Glenn Maynard b32bb5743a fix some audio skips: cap at 4x fill, not 2x 2005-01-03 10:31:59 +00:00
Ryan Dortmans 690bbffe1e Added new.h reference 2004-12-12 00:23:32 +00:00
Glenn Maynard dac3c2b978 update 2004-12-07 00:09:47 +00:00
Glenn Maynard 495a418884 Previously, the main mount loop was unlocking the thread and then immediately
re-locking it.  In some threads implementations (Linux 2.6), this causes the
mount thread to hog the lock, which causes SetMountThreadState to hang.  Move
the "check and delay" part of the mount thread outside of the lock, so other
threads have opportunity to get the lock.
2004-12-07 00:06:59 +00:00
Glenn Maynard 4bde245842 m_fd isn't used anymore 2004-12-06 23:47:23 +00:00
Glenn Maynard 5f0f8a6d28 allow short-circuiting lights logic when lights are not in use 2004-12-03 23:26:59 +00:00
Glenn Maynard c9e523ef09 cleanup 2004-12-03 23:22:08 +00:00
Glenn Maynard 5bf62b2bc8 don't output diagnostics when not used 2004-12-01 19:18:58 +00:00
Glenn Maynard 65ca46608d fix crash 2004-12-01 19:17:26 +00:00
Steve Checkoway 2b6350e63b Compile fix. 2004-12-01 06:30:49 +00:00
Chris Danford ad9eb1db70 fix "ok button doesn't have focus initially" 2004-12-01 05:28:08 +00:00
Chris Danford f1fa226d30 make OK dialog modal, set parents of all dialog boxes 2004-12-01 05:06:45 +00:00
Chris Danford 9fb9243742 modal messageboxes 2004-12-01 04:25:35 +00:00
Glenn Maynard dcf0bb7ac8 move this stuff to where it belongs 2004-12-01 02:48:50 +00:00
Glenn Maynard fafdaedf0c InstallExceptionHandler 2004-12-01 02:45:14 +00:00
Glenn Maynard 318a27fcab exceptions 2004-12-01 01:11:14 +00:00
Glenn Maynard eaf68a4271 exceptions (untested) 2004-12-01 00:31:44 +00:00
Glenn Maynard debbe87224 exceptions 2004-12-01 00:23:13 +00:00
Glenn Maynard efe9fdb0f2 exceptions 2004-12-01 00:12:45 +00:00