Changeset 17341


Ignore:
Timestamp:
07/25/12 01:39:01 (9 years ago)
Author:
obi
Message:

fix

Location:
titan
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • titan/doc/skindoku.txt

    r17340 r17341  
    175175getoscamsystem
    176176getoscamsource
     177getemu
  • titan/titan/skinfunc.h

    r17340 r17341  
    923923}
    924924
     925char* getoscamreader(struct skin* node)
     926{
     927        char* buf = NULL, *tmpstr = NULL;
     928
     929        buf = readfiletomem("/tmp/rcm.info", 1);
     930        tmpstr = ostrstr(buf, "reader:");
     931        if(tmpstr != NULL)
     932        {
     933                tmpstr = stringreplacecharonce(tmpstr, '\n', '\0');
     934                tmpstr = ostrcat(tmpstr, NULL, 0, 0);
     935        }
     936        free(buf); buf = NULL;
     937
     938        return tmpstr;
     939}
     940
    925941char* getoscamfrom(struct skin* node)
    926942{
Note: See TracChangeset for help on using the changeset viewer.