mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
minor adjustments
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@305 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
7d0143a2de
commit
ff6b7429bb
4 changed files with 15 additions and 3 deletions
|
@ -250,7 +250,7 @@ size_t pm_read(void *ptr, size_t bytes, pm_file *stream)
|
||||||
if (block != cso->block_in_buff)
|
if (block != cso->block_in_buff)
|
||||||
{
|
{
|
||||||
if (read_pos != cso->fpos_in)
|
if (read_pos != cso->fpos_in)
|
||||||
{ fseek(stream->file, read_pos, SEEK_SET); printf("seek %i\n", read_pos); }
|
fseek(stream->file, read_pos, SEEK_SET);
|
||||||
rret = fread(cso->in_buff, 1, read_len, stream->file);
|
rret = fread(cso->in_buff, 1, read_len, stream->file);
|
||||||
cso->fpos_in = read_pos + rret;
|
cso->fpos_in = read_pos + rret;
|
||||||
if (rret != read_len) {
|
if (rret != read_len) {
|
||||||
|
|
|
@ -174,6 +174,13 @@ rel: EBOOT.PBP readme.txt
|
||||||
mkdir -p PicoDrive/skin/
|
mkdir -p PicoDrive/skin/
|
||||||
cp $^ PicoDrive/
|
cp $^ PicoDrive/
|
||||||
cp skin/* PicoDrive/skin/
|
cp skin/* PicoDrive/skin/
|
||||||
zip -9 -r ../../PicoDrive_$(VER).zip PicoDrive
|
zip -9 -r ../../PicoDrive_psp_$(VER).zip PicoDrive
|
||||||
rm -rf PicoDrive
|
rm -rf PicoDrive
|
||||||
|
|
||||||
|
rel_kxploit: readme.txt
|
||||||
|
mkdir -p PicoDrive/skin/
|
||||||
|
cp $^ PicoDrive/
|
||||||
|
cp skin/* PicoDrive/skin/
|
||||||
|
zip -9 -r ../../PicoDrive_psp_$(VER)_kxploit.zip PicoDrive
|
||||||
|
zip -9 -r ../../PicoDrive_psp_$(VER)_kxploit.zip PicoDrive%
|
||||||
|
|
||||||
|
|
|
@ -33,7 +33,7 @@ int sceAudioOutput2GetRestSample();
|
||||||
|
|
||||||
char romFileName[PATH_MAX];
|
char romFileName[PATH_MAX];
|
||||||
unsigned char *PicoDraw2FB = (unsigned char *)VRAM_CACHED_STUFF + 8; // +8 to be able to skip border with 1 quadword..
|
unsigned char *PicoDraw2FB = (unsigned char *)VRAM_CACHED_STUFF + 8; // +8 to be able to skip border with 1 quadword..
|
||||||
int engineState;
|
int engineState = PGS_Menu;
|
||||||
|
|
||||||
static int combo_keys = 0, combo_acts = 0; // keys and actions which need button combos
|
static int combo_keys = 0, combo_acts = 0; // keys and actions which need button combos
|
||||||
static unsigned int noticeMsgTime = 0;
|
static unsigned int noticeMsgTime = 0;
|
||||||
|
|
|
@ -44,7 +44,12 @@ int main()
|
||||||
thid = sceKernelCreateThread("pico_main", (SceKernelThreadEntry) pico_main, 32, 0x2000, PSP_THREAD_ATTR_USER, NULL);
|
thid = sceKernelCreateThread("pico_main", (SceKernelThreadEntry) pico_main, 32, 0x2000, PSP_THREAD_ATTR_USER, NULL);
|
||||||
if (thid >= 0)
|
if (thid >= 0)
|
||||||
sceKernelStartThread(thid, 0, 0);
|
sceKernelStartThread(thid, 0, 0);
|
||||||
|
#ifndef GCOV
|
||||||
sceKernelExitDeleteThread(0);
|
sceKernelExitDeleteThread(0);
|
||||||
|
#else
|
||||||
|
while (engineState != PGS_Quit)
|
||||||
|
sceKernelDelayThread(1024 * 1024);
|
||||||
|
#endif
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue