From 2da23de9876554addd8b56ac60712351802dbbf7 Mon Sep 17 00:00:00 2001 From: Ilari Liusvaara Date: Wed, 27 May 2015 23:08:54 +0300 Subject: [PATCH] Small whitespace cleanup --- TODO | 2 +- include/core/audioapi-driver.hpp | 2 +- include/core/nullcore.hpp | 2 +- include/fonts/wrapper.hpp | 2 +- include/library/eatarg.hpp | 2 +- include/library/framebuffer.hpp | 2 +- include/library/memtracker.hpp | 2 +- include/lua/address.hpp | 2 +- include/lua/debug.hpp | 2 +- include/lua/halo.hpp | 2 +- src/core/dispatch.cpp | 2 +- src/core/jukebox.cpp | 2 +- src/core/reginverse.cpp | 2 +- src/core/ui-services.cpp | 2 +- src/emulation/sky/image.hpp | 2 +- src/emulation/sky/instance.hpp | 2 +- src/emulation/sky/logic.hpp | 2 +- src/emulation/sky/memory.map | 2 +- src/emulation/sky/random.hpp | 2 +- src/emulation/sky/romimage.hpp | 2 +- src/emulation/sky/tasdemos.cpp | 2 +- src/emulation/sky/tasdemos.hpp | 2 +- src/genfilelist.lua | 2 +- src/library/crandom.cpp | 2 +- src/library/fileimage-patch-ips.cpp | 2 +- src/library/fileimage-patch.cpp | 2 +- src/library/memorywatch-fb.cpp | 2 +- src/library/string.cpp | 2 +- src/lua/halo.cpp | 2 +- src/test/rrdata-test.cpp | 2 +- 30 files changed, 30 insertions(+), 30 deletions(-) diff --git a/TODO b/TODO index 1bfb1ff7..846d5c7f 100644 --- a/TODO +++ b/TODO @@ -1 +1 @@ -- Memory Tracking: Track dynamic state. \ No newline at end of file +- Memory Tracking: Track dynamic state. diff --git a/include/core/audioapi-driver.hpp b/include/core/audioapi-driver.hpp index d183e86b..3da65212 100644 --- a/include/core/audioapi-driver.hpp +++ b/include/core/audioapi-driver.hpp @@ -79,4 +79,4 @@ std::map audioapi_driver_get_devices(bool rec) throw(s */ const char* audioapi_driver_name() throw(); -#endif \ No newline at end of file +#endif diff --git a/include/core/nullcore.hpp b/include/core/nullcore.hpp index 70a36d51..08064799 100644 --- a/include/core/nullcore.hpp +++ b/include/core/nullcore.hpp @@ -9,4 +9,4 @@ core_core& get_null_core(); core_type& get_null_type(); core_region& get_null_region(); -#endif \ No newline at end of file +#endif diff --git a/include/fonts/wrapper.hpp b/include/fonts/wrapper.hpp index 8809e9df..947656c9 100644 --- a/include/fonts/wrapper.hpp +++ b/include/fonts/wrapper.hpp @@ -7,4 +7,4 @@ extern framebuffer::font main_font; void do_init_font(); -#endif \ No newline at end of file +#endif diff --git a/include/library/eatarg.hpp b/include/library/eatarg.hpp index a27d6bc5..af2bd4bd 100644 --- a/include/library/eatarg.hpp +++ b/include/library/eatarg.hpp @@ -8,4 +8,4 @@ template void eat_argument(T arg) { _eat_argument((void*)arg2); } -#endif \ No newline at end of file +#endif diff --git a/include/library/framebuffer.hpp b/include/library/framebuffer.hpp index 3c94832d..a6545339 100644 --- a/include/library/framebuffer.hpp +++ b/include/library/framebuffer.hpp @@ -677,7 +677,7 @@ struct queue private: void add(struct object& obj) throw(std::bad_alloc); struct node { struct object* obj; struct node* next; bool killed; }; - struct page { + struct page { char content[RENDER_PAGE_SIZE]; page() { memtracker::singleton()(render_page_id, RENDER_PAGE_SIZE + 36); } ~page() { memtracker::singleton()(render_page_id, -RENDER_PAGE_SIZE - 36); } diff --git a/include/library/memtracker.hpp b/include/library/memtracker.hpp index fa9de09a..41b75489 100644 --- a/include/library/memtracker.hpp +++ b/include/library/memtracker.hpp @@ -49,4 +49,4 @@ private: }; -#endif \ No newline at end of file +#endif diff --git a/include/lua/address.hpp b/include/lua/address.hpp index 9d6736d4..f1e9ed78 100644 --- a/include/lua/address.hpp +++ b/include/lua/address.hpp @@ -28,4 +28,4 @@ private: uint64_t addr; }; -#endif \ No newline at end of file +#endif diff --git a/include/lua/debug.hpp b/include/lua/debug.hpp index 298d6923..5cd45bff 100644 --- a/include/lua/debug.hpp +++ b/include/lua/debug.hpp @@ -10,4 +10,4 @@ void handle_registerX(lua::state& L, uint64_t addr, int lfn); template void handle_unregisterX(lua::state& L, uint64_t addr, int lfn); -#endif \ No newline at end of file +#endif diff --git a/include/lua/halo.hpp b/include/lua/halo.hpp index 7834920f..ca9cc295 100644 --- a/include/lua/halo.hpp +++ b/include/lua/halo.hpp @@ -20,4 +20,4 @@ template void halo_blit(struct framebuffer::fb& scr, unsigned char* p size_t height, uint32_t x, uint32_t y, framebuffer::color& bg, framebuffer::color& fg, framebuffer::color& hl) throw(); -#endif \ No newline at end of file +#endif diff --git a/src/core/dispatch.cpp b/src/core/dispatch.cpp index bab259dd..74f68c6e 100644 --- a/src/core/dispatch.cpp +++ b/src/core/dispatch.cpp @@ -39,4 +39,4 @@ void emulator_dispatch::set_error_streams(std::ostream* stream) action_update.errors_to(stream); } -dispatch::source<> notify_new_core("new_core"); \ No newline at end of file +dispatch::source<> notify_new_core("new_core"); diff --git a/src/core/jukebox.cpp b/src/core/jukebox.cpp index 1dc074f0..c2084d7a 100644 --- a/src/core/jukebox.cpp +++ b/src/core/jukebox.cpp @@ -116,4 +116,4 @@ void save_jukebox::do_slotsel(const std::string& args) throw std::runtime_error("Bad slot number"); uint32_t slot = parse_value(args); set_slot(slot - 1); -} \ No newline at end of file +} diff --git a/src/core/reginverse.cpp b/src/core/reginverse.cpp index 2abec488..6700b469 100644 --- a/src/core/reginverse.cpp +++ b/src/core/reginverse.cpp @@ -26,4 +26,4 @@ private: }; register_command_inverses x; -} \ No newline at end of file +} diff --git a/src/core/ui-services.cpp b/src/core/ui-services.cpp index ceed9664..498714b3 100644 --- a/src/core/ui-services.cpp +++ b/src/core/ui-services.cpp @@ -279,4 +279,4 @@ bool UI_in_project_context(emulator_instance& inst) pc = (inst.project->get() != NULL); }); return pc; -} \ No newline at end of file +} diff --git a/src/emulation/sky/image.hpp b/src/emulation/sky/image.hpp index d3f860a6..fe1523a4 100644 --- a/src/emulation/sky/image.hpp +++ b/src/emulation/sky/image.hpp @@ -24,4 +24,4 @@ namespace sky }; } -#endif \ No newline at end of file +#endif diff --git a/src/emulation/sky/instance.hpp b/src/emulation/sky/instance.hpp index c0cc4452..b21a055f 100644 --- a/src/emulation/sky/instance.hpp +++ b/src/emulation/sky/instance.hpp @@ -78,4 +78,4 @@ namespace sky }; } -#endif \ No newline at end of file +#endif diff --git a/src/emulation/sky/logic.hpp b/src/emulation/sky/logic.hpp index 7d973495..bf22a53a 100644 --- a/src/emulation/sky/logic.hpp +++ b/src/emulation/sky/logic.hpp @@ -13,4 +13,4 @@ namespace sky void rom_boot_vector(struct instance& inst); void handle_loadstate(struct instance& inst); } -#endif \ No newline at end of file +#endif diff --git a/src/emulation/sky/memory.map b/src/emulation/sky/memory.map index b7c504ef..9557daab 100644 --- a/src/emulation/sky/memory.map +++ b/src/emulation/sky/memory.map @@ -128,4 +128,4 @@ 200A5 byte Time attack flag. 200A6 word (unused) 200A8 32*byte Number of times each level has been completed (SRAM). -200C8 \ No newline at end of file +200C8 diff --git a/src/emulation/sky/random.hpp b/src/emulation/sky/random.hpp index 8c78b744..47490afe 100644 --- a/src/emulation/sky/random.hpp +++ b/src/emulation/sky/random.hpp @@ -18,4 +18,4 @@ namespace sky }; } -#endif \ No newline at end of file +#endif diff --git a/src/emulation/sky/romimage.hpp b/src/emulation/sky/romimage.hpp index 960ae454..de0ce619 100644 --- a/src/emulation/sky/romimage.hpp +++ b/src/emulation/sky/romimage.hpp @@ -20,4 +20,4 @@ namespace sky } -#endif \ No newline at end of file +#endif diff --git a/src/emulation/sky/tasdemos.cpp b/src/emulation/sky/tasdemos.cpp index 038304ce..c8b1e835 100644 --- a/src/emulation/sky/tasdemos.cpp +++ b/src/emulation/sky/tasdemos.cpp @@ -510,4 +510,4 @@ namespace sky 0x13, 0x0a, 0x0b, 0x1a, 0x02, 0x09, 0x02, 0x05, 0x00, 0x04, 0x10, 0x05, 0x00, 0x15, 0x47, 0x05, 0x00 }; -} \ No newline at end of file +} diff --git a/src/emulation/sky/tasdemos.hpp b/src/emulation/sky/tasdemos.hpp index b2f48011..cd1613e8 100644 --- a/src/emulation/sky/tasdemos.hpp +++ b/src/emulation/sky/tasdemos.hpp @@ -6,4 +6,4 @@ namespace sky extern const unsigned char tasdemos_data[]; } -#endif \ No newline at end of file +#endif diff --git a/src/genfilelist.lua b/src/genfilelist.lua index 058df649..c6110425 100644 --- a/src/genfilelist.lua +++ b/src/genfilelist.lua @@ -26,4 +26,4 @@ end for i=1,#arg do emit(arg[i]); end -print(""); \ No newline at end of file +print(""); diff --git a/src/library/crandom.cpp b/src/library/crandom.cpp index 3f712fbb..c658d498 100644 --- a/src/library/crandom.cpp +++ b/src/library/crandom.cpp @@ -99,4 +99,4 @@ uint64_t arch_get_random() return 0; #endif } -} \ No newline at end of file +} diff --git a/src/library/fileimage-patch-ips.cpp b/src/library/fileimage-patch-ips.cpp index 244c1dc8..42903461 100644 --- a/src/library/fileimage-patch-ips.cpp +++ b/src/library/fileimage-patch-ips.cpp @@ -86,4 +86,4 @@ namespace } } } -} \ No newline at end of file +} diff --git a/src/library/fileimage-patch.cpp b/src/library/fileimage-patch.cpp index b72234e1..126f4bcf 100644 --- a/src/library/fileimage-patch.cpp +++ b/src/library/fileimage-patch.cpp @@ -38,4 +38,4 @@ patcher::~patcher() throw() { patchers().erase(this); } -} \ No newline at end of file +} diff --git a/src/library/memorywatch-fb.cpp b/src/library/memorywatch-fb.cpp index f6b92ca0..8ba9c14b 100644 --- a/src/library/memorywatch-fb.cpp +++ b/src/library/memorywatch-fb.cpp @@ -184,4 +184,4 @@ void output_fb::reset() pos_x->reset(); pos_y->reset(); } -} \ No newline at end of file +} diff --git a/src/library/string.cpp b/src/library/string.cpp index 6f0c0f7a..a06e31a3 100644 --- a/src/library/string.cpp +++ b/src/library/string.cpp @@ -473,4 +473,4 @@ namespace void _dummy_63263896236732867328673826783276283673867() { pull_token_itr2(); -} \ No newline at end of file +} diff --git a/src/lua/halo.cpp b/src/lua/halo.cpp index 735065d9..bd812157 100644 --- a/src/lua/halo.cpp +++ b/src/lua/halo.cpp @@ -85,4 +85,4 @@ void _pull_fn_68269328963289632986296386936() { eat_argument(halo_blit); eat_argument(halo_blit); -} \ No newline at end of file +} diff --git a/src/test/rrdata-test.cpp b/src/test/rrdata-test.cpp index b5e54416..a4d7ecea 100644 --- a/src/test/rrdata-test.cpp +++ b/src/test/rrdata-test.cpp @@ -768,4 +768,4 @@ int main() t++; } return 0; -} \ No newline at end of file +} -- 2.11.4.GIT