mirror of https://github.com/nmlgc/ReC98.git
23 lines
423 B
C++
23 lines
423 B
C++
#pragma option -zCSHARED -3
|
|
|
|
#include <stddef.h>
|
|
#include "platform.h"
|
|
#include "pc98.h"
|
|
#include "planar.h"
|
|
#include "master.hpp"
|
|
#include "th04/main/playfld.hpp"
|
|
extern "C" {
|
|
#include "th04/main/tile/tile.hpp"
|
|
#include "th04/formats/mpn.hpp"
|
|
|
|
void pascal mpn_free(int slot)
|
|
{
|
|
mpn_t near &mpn = mpn_slots[slot];
|
|
if(mpn.images) {
|
|
hmem_free(static_cast<mpn_image_t __seg *>(mpn.images));
|
|
mpn.images = nullptr;
|
|
}
|
|
}
|
|
|
|
}
|