Commit Graph

71 Commits

Author SHA1 Message Date
Glenn Maynard d7a279efb9 Remove m_bMemoryCardsMountOnlyWhenNecessary; always do that. 2005-01-27 20:06:20 +00:00
Glenn Maynard 244633369b don't mount in LockCards; call MountAllUsedCards explicitly 2005-01-27 19:50:11 +00:00
Glenn Maynard 39b9a68473 split LockCards into LockCards, UnlockCards 2005-01-27 19:42:34 +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 429ae8f031 merge duplicate code 2005-01-27 18:57:43 +00:00
Glenn Maynard 3b26b811a2 preload memcard sounds 2005-01-27 05:01:56 +00:00
Chris Danford f9b63793c8 fix vConnects not filled in correctly 2005-01-25 21:12:51 +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 bc39cb5079 serialize all memory card operations since mount operations hang if we're doing lsusb or reading USB mass storage descriptors in another thread 2004-10-09 08:16:48 +00:00
Chris Danford f65c1d3fbb only remount cards that were in use 2004-10-03 06:21:16 +00:00
Chris Danford 9fe9b0884a Add hack to not leave cards mounted 2004-10-03 05:27:52 +00:00
Glenn Maynard 1d5e04b024 real fix for Windows memcards 2004-09-05 23:45:57 +00:00
Glenn Maynard fd8e2e9d16 fix "MemoryCardOsMountPointP#" in windows 2004-09-04 22:38:16 +00:00
Chris Danford 8471f5c7bc fix "SaveMachineStats fails because cards not mounted" 2004-08-22 07:19:38 +00:00
Chris Danford bac085dc6d simplify 2004-08-17 06:35:42 +00:00
Chris Danford be7b0bf85a clean up formatting 2004-08-17 06:07:27 +00:00
Chris Danford d36da56b27 fix "card considered too late if inserted during attract" 2004-08-17 06:05:08 +00:00
Chris Danford 11a8029493 memory card cleanup 2004-08-17 05:50:51 +00:00
Chris Danford ee9fbb99e1 fix "memory card not mounted if initially plugged in while cards are locked"
do the final memory card mount on PlayersFinalized
2004-08-14 19:18:56 +00:00
Chris Danford 71186e34ec update comment 2004-08-09 05:56:38 +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 396badb225 move some stuff out of arch.cpp 2004-07-07 20:12:21 +00:00
Glenn Maynard 733127d8ed license update 2004-06-08 01:24:17 +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
Chris Danford 3421d2d752 add Lua function IsAnyPlayerUsingMemoryCard 2004-05-25 06:50:52 +00:00
Chris Danford ba93ee8469 "for( int p=0; p<NUM_PLAYERS; p++ )" -> "FOREACH_PlayerNumber( p )" 2004-05-24 06:10:11 +00:00
Chris Danford 9d1a89d0d5 add hack to not play connect/disconnect sounds after resetting USB 2004-05-03 02:43:36 +00:00
Chris Danford bfd7b1930c simplify name update logic 2004-05-03 00:34:54 +00:00
Chris Danford f9ee3daede fix compile error 2004-05-01 21:31:53 +00:00
Chris Danford 6928e8e864 ugly hack to fix "mem card name not updated if card left in between games" 2004-04-23 06:35:24 +00:00
Chris Danford e4353d5cb8 move from .h to .cpp 2004-04-23 05:40:07 +00:00
Chris Danford 2531bc9a84 add memory card level matching to disallow deep USB devices 2004-04-17 22:41:34 +00:00
Chris Danford d6e52f6aac optimize profile loading 2004-03-29 06:47:10 +00:00
Chris Danford f565527929 fix flush never called 2004-03-27 04:04:29 +00:00
Glenn Maynard 1057cf4237 MemoryCardManager::PathIsMemCard 2004-03-23 22:33:14 +00:00
Chris Danford 031b3ab03f unmount drive on memory card disconnect 2004-03-20 23:01:46 +00:00
Chris Danford f978af080d unmount drive on memory card disconnect 2004-03-20 22:16:57 +00:00
Chris Danford 9555d508ee move RageFileManager mounting into the MemoryCardDriver, not MemoryCardManager 2004-03-14 01:40:24 +00:00
Chris Danford 7fe28a6dae add PerDifficulty and PeakCombo awards 2004-03-07 04:34:49 +00:00
Chris Danford 146c8dfd85 no message 2004-02-27 03:39:34 +00:00
Chris Danford 394bf699c5 add debugging 2004-02-27 02:59:20 +00:00
Chris Danford 4ed6dba88a add debugging 2004-02-27 02:52:12 +00:00
Glenn Maynard ddc2c030d0 compile fix 2004-02-27 00:31:06 +00:00
Chris Danford 3559e640b5 add debugging 2004-02-26 17:05:27 +00:00
Chris Danford 8fa29aa5ce add debugging 2004-02-26 17:00:15 +00:00
Chris Danford 1e43128440 unload usb-storage driver between games 2004-02-26 07:36:30 +00:00
Chris Danford 8b832f11d7 unload usb-storage driver between games 2004-02-26 07:28:59 +00:00
Chris Danford 6114922698 fall back to local profile if mem card is unplugged before cards locked 2004-02-22 04:53:51 +00:00
Glenn Maynard 11e7899226 fix minor memleaks 2004-01-21 03:09:59 +00:00