Commit Graph
113 Commits
Author SHA1 Message Date
Chris Danford d906bc83e7 don't allow Iomega micro drives 2004-10-12 01:36:37 +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
Chris Danford 269768f856 HACK: Don't do the temp mount and the write test in the mount thread. 2004-10-09 09:34:30 +00:00
Chris Danford e1a8aa0fbb add more to whitelist 2004-10-08 07:29:51 +00:00
Chris Danford 332dd17b41 fix compile error 2004-10-07 23:44:12 +00:00
Chris Danford 68fcb42954 add more devices to whitelist 2004-10-07 23:17:16 +00:00
Chris Danford c47b7fb124 clean up whitelist, add entry for Creative Labs MuVo 2004-10-07 19:48:24 +00:00
Chris Danford 322b40e1f6 fix change I reverted. Oops. 2004-10-06 03:28:33 +00:00
Steve Checkoway 1bcad560cc What is this? It isn't in the header file and no linker errors result from not including it. 2004-10-05 11:00:53 +00:00
Steve Checkoway d9c08228dd Fix guard. 2004-10-05 10:57:27 +00:00
Chris Danford 952fef50c6 disallow Rio Carbon 2004-10-03 21:10:18 +00:00
Chris Danford dc0ef1fe63 add USB device whitelist 2004-10-03 20:58:12 +00:00
Chris Danford ffca2c6ae5 fix mounting of devices that are slow to initialize 2004-10-03 08:06:47 +00:00
Glenn Maynard 1d5e04b024 real fix for Windows memcards 2004-09-05 23:45:57 +00:00
Chris Danford bac085dc6d simplify 2004-08-17 06:35:42 +00:00
Chris Danford 925c349d26 clean up formatting 2004-08-17 06:16:49 +00:00
Chris Danford f43fc93985 fix windows compile 2004-08-17 05:59:41 +00:00
Chris Danford 11a8029493 memory card cleanup 2004-08-17 05:50:51 +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
Chris Danford 551800cceb Fix unnecessary remounts of cards that weren't changed since last update.\nDon't do OS mounts or unmounts while after cards are locked. It can cause skips. 2004-08-08 18:44:41 +00:00
Glenn Maynard d44e35b889 close m_fd 2004-07-19 20:39:52 +00:00
Glenn Maynard c81e737d85 fix thread busy looping if bus/usb/devices isn't available 2004-07-17 20:44:37 +00:00
Glenn Maynard fcf46a9f61 fix "pure virtual method called" on quit 2004-07-17 20:38:59 +00:00
Glenn Maynard e47f331924 move some stuff out of arch.cpp, so arch drivers aren't all cross-dependent 2004-07-07 20:11:30 +00:00
Chris Danford 1296cd775d add port detection through lsusb 2004-06-28 05:23:55 +00:00
Glenn Maynard cd59c6a68b cleanup 2004-06-16 04:07:19 +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 c1a0128902 don't think you meant to do that 2004-06-06 23:32:07 +00:00
Chris Danford 3e036b7bf8 formatting cleanup 2004-06-06 23:26:43 +00:00
Chris Danford 342dc5d792 fix needless refreshes or devices 2004-06-06 18:56:33 +00:00
Chris Danford b95c21c234 fix forced redetect of cards 2004-06-06 18:47:24 +00:00
Chris Danford 8eb7550bf4 fix forced redetect of cards 2004-06-06 18:39:40 +00:00
Chris Danford 9d2c6d078a clean up formatting 2004-06-06 18:37:57 +00:00
Glenn Maynard ddd0362144 use usleep 2004-06-06 04:07:00 +00:00
Glenn Maynard 2472ca9979 debugging 2004-06-06 03:23:08 +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 f9a6d8857c split out GetPortAndLevelFromSerial (currently unused) 2004-05-27 00:12:31 +00:00
Glenn Maynard 97791d82f0 license update 2004-05-15 22:30:30 +00:00
Glenn Maynard 720dd96b90 fix TestWrite 2004-05-11 21:55:04 +00:00
Glenn Maynard d8ed56b81f fix uninitialized value 2004-05-09 23:08:16 +00:00
Glenn Maynard cd8f571d60 remove unneeded header 2004-05-06 09:35:14 +00:00
Glenn Maynard 3527c9dae8 hush harmless warning, fix output 2004-05-05 20:05:09 +00:00
Chris Danford 47cda9c92a fix name update logic 2004-05-03 00:35:53 +00:00
Chris Danford bfd7b1930c simplify name update logic 2004-05-03 00:34:54 +00:00
Chris Danford 6bf3ffc4ce poll for changes in usb/devices 2004-05-02 23:27:14 +00:00
Chris Danford 51f0b44483 fix reload of usb-storage fails because drives still mounted 2004-05-02 22:16:56 +00:00
Chris Danford 051cc33b43 change linux mem cards to use lsusb instead of crash-happy usbdevfs 2004-05-01 04:40:00 +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