Ram buffer option added (last)

This commit is contained in:
Federico Ponchio 2004-10-09 17:32:25 +00:00
parent 9ca71be1dc
commit f3d0f070f1
1 changed files with 4 additions and 1 deletions

View File

@ -24,6 +24,9 @@
History History
$Log: not supported by cvs2svn $ $Log: not supported by cvs2svn $
Revision 1.12 2004/10/09 17:29:04 ponchio
Ram buffer option added (again)
Revision 1.11 2004/10/09 17:22:57 ponchio Revision 1.11 2004/10/09 17:22:57 ponchio
Ram buffer option added. Ram buffer option added.
@ -130,7 +133,7 @@ int main(int argc, char *argv[]) {
unsigned int ram_buffer = 128000000; unsigned int ram_buffer = 128000000;
int option; int option;
while((option = getopt(argc, argv, "f:t:l:s:d:ro:b")) != EOF) { while((option = getopt(argc, argv, "f:t:l:s:d:ro:b:")) != EOF) {
switch(option) { switch(option) {
case 'f': patch_size = atoi(optarg); case 'f': patch_size = atoi(optarg);
if(patch_size == 0 || patch_size > 32000) { if(patch_size == 0 || patch_size > 32000) {