commit
0b231fa2b0
2 changed files with 5 additions and 9 deletions
|
@ -66,18 +66,15 @@ bool Flip_SystemTask()
|
|||
|
||||
static bool IsEnableBitmap(SDL_RWops *fp)
|
||||
{
|
||||
return true;
|
||||
/*
|
||||
char str[16];
|
||||
const char *extra_text = "(C)Pixel";
|
||||
|
||||
const size_t len = strlen(extra_text);
|
||||
|
||||
fp->seek(fp, -len, RW_SEEK_END);
|
||||
fp->seek(fp, -(Sint64)len, RW_SEEK_END);
|
||||
fp->read(fp, str, 1, len);
|
||||
fp->seek(fp, 0, RW_SEEK_SET);
|
||||
return memcmp(str, extra_text, len) == 0;
|
||||
*/
|
||||
}
|
||||
|
||||
void ReleaseSurface(int s)
|
||||
|
|
|
@ -305,7 +305,6 @@ void ChangeDramVolume(int32_t volume, int8_t track)
|
|||
|
||||
void PlayDramObject(unsigned char key, int mode,char track)
|
||||
{
|
||||
|
||||
switch(mode)
|
||||
{
|
||||
case 0:
|
||||
|
@ -341,7 +340,7 @@ void OrganyaPlayData()
|
|||
//Play melody
|
||||
for(int i = 0; i < MAXMELODY; i++)
|
||||
{
|
||||
if (play_np[i] != NULL &&play_p == play_np[i]->x)
|
||||
if (play_np[i] != NULL && play_p == play_np[i]->x)
|
||||
{
|
||||
if(play_np[i]->y != KEYDUMMY)
|
||||
{
|
||||
|
@ -555,7 +554,7 @@ void PlayOrganyaMusic()
|
|||
|
||||
bool ChangeOrganyaVolume(signed int volume)
|
||||
{
|
||||
if ( volume >= 0 && volume <= 100 )
|
||||
if (volume >= 0 && volume <= 100)
|
||||
{
|
||||
gOrgVolume = volume;
|
||||
return true;
|
||||
|
|
Loading…
Add table
Reference in a new issue