Glenn Maynard
17c32b90c2
Make* -> Driver::Create. Having these floating in arch.h isn't
...
useful; if you create the class, you need the class definition to
free it, and anyone creating a class is probably going to use it,
too.
2006-12-17 07:41:21 +00:00
Glenn Maynard
ffb0e0d930
boilerplate
2006-07-09 19:48:10 +00:00
Steve Checkoway
52b7411cee
PBXGetVolInfoSync is deprecated as is just about every other function that will convert from a path to a vol ref number so don't bother. Just use the volume name to flush since that was the only thing the vol ref number was used for.
...
Compute volume size using block size times number of blocks.
2006-02-06 02:58:34 +00:00
Chris Danford
7f821e8cfc
CString -> RString
2006-01-22 01:00:06 +00:00
Glenn Maynard
bdf5a3b924
Remove MemoryCardDriver::Flush. Flush in Unmount instead.
2005-12-21 05:58:01 +00:00
Glenn Maynard
bbf140a906
cleanup
2005-12-10 17:57:11 +00:00
Glenn Maynard
21a2900776
remove compat virtual
2005-12-10 07:39:31 +00:00
Steve Checkoway
11aacd82a7
OS X memory card driver.
2005-12-10 07:14:09 +00:00
Glenn Maynard
9ff7afe86b
remove unused Reset
2005-12-10 02:35:10 +00:00
Glenn Maynard
f5aa8fdd27
comments
2005-12-10 02:21:11 +00:00
Glenn Maynard
04ffb1657f
comments, fixes
2005-12-10 02:14:06 +00:00
Glenn Maynard
39535c11e5
move common high-level device checking logic into base class:
...
- report STATE_CHECKING when a device is first seen, so "checking" shows up quickly
- read quick profile data once bMount is true
2005-12-10 02:07:30 +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
f0998a1dc5
store /sys/block name in Linux
2005-10-03 07:17:09 +00:00
Glenn Maynard
30c3578cdc
interface to allow more specific error messages
2005-04-22 05:48:52 +00:00
Glenn Maynard
0d9b7c943a
remove iScsiIndex
2005-04-22 05:24:19 +00:00
Glenn Maynard
85313caf7c
UsbStorageDevice::STATE_WRITE_ERROR -> UsbStorageDevice::STATE_ERROR
2005-04-22 05:15:59 +00:00
Glenn Maynard
0ba49a8f6a
sScsiDevice -> sDevice
2005-04-22 03:16:14 +00:00
Ben Anderson
167e5aebc0
Put all the Make* functions into a single .h/.cpp file (yes, kinda like the way it was), and add Make* functions for DialogDrivers. This means there's only one object that's affected by drivers being added/removed. (Driver default changes are a little different -- 2 or 3 objects.) Also one or two minor cleanups. (note: I apparently don't know much about CVS, it appears that some files might not make it into the repository; hang tight, I'm trying to find a solution.)
2005-03-15 00:30:26 +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
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
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
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
d9c08228dd
Fix guard.
2004-10-05 10:57:27 +00:00
Chris Danford
dc0ef1fe63
add USB device whitelist
2004-10-03 20:58:12 +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
11a8029493
memory card cleanup
2004-08-17 05:50:51 +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
e47f331924
move some stuff out of arch.cpp, so arch drivers aren't all cross-dependent
2004-07-07 20:11:30 +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
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
Chris Danford
2180de1cac
update memory cards for 2.6 kernel
2004-04-29 04:12:56 +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
f59eb01266
fix compare
2004-04-18 23:43:02 +00:00
Chris Danford
905b0a2201
add memory card level matching to disallow deep USB devices
2004-04-17 22:57:15 +00:00
Chris Danford
6f5404c6fe
add move Linux mem card write test to seprarate thread
2004-04-13 08:05:50 +00:00
Chris Danford
7b78dbcf1c
move memory card mounting and unmounting into a separate thread
2004-03-21 22:32:16 +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
8b832f11d7
unload usb-storage driver between games
2004-02-26 07:28:59 +00:00
Glenn Maynard
5a51c013f3
fix compile
2003-12-19 22:06:38 +00:00