From c0eb4d83d2804b018c2f91f469ee2e523325b879 Mon Sep 17 00:00:00 2001 From: Ilari Liusvaara Date: Sat, 5 Jan 2013 15:37:52 +0200 Subject: [PATCH] Remove export for core_set_region, there's no such function anymore --- include/core/emucore.hpp | 2 -- src/core/gambatte.cpp | 10 +++++----- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/include/core/emucore.hpp b/include/core/emucore.hpp index b377337e..5eee53a1 100644 --- a/include/core/emucore.hpp +++ b/include/core/emucore.hpp @@ -30,8 +30,6 @@ std::pair get_video_rate(); std::pair get_audio_rate(); //Set preload settings. void set_preload_settings(); -//Set the region. -bool core_set_region(core_region& region); //Power the core. void core_power(); //Unload the cartridge. diff --git a/src/core/gambatte.cpp b/src/core/gambatte.cpp index 39ba7c8c..9f009c07 100644 --- a/src/core/gambatte.cpp +++ b/src/core/gambatte.cpp @@ -289,6 +289,11 @@ namespace core_romimage_info* gbc_images[] = {&image_rom_gbc, NULL}; core_romimage_info* gbca_images[] = {&image_rom_gbca, NULL}; + bool core_set_region(core_region& region) + { + return (®ion == ®ion_world); + } + core_type_params _type_dmg = { "dmg", "Game Boy", 1, 1, load_rom_dmg, _controllerconfig, "gb;dmg", NULL, regions_gambatte, dmg_images, &gambatte_settings, core_set_region @@ -342,11 +347,6 @@ std::pair get_audio_rate() return std::make_pair(32768, 1); } -bool core_set_region(core_region& region) -{ - return (®ion == ®ion_world); -} - void core_runtosave() { } -- 2.11.4.GIT