|
|
| version 1.2, 2004/07/29 15:18:45 | version 1.4, 2007/01/02 13:41:21 |
|---|---|
| Line 1 | Line 1 |
| /* $Id$ */ | /* $Id$ */ |
| /* | /* |
| * Copyright (c) 2002, 2003, 2004 | * Copyright (c) 2002-2004 NONAKA Kimihiro |
| * NONAKA Kimihiro (aw9k-nnk@asahi-net.or.jp) All rights reserved. | * All rights reserved. |
| * | * |
| * Redistribution and use in source and binary forms, with or without | * Redistribution and use in source and binary forms, with or without |
| * modification, are permitted provided that the following conditions | * modification, are permitted provided that the following conditions |
| Line 379 ok_button_clicked(GtkButton *b, gpointer | Line 379 ok_button_clicked(GtkButton *b, gpointer |
| for (i = 0; i < NELEMENTS(snd26_ioport_str); i++) { | for (i = 0; i < NELEMENTS(snd26_ioport_str); i++) { |
| if (strcmp(snd26_ioport, snd26_ioport_str[i]) == 0) { | if (strcmp(snd26_ioport, snd26_ioport_str[i]) == 0) { |
| if (SND26_GET_IOPORT() != i) { | if (SND26_GET_IOPORT() != i) { |
| snd86opt |= SND26_SET_IOPORT(i); | snd26opt |= SND26_SET_IOPORT(i); |
| snd86opt_mask |= SND26_MASK_IOPORT; | snd26opt_mask |= SND26_MASK_IOPORT; |
| renewal = TRUE; | renewal = TRUE; |
| } | } |
| break; | break; |