diff options
| author | Max Horn | 2006-04-02 14:16:31 +0000 |
|---|---|---|
| committer | Max Horn | 2006-04-02 14:16:31 +0000 |
| commit | 9217472f0e4e801659c0a448dcbf57c28fd36ee2 (patch) | |
| tree | b880dfbd4a18f93f78931749004c3a4e128f2f59 /backends/psp | |
| parent | 72f4a1c76cb8aedf6f953e57090134320d7291b8 (diff) | |
| download | scummvm-rg350-9217472f0e4e801659c0a448dcbf57c28fd36ee2.tar.gz scummvm-rg350-9217472f0e4e801659c0a448dcbf57c28fd36ee2.tar.bz2 scummvm-rg350-9217472f0e4e801659c0a448dcbf57c28fd36ee2.zip | |
With this change, backends are now responsible for instantiating their OSystem class before calling scummvm_main (Note: PalmOS and Symbian are not yet converted, and won't work currently)
svn-id: r21557
Diffstat (limited to 'backends/psp')
| -rw-r--r-- | backends/psp/psp_main.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/backends/psp/psp_main.cpp b/backends/psp/psp_main.cpp index d981c314dc..cbdaad68e0 100644 --- a/backends/psp/psp_main.cpp +++ b/backends/psp/psp_main.cpp @@ -144,6 +144,9 @@ int main(void) static char *argv[] = { "scummvm", "--force-1x-overlay", NULL }; static int argc = sizeof(argv)/sizeof(char *)-1; + g_system = OSystem_PSP_create(); + assert(g_system); + scummvm_main(argc, argv); sceKernelSleepThread(); |
