mirror of
https://github.com/dingusdev/dingusppc.git
synced 2024-12-23 06:29:38 +00:00
MSVC compilation fixes
This commit is contained in:
parent
86bc91028d
commit
36fa53e8c1
@ -216,7 +216,7 @@ void Sc53C94::exec_command()
|
||||
exec_next_command();
|
||||
break;
|
||||
case CMD_SELECT_NO_ATN:
|
||||
static SeqDesc sel_no_atn_desc[] {
|
||||
static SeqDesc * sel_no_atn_desc = new SeqDesc[3]{
|
||||
{SeqState::SEL_BEGIN, 0, INTSTAT_DIS },
|
||||
{SeqState::CMD_BEGIN, 3, INTSTAT_SR | INTSTAT_SO},
|
||||
{SeqState::CMD_COMPLETE, 4, INTSTAT_SR | INTSTAT_SO},
|
||||
|
@ -109,7 +109,7 @@ int create_pdm(std::string& id) {
|
||||
bool write_flag = false;
|
||||
|
||||
if (!fd_write_prot.empty()) {
|
||||
if ((fd_write_prot.compare("ON") == 0) or (fd_write_prot.compare("on") == 0)) {
|
||||
if ((fd_write_prot.compare("ON") == 0) || (fd_write_prot.compare("on") == 0)) {
|
||||
write_flag = true;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user