Changes to wxWidgets/SDL2 port :
- Updated UI - OpenGL 3.0 with GLSL/GLSLP-support - Improvements to Windows version - Minor changes/bugfixes Patch from bit.
This commit is contained in:
parent
354d52754c
commit
2881d35680
90 changed files with 15042 additions and 5351 deletions
11
src/hdd.c
11
src/hdd.c
|
|
@ -53,16 +53,16 @@ int hdd_controller_available(int hdd)
|
|||
return device_available(hdd_controllers[hdd].device);
|
||||
}
|
||||
|
||||
int hdd_controller_current_is_mfm()
|
||||
int hdd_controller_is_mfm(char* internal_name)
|
||||
{
|
||||
int c = 0;
|
||||
|
||||
while (hdd_controllers[c].device)
|
||||
{
|
||||
if (!strcmp(hdd_controller_name, hdd_controllers[c].internal_name))
|
||||
if (!strcmp(internal_name, hdd_controllers[c].internal_name))
|
||||
{
|
||||
hdd_controller_current = c;
|
||||
if (strcmp(hdd_controller_name, "none"))
|
||||
if (strcmp(internal_name, "none"))
|
||||
return hdd_controllers[c].is_mfm;
|
||||
}
|
||||
c++;
|
||||
|
|
@ -71,6 +71,11 @@ int hdd_controller_current_is_mfm()
|
|||
return 0;
|
||||
}
|
||||
|
||||
int hdd_controller_current_is_mfm()
|
||||
{
|
||||
return hdd_controller_is_mfm(hdd_controller_name);
|
||||
}
|
||||
|
||||
void hdd_controller_init(char *internal_name)
|
||||
{
|
||||
int c = 0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue