mirror of
https://github.com/libretro/RetroArch
synced 2025-04-18 14:42:30 +00:00
(Apple) Get rid of apple/common/main.m
This commit is contained in:
parent
b48221acf9
commit
7ba2e87187
@ -1,39 +0,0 @@
|
|||||||
/* RetroArch - A frontend for libretro.
|
|
||||||
* Copyright (C) 2013-2014 - Jason Fetters
|
|
||||||
* Copyright (C) 2011-2014 - Daniel De Matteis
|
|
||||||
*
|
|
||||||
* RetroArch is free software: you can redistribute it and/or modify it under the terms
|
|
||||||
* of the GNU General Public License as published by the Free Software Found-
|
|
||||||
* ation, either version 3 of the License, or (at your option) any later version.
|
|
||||||
*
|
|
||||||
* RetroArch is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
|
|
||||||
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
|
||||||
* PURPOSE. See the GNU General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU General Public License along with RetroArch.
|
|
||||||
* If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <string.h>
|
|
||||||
|
|
||||||
#import "RetroArch_Apple.h"
|
|
||||||
#include "../../frontend/frontend.h"
|
|
||||||
#include "../../file.h"
|
|
||||||
#include "../../general.h"
|
|
||||||
|
|
||||||
id<RetroArch_Platform> apple_platform;
|
|
||||||
|
|
||||||
void apple_rarch_exited(void);
|
|
||||||
|
|
||||||
void apple_rarch_exited(void)
|
|
||||||
{
|
|
||||||
[apple_platform unloadingCore];
|
|
||||||
}
|
|
||||||
|
|
||||||
void apple_run_core(int argc, char **argv)
|
|
||||||
{
|
|
||||||
[apple_platform loadingCore:nil withFile:nil];
|
|
||||||
|
|
||||||
if (rarch_main(argc, argv))
|
|
||||||
apple_rarch_exited();
|
|
||||||
}
|
|
Loading…
x
Reference in New Issue
Block a user