Commit Graph
34 Commits
Author SHA1 Message Date
Glenn Maynard db4cc8df2e Floppy drives can be reassigned, and other things can end up on A: and B:. Check the actual device type. 2005-12-10 00:36:34 +00:00
Chris Danford 5a2c4504f2 add volume size 2005-12-04 09:02:40 +00:00
Chris Danford 299e1f7d68 add memcard blacklist by OsMountDir and UI to disable specific drives 2005-11-27 01:50:10 +00:00
Glenn Maynard 26e1a11af6 noisy 2005-09-10 17:31:29 +00:00
Chris Danford 6aa44a76ee absolute path 2005-05-23 01:05:49 +00:00
Glenn Maynard 1ea1ecfaaf move FastLoadProfileNameFromMemoryCard into ProfileManager 2005-04-24 23:06:15 +00:00
Glenn Maynard cabfc056fd API 2005-04-24 19:33:46 +00:00
Glenn Maynard e2ab509b8e pull out common memory card profile code (in prep for import handling) 2005-04-24 19:30:35 +00:00
Glenn Maynard 30c3578cdc interface to allow more specific error messages 2005-04-22 05:48:52 +00:00
Glenn Maynard 85313caf7c UsbStorageDevice::STATE_WRITE_ERROR -> UsbStorageDevice::STATE_ERROR 2005-04-22 05:15:59 +00:00
Glenn Maynard 7a21e95ede memory card work (linux update in a few minutes) 2005-02-06 05:11:57 +00:00
Glenn Maynard bc3f8803c3 minor cleanups 2005-02-05 23:56:23 +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 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 dac3c2b978 update 2004-12-07 00:09:47 +00:00
Chris Danford f4f02e23a2 show a different string for "card inserted, but we don't yet know the name on the card" 2004-10-09 09:57:12 +00:00
Glenn Maynard 1d5e04b024 real fix for Windows memcards 2004-09-05 23:45:57 +00:00
Chris Danford f43fc93985 fix windows compile 2004-08-17 05:59:41 +00:00
Chris Danford ae319bd14e refactor common unmount code 2004-08-14 19:38:37 +00:00
Glenn Maynard fa9b61a9d6 fix MemoryCardDriverThreaded_Windows chewing CPU 2004-08-12 05:42:47 +00:00
Chris Danford e435165014 clean up memory card logic:
- Don't do the OS mount for cards during the attract screens.  Only do OS mounts in the time between BeginGame and PlayersFinalized.
 - Remove logic for fast load of a Profile from the MemoryCard.  Instead, load the whole profile all at once on PlayersFinalized.
2004-08-09 05:01:24 +00:00
Glenn Maynard fcf46a9f61 fix "pure virtual method called" on quit 2004-07-17 20:38:59 +00:00
Chris Danford 25319403a1 move usb reset to the main thread to solve large skip on ScreenEnding 2004-06-06 23:48:22 +00:00
Glenn Maynard ddd0362144 use usleep 2004-06-06 04:07:00 +00:00
Chris Danford 110ec3d331 synchronize access to memory cards between mounting thread and main thread Profile Load/Save 2004-06-06 02:41:16 +00:00
Glenn Maynard 97791d82f0 license update 2004-05-15 22:30:30 +00:00
Chris Danford bfd7b1930c simplify name update logic 2004-05-03 00:34:54 +00:00
Glenn Maynard 50b593f7d2 If a drive isn't ready, don't try to mount it at all; it may cause mkdir()
calls to be made (if eg. mounting "D:\foo"), causing "volume not ready"
dialogs.  This happens with removable devices like memory card readers
that don't have a device.

I think this is generally incorrect: if a user has a memcard reader, we'll ignore
it on the first change (no device is installed), and then we'll never actually
notice when a card is inserted, since the drive letters don't actually
change.  I don't have a memcard reader to test this, so I'm punting on
this for now.
2004-05-01 01:26:38 +00:00
Glenn Maynard 19494e41f2 noisy 2004-04-25 04:41:21 +00:00
Chris Danford 82c910711c read memory card names in the mount thread
MemoryCardDrivers: fix Mount doesn't clear the right mount point before trying to mount
2004-04-23 04:17:02 +00:00
Chris Danford d93f758024 do memory card write test in a separate thread 2004-04-07 01:18:11 +00:00