Skip to content

Commit 00a07bb

Browse files
committed
[atari] do_inquiry(fujiCommandID_t inq_cmd)
1 parent 87105f8 commit 00a07bb

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

lib/device/adamnet/network.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -583,7 +583,7 @@ void adamNetwork::adamnet_special_inquiry()
583583
{
584584
}
585585

586-
void adamNetwork::do_inquiry(unsigned char inq_cmd)
586+
void adamNetwork::do_inquiry(fujiCommandID_t inq_cmd)
587587
{
588588
// Reset inq_dstats
589589
inq_dstats = 0xff;

lib/device/sio/network.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -694,7 +694,7 @@ void sioNetwork::sio_set_password()
694694
*/
695695
void sioNetwork::sio_special()
696696
{
697-
do_inquiry(cmdFrame.comnd);
697+
do_inquiry((fujiCommandID_t) cmdFrame.comnd);
698698

699699
switch (inq_dstats)
700700
{
@@ -731,13 +731,13 @@ void sioNetwork::sio_special_inquiry()
731731
Debug_printf("sioNetwork::sio_special_inquiry(%02x)\n", cmdFrame.aux1);
732732
#endif
733733

734-
do_inquiry(cmdFrame.aux1);
734+
do_inquiry((fujiCommandID_t) cmdFrame.aux1);
735735

736736
// Finally, return the completed inq_dstats value back to Atari
737737
bus_to_computer(&inq_dstats, sizeof(inq_dstats), false); // never errors.
738738
}
739739

740-
void sioNetwork::do_inquiry(unsigned char inq_cmd)
740+
void sioNetwork::do_inquiry(fujiCommandID_t inq_cmd)
741741
{
742742
// Reset inq_dstats
743743
inq_dstats = 0xff;

lib/device/sio/network.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,7 @@ class sioNetwork : public virtualDevice
395395
* @brief Perform the inquiry, handle both local and protocol commands.
396396
* @param inq_cmd the command to check against.
397397
*/
398-
void do_inquiry(unsigned char inq_cmd);
398+
void do_inquiry(fujiCommandID_t inq_cmd);
399399

400400
/**
401401
* @brief set translation specified by aux1 to aux2_translation mode.

0 commit comments

Comments
 (0)