PSP: moved timer thread to backends/timer/psp
svn-id: r49173
This commit is contained in:
parent
8f14c15b1a
commit
50847c02a6
6 changed files with 8 additions and 6 deletions
|
@ -40,6 +40,7 @@ MODULE_OBJS := \
|
|||
saves/posix/posix-saves.o \
|
||||
saves/psp/psp-saves.o \
|
||||
timer/default/default-timer.o \
|
||||
timer/psp/timer.o \
|
||||
vkeybd/image-map.o \
|
||||
vkeybd/polygon.o \
|
||||
vkeybd/virtual-keyboard.o \
|
||||
|
|
|
@ -148,8 +148,7 @@ OBJS := powerman.o \
|
|||
trace.o \
|
||||
psploader.o \
|
||||
pspkeyboard.o \
|
||||
audio.o \
|
||||
timer.o
|
||||
audio.o
|
||||
|
||||
# Include common Scummvm makefile
|
||||
include $(srcdir)/Makefile.common
|
||||
|
|
|
@ -13,8 +13,7 @@ MODULE_OBJS := powerman.o \
|
|||
trace.o \
|
||||
psploader.o \
|
||||
pspkeyboard.o \
|
||||
audio.o \
|
||||
timer.o
|
||||
audio.o
|
||||
|
||||
MODULE_DIRS += \
|
||||
backends/platform/psp/
|
||||
|
|
|
@ -39,7 +39,7 @@
|
|||
#include "backends/platform/psp/display_manager.h"
|
||||
#include "backends/platform/psp/input.h"
|
||||
#include "backends/platform/psp/audio.h"
|
||||
#include "backends/platform/psp/timer.h"
|
||||
#include "backends/timer/psp/timer.h"
|
||||
|
||||
#include <SDL.h>
|
||||
|
||||
|
|
|
@ -23,12 +23,13 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#if defined (__PSP__)
|
||||
#include <pspthreadman.h>
|
||||
|
||||
#include "common/scummsys.h"
|
||||
#include "common/timer.h"
|
||||
#include "backends/platform/psp/thread.h"
|
||||
#include "backends/platform/psp/timer.h"
|
||||
#include "backends/timer/psp/timer.h"
|
||||
|
||||
//#define __PSP_DEBUG_FUNCS__ /* For debugging function calls */
|
||||
//#define __PSP_DEBUG_PRINT__ /* For debug printouts */
|
||||
|
@ -78,3 +79,5 @@ void PspTimer::timerThread() {
|
|||
_callback();
|
||||
}
|
||||
};
|
||||
|
||||
#endif /* __PSP__ */
|
Loading…
Add table
Add a link
Reference in a new issue