mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 23:37:46 -04:00
get rid of port_config.h
This commit is contained in:
parent
5609d343e3
commit
9c9cda8c39
21 changed files with 73 additions and 288 deletions
|
@ -14,6 +14,8 @@ static int prev_lba = 0x80000000;
|
|||
|
||||
static int hits, reads;
|
||||
|
||||
#undef dprintf
|
||||
#define dprintf(...)
|
||||
|
||||
void PicoCDBufferInit(void)
|
||||
{
|
||||
|
@ -114,7 +116,7 @@ PICO_INTERNAL void PicoCDBufferRead(void *dest, int lba)
|
|||
if (is_bin)
|
||||
{
|
||||
int i = 0;
|
||||
#if REDUCE_IO_CALLS
|
||||
#ifdef _PSP_FW_VERSION
|
||||
int bufs = (read_len*2048) / (2048+304);
|
||||
pm_read(cd_buffer, bufs*(2048+304), Pico_mcd->TOC.Tracks[0].F);
|
||||
for (i = 1; i < bufs; i++)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue