mirror of
https://github.com/libretro/RetroArch
synced 2025-02-04 03:40:03 +00:00
Updates
This commit is contained in:
parent
e979eece1c
commit
3c758609b5
@ -10,7 +10,6 @@
|
||||
|
||||
#include "bitstream.h"
|
||||
#include <stdlib.h>
|
||||
#include <retro_inline.h>
|
||||
|
||||
//**************************************************************************
|
||||
// INLINE FUNCTIONS
|
||||
|
@ -19,8 +19,6 @@
|
||||
#include <assert.h>
|
||||
#include <string.h>
|
||||
|
||||
#include <retro_inline.h>
|
||||
|
||||
#include "cdrom.h"
|
||||
|
||||
/***************************************************************************
|
||||
@ -309,7 +307,7 @@ static const uint16_t qoffsets[ECC_Q_NUM_BYTES][ECC_Q_COMP] =
|
||||
// particular to a mode
|
||||
//-------------------------------------------------
|
||||
|
||||
static INLINE uint8_t ecc_source_byte(const uint8_t *sector, uint32_t offset)
|
||||
static uint8_t ecc_source_byte(const uint8_t *sector, uint32_t offset)
|
||||
{
|
||||
// in mode 2 always treat these as 0 bytes
|
||||
return (sector[MODE_OFFSET] == 2 && offset < 4) ? 0x00 : sector[SYNC_OFFSET + SYNC_NUM_BYTES + offset];
|
||||
|
Loading…
x
Reference in New Issue
Block a user