From ddb290d5f615019c33c42b8d94e5a5254cabcf33 Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Sat, 22 Oct 2016 13:13:17 +0200 Subject: NOTICE (TYPE NAME CONSOLIDATION) Use standard uint64_t, uint32_t, uint16_t or uint8_t instead of UINT64, UINT32, UINT16 or UINT8 also use standard int64_t, int32_t, int16_t or int8_t instead of INT64, INT32, INT16 or INT8 --- src/lib/formats/oric_dsk.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/lib/formats/oric_dsk.cpp') diff --git a/src/lib/formats/oric_dsk.cpp b/src/lib/formats/oric_dsk.cpp index 5d3071e77c1..45cbcab0fee 100644 --- a/src/lib/formats/oric_dsk.cpp +++ b/src/lib/formats/oric_dsk.cpp @@ -35,9 +35,9 @@ bool oric_dsk_format::supports_save() const return true; } -int oric_dsk_format::identify(io_generic *io, UINT32 form_factor) +int oric_dsk_format::identify(io_generic *io, uint32_t form_factor) { - UINT8 h[256]; + uint8_t h[256]; io_generic_read(io, h, 0, 256); if(memcmp(h, "MFM_DISK", 8)) @@ -54,10 +54,10 @@ int oric_dsk_format::identify(io_generic *io, UINT32 form_factor) return 100; } -bool oric_dsk_format::load(io_generic *io, UINT32 form_factor, floppy_image *image) +bool oric_dsk_format::load(io_generic *io, uint32_t form_factor, floppy_image *image) { - UINT8 h[256]; - UINT8 t[6250+3]; + uint8_t h[256]; + uint8_t t[6250+3]; t[6250] = t[6251] = t[6252] = 0; io_generic_read(io, h, 0, 256); @@ -68,7 +68,7 @@ bool oric_dsk_format::load(io_generic *io, UINT32 form_factor, floppy_image *ima for(int side=0; side stream; + std::vector stream; int sector_size = 128; for(int i=0; i<6250; i++) { if(t[i] == 0xc2 && t[i+1] == 0xc2 && t[i+2] == 0xc2) { -- cgit v1.2.3-70-g09d2