tdraudio: add irq_enable flag, add pcmaudio library
runtime: disable interrupts on PTERM stdlib: check for error state in FileSize
This commit is contained in:
parent
7cc9ee807d
commit
5c00dfcec9
8 changed files with 390 additions and 21 deletions
|
|
@ -1844,6 +1844,8 @@ end;
|
|||
|
||||
function filesize(var fil:file):integer;
|
||||
begin
|
||||
checkerror(fil);
|
||||
|
||||
if fil.typ = IOChannel then
|
||||
filesize := -1
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue