mirror of
https://github.com/holub/mame
synced 2025-10-04 16:34:53 +03:00
Revert "lzma pedantic fixes (nw)"
No updating of 3rdparty allowed
This reverts commit 94aa0602d5
.
This commit is contained in:
parent
519d0beae4
commit
9b82f7b2e7
4
3rdparty/lzma/C/CpuArch.c
vendored
4
3rdparty/lzma/C/CpuArch.c
vendored
@ -82,7 +82,7 @@ static void MyCPUID(UInt32 function, UInt32 *a, UInt32 *b, UInt32 *c, UInt32 *d)
|
|||||||
"=c" (*c) ,
|
"=c" (*c) ,
|
||||||
"=d" (*d)
|
"=d" (*d)
|
||||||
: "0" (function)) ;
|
: "0" (function)) ;
|
||||||
#else /* __PIC__ */
|
#else // __PIC__
|
||||||
__asm__ __volatile__ (
|
__asm__ __volatile__ (
|
||||||
"cpuid"
|
"cpuid"
|
||||||
: "=a" (*a) ,
|
: "=a" (*a) ,
|
||||||
@ -90,7 +90,7 @@ static void MyCPUID(UInt32 function, UInt32 *a, UInt32 *b, UInt32 *c, UInt32 *d)
|
|||||||
"=c" (*c) ,
|
"=c" (*c) ,
|
||||||
"=d" (*d)
|
"=d" (*d)
|
||||||
: "0" (function)) ;
|
: "0" (function)) ;
|
||||||
#endif /* __PIC__ */
|
#endif // __PIC__
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
2
3rdparty/lzma/C/LzmaDec.c
vendored
2
3rdparty/lzma/C/LzmaDec.c
vendored
@ -967,7 +967,7 @@ SRes LzmaDec_Allocate(CLzmaDec *p, const Byte *props, unsigned propsSize, ISzAll
|
|||||||
return SZ_OK;
|
return SZ_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* why isn't there an interface to pass in the properties directly???? */
|
// why isn't there an interface to pass in the properties directly????
|
||||||
SRes LzmaDec_Allocate_MAME(CLzmaDec *p, const CLzmaProps *propNew, ISzAlloc *alloc)
|
SRes LzmaDec_Allocate_MAME(CLzmaDec *p, const CLzmaProps *propNew, ISzAlloc *alloc)
|
||||||
{
|
{
|
||||||
SizeT dicBufSize;
|
SizeT dicBufSize;
|
||||||
|
Loading…
Reference in New Issue
Block a user