Skip to content

Commit

Permalink
Remove use of bool in RISC OS specific code
Browse files Browse the repository at this point in the history
  • Loading branch information
ccawley2011 committed Aug 28, 2023
1 parent 0ee7bb8 commit 71a0763
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions source/riscos/doc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ int main( void )
smb_mkdir(HighScoreFilePath);

smb_keyrep_off();
smb_set_escape_status(false);
smb_set_escape_status(0);
main_code(); // The main routine
smb_set_escape_status(true);
smb_set_escape_status(1);
smb_keyrep_on();
return( 0 ) ;
}
Expand Down
2 changes: 1 addition & 1 deletion source/riscos/swicalls.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1268,7 +1268,7 @@ void smb_file_load(const char *filename, void *ptr)
_kernel_swi( OS_File, &regs , &regs );
}

void smb_set_escape_status(bool enabled)
void smb_set_escape_status(int enabled)
{
_kernel_swi_regs regs;

Expand Down
2 changes: 1 addition & 1 deletion source/riscos/swicalls.h
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@ extern void smb_snd_stereo(int chan, int value);
extern void smb_mkdir(char *dirname);
extern int smb_file_size(const char *filename);
extern void smb_file_load(const char *filename, void *ptr);
extern void smb_set_escape_status(bool enabled);
extern void smb_set_escape_status(int enabled);

#endif

Expand Down

0 comments on commit 71a0763

Please sign in to comment.